CONFIG += c++11
This commit is contained in:
parent
fa21efde1b
commit
f0fa6bd6bf
2
nut.pri
2
nut.pri
|
|
@ -1,5 +1,7 @@
|
|||
QT += core sql
|
||||
|
||||
CONFIG += c++11
|
||||
|
||||
INCLUDEPATH += $$PWD/include
|
||||
|
||||
HEADERS += \
|
||||
|
|
|
|||
|
|
@ -41,6 +41,7 @@ class SqlGeneratorBase : public QObject
|
|||
|
||||
Database *_database;
|
||||
public:
|
||||
//TODO: remove this enum
|
||||
enum CommandType{
|
||||
Select,
|
||||
Insert,
|
||||
|
|
@ -96,7 +97,8 @@ public:
|
|||
const int take = -1);
|
||||
|
||||
virtual QString selectCommand(const QString &tableName,
|
||||
const AgregateType &t, const QString &agregateArg,
|
||||
const AgregateType &t,
|
||||
const QString &agregateArg,
|
||||
const ConditionalPhrase &where,
|
||||
const QList<RelationModel *> &joins,
|
||||
const int skip = -1,
|
||||
|
|
|
|||
Loading…
Reference in New Issue