Revision ce8fe6c4
Von Christian Ehringfeld vor etwa 10 Jahren hinzugefügt
| EntityManager.pro | ||
|---|---|---|
|
|
||
|
TARGET = CuteEntityManager
|
||
|
TEMPLATE = lib
|
||
|
CONFIG += $$EM_LIBRARY_TYPE
|
||
|
VERSION = $$EM_VERSION
|
||
|
|
||
|
HEADERS += \
|
||
|
src/entity.h \
|
||
| ... | ... | |
|
#target.path = $$PREFIX/$$LIBDIR
|
||
|
#INSTALLS += target
|
||
|
|
||
|
unix {
|
||
|
QMAKE_CXXFLAGS += -Wunsafe-loop-optimizations -pedantic -Wfloat-equal -Wundef -Wpointer-arith -Wcast-align -Wunreachable-code
|
||
|
#linux-g++5 {
|
||
|
#QMAKE_CXXFLAGS += -Wsuggest-final-types -Wsuggest-final-methods -Wsuggest-override -Wmaybe-uninitialized
|
||
|
#}
|
||
|
}
|
||
|
|
||
|
CONFIG(release, debug|release):DEFINES += QT_NO_DEBUG_OUTPUT
|
||
|
|
||
|
DISTFILES += \
|
||
| src/relation.h | ||
|---|---|---|
|
*/
|
||
|
explicit Relation(QString propertyName, RelationType type,
|
||
|
QString mappedBy = QString(),
|
||
|
QList<CascadeType> cascadeType = {CascadeType::MERGE, CascadeType::PERSIST, CascadeType::REFRESH});
|
||
|
QList<CascadeType> cascadeType = QList<CascadeType>{CascadeType::MERGE, CascadeType::PERSIST, CascadeType::REFRESH});
|
||
|
~Relation();
|
||
|
RelationType getType() const;
|
||
|
void setType(const RelationType &value);
|
||
Auch abrufbar als: Unified diff
fix