summaryrefslogtreecommitdiffstats
path: root/framework/src/domain/maillistmodel.h
diff options
context:
space:
mode:
Diffstat (limited to 'framework/src/domain/maillistmodel.h')
-rw-r--r--framework/src/domain/maillistmodel.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/framework/src/domain/maillistmodel.h b/framework/src/domain/maillistmodel.h
index 27e8d036..f83656b9 100644
--- a/framework/src/domain/maillistmodel.h
+++ b/framework/src/domain/maillistmodel.h
@@ -35,7 +35,6 @@ class MailListModel : public QSortFilterProxyModel
35 Q_PROPERTY (bool showInbox READ showInbox WRITE setShowInbox) 35 Q_PROPERTY (bool showInbox READ showInbox WRITE setShowInbox)
36 36
37 Q_PROPERTY (QString filter READ filter WRITE setFilter) 37 Q_PROPERTY (QString filter READ filter WRITE setFilter)
38 Q_PROPERTY (bool isThreaded READ isThreaded NOTIFY isThreadedChanged)
39 38
40public: 39public:
41 enum Status { 40 enum Status {
@@ -53,8 +52,6 @@ public:
53 bool lessThan(const QModelIndex &left, const QModelIndex &right) const Q_DECL_OVERRIDE; 52 bool lessThan(const QModelIndex &left, const QModelIndex &right) const Q_DECL_OVERRIDE;
54 bool filterAcceptsRow(int sourceRow, const QModelIndex &sourceParent) const Q_DECL_OVERRIDE; 53 bool filterAcceptsRow(int sourceRow, const QModelIndex &sourceParent) const Q_DECL_OVERRIDE;
55 54
56 bool isThreaded() const;
57
58 enum Roles { 55 enum Roles {
59 Subject = Qt::UserRole + 1, 56 Subject = Qt::UserRole + 1,
60 Sender, 57 Sender,
@@ -96,9 +93,6 @@ public:
96 void setShowInbox(bool); 93 void setShowInbox(bool);
97 bool showInbox() const; 94 bool showInbox() const;
98 95
99signals:
100 void isThreadedChanged();
101
102private: 96private:
103 void fetchMail(Sink::ApplicationDomain::Mail::Ptr mail); 97 void fetchMail(Sink::ApplicationDomain::Mail::Ptr mail);
104 98
@@ -106,6 +100,5 @@ private:
106 bool mFetchMails = false; 100 bool mFetchMails = false;
107 QSet<QByteArray> mFetchedMails; 101 QSet<QByteArray> mFetchedMails;
108 QByteArray mCurrentQueryItem; 102 QByteArray mCurrentQueryItem;
109 bool mIsThreaded = true;
110 Sink::Query mQuery; 103 Sink::Query mQuery;
111}; 104};