Revision fe8705df
Von Christian Ehringfeld vor etwa 10 Jahren hinzugefügt
| .gitlab-ci.yml | ||
|---|---|---|
|
- QTDIR="/Applications/Qt/5.4/clang_64"
|
||
|
# http://doc.gitlab.com/ci/variables/README.html
|
||
|
#- echo "#define BUILD ""$CI_BUILD_ID" > build_number.h
|
||
|
- qmake -project
|
||
|
- qmake EntityManager.pro -r -spec macx-clang CONFIG+=x86_64
|
||
|
- make
|
||
|
- make check
|
||
| src/entityhelper.h | ||
|---|---|---|
|
#include <QString>
|
||
|
#include <QHash>
|
||
|
#include <QMetaProperty>
|
||
|
#include <QPair>
|
||
|
namespace CuteEntityManager {
|
||
|
|
||
|
class Relation;
|
||
| src/entityinspector.cpp | ||
|---|---|---|
|
QString::number(foundMappedBy) + ") by foreign class " + foreignEntityName +
|
||
|
". You should map it only once!\n",
|
||
|
MsgType::WARNING);
|
||
|
ok = false;
|
||
|
}
|
||
|
} else if (!foundForeignMappedRelation) {
|
||
|
this->logger->logMsg("Relation " + r.getPropertyName() +
|
||
| src/entityinstancefactory.h | ||
|---|---|---|
|
QString lName = "QList<QSharedPointer<";
|
||
|
lName.append(T::staticMetaObject.className());
|
||
|
lName.append(">>");
|
||
|
/**
|
||
|
* @brief qRegisterMetaType<QList<QSharedPointer<T> > >
|
||
|
* @todo would be great if we could remove this shit
|
||
|
*/
|
||
|
qRegisterMetaType<QList<QSharedPointer<T>>>(lName.toLatin1().constData());
|
||
|
}
|
||
|
}
|
||
| src/schema.h | ||
|---|---|---|
|
virtual QString buildDefaultString(QString def) const;
|
||
|
virtual QString buildCheckString(QString check) const;
|
||
|
virtual QString lengthToString(int length) const;
|
||
|
virtual QString combineScaleAndPrecision(int precision, int scale) const;
|
||
|
virtual QString combineScaleAndPrecision(int precision, int scale) const;
|
||
|
|
||
|
|
||
|
virtual QStringList findTableNames(QString schema = "") = 0;
|
||
Auch abrufbar als: Unified diff
...