diff options
Diffstat (limited to 'src/declarative/qml/qmlworkerscript_p.h')
-rw-r--r-- | src/declarative/qml/qmlworkerscript_p.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/declarative/qml/qmlworkerscript_p.h b/src/declarative/qml/qmlworkerscript_p.h index fdc726e..1c70f2d 100644 --- a/src/declarative/qml/qmlworkerscript_p.h +++ b/src/declarative/qml/qmlworkerscript_p.h @@ -118,6 +118,7 @@ class QmlWorkerListModelAgent; class QmlWorkerListModel : public QListModelInterface { Q_OBJECT + Q_PROPERTY(int count READ count NOTIFY countChanged); public: QmlWorkerListModel(QObject * = 0); @@ -138,6 +139,9 @@ public: virtual QHash<int,QVariant> data(int index, const QList<int> &roles = (QList<int>())) const; virtual QVariant data(int index, int role) const; +Q_SIGNALS: + void countChanged(); + private: friend class QmlWorkerListModelAgent; |