summaryrefslogtreecommitdiffstats
path: root/framework/domain/outboxmodel.h
diff options
context:
space:
mode:
Diffstat (limited to 'framework/domain/outboxmodel.h')
-rw-r--r--framework/domain/outboxmodel.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/framework/domain/outboxmodel.h b/framework/domain/outboxmodel.h
index 86821bc2..4e226223 100644
--- a/framework/domain/outboxmodel.h
+++ b/framework/domain/outboxmodel.h
@@ -30,6 +30,7 @@ class OutboxModel : public QSortFilterProxyModel
30{ 30{
31 Q_OBJECT 31 Q_OBJECT
32 32
33 Q_PROPERTY (int count READ count NOTIFY countChanged)
33public: 34public:
34 enum Status { 35 enum Status {
35 PendingStatus, 36 PendingStatus,
@@ -58,6 +59,10 @@ public:
58 59
59 void runQuery(const Sink::Query &query); 60 void runQuery(const Sink::Query &query);
60 61
62 int count() const;
63signals:
64 void countChanged();
65
61private: 66private:
62 QSharedPointer<QAbstractItemModel> m_model; 67 QSharedPointer<QAbstractItemModel> m_model;
63}; 68};