summaryrefslogtreecommitdiffstats
path: root/framework/mail/maillistcontroller.h
diff options
context:
space:
mode:
Diffstat (limited to 'framework/mail/maillistcontroller.h')
-rw-r--r--framework/mail/maillistcontroller.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/framework/mail/maillistcontroller.h b/framework/mail/maillistcontroller.h
index ab29c779..9e972e18 100644
--- a/framework/mail/maillistcontroller.h
+++ b/framework/mail/maillistcontroller.h
@@ -10,23 +10,23 @@
10class MailListController : public QObject 10class MailListController : public QObject
11{ 11{
12 Q_OBJECT 12 Q_OBJECT
13 Q_PROPERTY (QString query READ query WRITE setQuery NOTIFY queryChanged) 13 Q_PROPERTY (QString folderId READ folderId WRITE setFolderId NOTIFY folderIdChanged)
14 Q_PROPERTY (MailListModel *model READ model CONSTANT) 14 Q_PROPERTY (MailListModel *model READ model CONSTANT)
15 15
16public: 16public:
17 explicit MailListController(QObject *parent = Q_NULLPTR); 17 explicit MailListController(QObject *parent = Q_NULLPTR);
18 18
19 QString query() const; 19 QString folderId() const;
20 void setQuery(const QString &query); 20 void setFolderId(const QString &query);
21 MailListModel *model() const; 21 MailListModel *model() const;
22 22
23signals: 23signals:
24 void queryChanged(); 24 void folderIdChanged();
25 25
26public slots: 26public slots:
27 void addMail(QString subject); 27 void addMail(QString subject);
28 28
29private: 29private:
30 QString m_query; 30 QString m_folderId;
31 QScopedPointer<MailListModel> m_model; 31 QScopedPointer<MailListModel> m_model;
32}; 32};