summaryrefslogtreecommitdiffstats
path: root/framework/src/domain/maillistmodel.h
diff options
context:
space:
mode:
authorRémi Nicole <nicole@kolabsystems.com>2018-02-26 18:19:43 +0100
committerChristian Mollekopf <chrigi_1@fastmail.fm>2018-02-26 18:20:13 +0100
commit331f75d4da056ddb235be45a3784d2c19e545211 (patch)
tree64adc5432725e6d484012acfcea64b95b5d1711f /framework/src/domain/maillistmodel.h
parent2dc4d380f8c0cc90aa0dec67a826703c3ceb34af (diff)
downloadkube-331f75d4da056ddb235be45a3784d2c19e545211.tar.gz
kube-331f75d4da056ddb235be45a3784d2c19e545211.zip
Improvements of the log view
Summary: - Add a test view for the log view - Allow passing the `entities` part of Sink messages - That allowed getting information about which mail could not be sent in sink transmission errors Reviewers: cmollekopf Reviewed By: cmollekopf Differential Revision: https://phabricator.kde.org/D10861
Diffstat (limited to 'framework/src/domain/maillistmodel.h')
-rw-r--r--framework/src/domain/maillistmodel.h4
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
96private: 100private:
97 void fetchMail(Sink::ApplicationDomain::Mail::Ptr mail); 101 void fetchMail(Sink::ApplicationDomain::Mail::Ptr mail);
98 102