summaryrefslogtreecommitdiffstats
path: root/common/clientapi.h
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2015-12-04 11:59:07 +0100
committerChristian Mollekopf <chrigi_1@fastmail.fm>2015-12-04 11:59:07 +0100
commit52f14f40f233146f76a3c1eb143deb12c6a5b2d6 (patch)
tree8059c0bc52e51c218307c28738e4844006af5a4c /common/clientapi.h
parentd2305f14fced3afdbda2b5a8f2a270ae91d79ae1 (diff)
downloadsink-52f14f40f233146f76a3c1eb143deb12c6a5b2d6.tar.gz
sink-52f14f40f233146f76a3c1eb143deb12c6a5b2d6.zip
Provide a way to get to the ApplicationDomainType base class
QVariant doesn't support polymorphism for non-QObject classes.
Diffstat (limited to 'common/clientapi.h')
-rw-r--r--common/clientapi.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/common/clientapi.h b/common/clientapi.h
index edf42e4..074aabc 100644
--- a/common/clientapi.h
+++ b/common/clientapi.h
@@ -45,7 +45,8 @@ public:
45 45
46 enum Roles { 46 enum Roles {
47 DomainObjectRole = Qt::UserRole + 1, //Must be the same as in ModelResult 47 DomainObjectRole = Qt::UserRole + 1, //Must be the same as in ModelResult
48 ChildrenFetchedRole 48 ChildrenFetchedRole,
49 DomainObjectBaseRole
49 }; 50 };
50 51
51 /** 52 /**