diff options
Diffstat (limited to 'framework/src/domain/maillistmodel.h')
-rw-r--r-- | framework/src/domain/maillistmodel.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/framework/src/domain/maillistmodel.h b/framework/src/domain/maillistmodel.h index f83656b9..a6965915 100644 --- a/framework/src/domain/maillistmodel.h +++ b/framework/src/domain/maillistmodel.h | |||
@@ -33,6 +33,7 @@ class MailListModel : public QSortFilterProxyModel | |||
33 | Q_PROPERTY (QVariant mail READ mail WRITE setMail) | 33 | Q_PROPERTY (QVariant mail READ mail WRITE setMail) |
34 | Q_PROPERTY (bool showDrafts READ showDrafts WRITE setShowDrafts) | 34 | Q_PROPERTY (bool showDrafts READ showDrafts WRITE setShowDrafts) |
35 | Q_PROPERTY (bool showInbox READ showInbox WRITE setShowInbox) | 35 | Q_PROPERTY (bool showInbox READ showInbox WRITE setShowInbox) |
36 | Q_PROPERTY (QString entityId READ entityId WRITE setEntityId) | ||
36 | 37 | ||
37 | Q_PROPERTY (QString filter READ filter WRITE setFilter) | 38 | Q_PROPERTY (QString filter READ filter WRITE setFilter) |
38 | 39 | ||
@@ -93,6 +94,9 @@ public: | |||
93 | void setShowInbox(bool); | 94 | void setShowInbox(bool); |
94 | bool showInbox() const; | 95 | bool showInbox() const; |
95 | 96 | ||
97 | void setEntityId(const QString &id); | ||
98 | QString entityId() const; | ||
99 | |||
96 | private: | 100 | private: |
97 | void fetchMail(Sink::ApplicationDomain::Mail::Ptr mail); | 101 | void fetchMail(Sink::ApplicationDomain::Mail::Ptr mail); |
98 | 102 | ||