diff options
Diffstat (limited to 'common/store.h')
-rw-r--r-- | common/store.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/common/store.h b/common/store.h index 86e4d20..fae76e5 100644 --- a/common/store.h +++ b/common/store.h | |||
@@ -48,11 +48,15 @@ QString SINK_EXPORT storageLocation(); | |||
48 | */ | 48 | */ |
49 | QString SINK_EXPORT getTemporaryFilePath(); | 49 | QString SINK_EXPORT getTemporaryFilePath(); |
50 | 50 | ||
51 | // Must be the same as in ModelResult | ||
51 | enum Roles | 52 | enum Roles |
52 | { | 53 | { |
53 | DomainObjectRole = Qt::UserRole + 1, // Must be the same as in ModelResult | 54 | DomainObjectRole = Qt::UserRole + 1, |
54 | ChildrenFetchedRole, | 55 | ChildrenFetchedRole, |
55 | DomainObjectBaseRole | 56 | DomainObjectBaseRole, |
57 | StatusRole, //ApplicationDomain::SyncStatus | ||
58 | WarningRole, //ApplicationDomain::Warning, only if status == warning || status == error | ||
59 | ProgressRole //ApplicationDomain::Progress | ||
56 | }; | 60 | }; |
57 | 61 | ||
58 | /** | 62 | /** |