diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2015-12-04 11:59:07 +0100 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2015-12-04 11:59:07 +0100 |
commit | 52f14f40f233146f76a3c1eb143deb12c6a5b2d6 (patch) | |
tree | 8059c0bc52e51c218307c28738e4844006af5a4c /common/modelresult.h | |
parent | d2305f14fced3afdbda2b5a8f2a270ae91d79ae1 (diff) | |
download | sink-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/modelresult.h')
-rw-r--r-- | common/modelresult.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/common/modelresult.h b/common/modelresult.h index 700064b..298e157 100644 --- a/common/modelresult.h +++ b/common/modelresult.h | |||
@@ -34,7 +34,8 @@ class ModelResult : public QAbstractItemModel | |||
34 | public: | 34 | public: |
35 | enum Roles { | 35 | enum Roles { |
36 | DomainObjectRole = Qt::UserRole + 1, | 36 | DomainObjectRole = Qt::UserRole + 1, |
37 | ChildrenFetchedRole | 37 | ChildrenFetchedRole, |
38 | DomainObjectBaseRole | ||
38 | }; | 39 | }; |
39 | 40 | ||
40 | ModelResult(const Akonadi2::Query &query, const QList<QByteArray> &propertyColumns); | 41 | ModelResult(const Akonadi2::Query &query, const QList<QByteArray> &propertyColumns); |