Add Q_ENUM to the Table::Status (makes debugging easier) (#101)
This commit is contained in:
parent
39ec6de315
commit
a3d9d0a1e0
|
|
@ -51,6 +51,7 @@ public:
|
||||||
Modified,
|
Modified,
|
||||||
Deleted
|
Deleted
|
||||||
};
|
};
|
||||||
|
Q_ENUM(Status)
|
||||||
|
|
||||||
int save(Database *db);
|
int save(Database *db);
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -20,7 +20,7 @@ public:
|
||||||
|
|
||||||
|
|
||||||
TableModel *model;
|
TableModel *model;
|
||||||
int status;
|
Table::Status status;
|
||||||
QSet<QString> changedProperties;
|
QSet<QString> changedProperties;
|
||||||
TableSetBase *parentTableSet;
|
TableSetBase *parentTableSet;
|
||||||
QSet<TableSetBase*> childTableSets;
|
QSet<TableSetBase*> childTableSets;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue