diff options
author | juhvu <qt-info@nokia.com> | 2010-08-26 15:38:15 +1000 |
---|---|---|
committer | juhvu <qt-info@nokia.com> | 2010-08-26 15:38:15 +1000 |
commit | 6559bfd0837517999a0aa56c5dc215b80c87d244 (patch) | |
tree | 5dcb49afbe8f59f6b648dd0afa5af9c6c201478d /plugins/declarative/location/qdeclarativelandmarkmodel_p.h | |
parent | 5c15656f524ca1b38585a1542b1c6b9c0995c137 (diff) |
Declarative landmark bug fixing and auto test coverage.
Diffstat (limited to 'plugins/declarative/location/qdeclarativelandmarkmodel_p.h')
-rw-r--r-- | plugins/declarative/location/qdeclarativelandmarkmodel_p.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/plugins/declarative/location/qdeclarativelandmarkmodel_p.h b/plugins/declarative/location/qdeclarativelandmarkmodel_p.h index a56d2debe4..03cb44216d 100644 --- a/plugins/declarative/location/qdeclarativelandmarkmodel_p.h +++ b/plugins/declarative/location/qdeclarativelandmarkmodel_p.h @@ -29,6 +29,8 @@ class QDeclarativeLandmarkModel: public QAbstractListModel, public QDeclarativeP Q_PROPERTY(SortOrder sortOrder READ sortOrder WRITE setSortOrder NOTIFY sortOrderChanged) // dbFileName is _not_ official public property, but used in testing Q_PROPERTY(QString dbFileName READ dbFileName WRITE setDbFileName NOTIFY dbFileNameChanged) + Q_ENUMS(SortOrder) + Q_ENUMS(SortKey) Q_INTERFACES(QDeclarativeParserStatus) public: @@ -83,9 +85,9 @@ public: signals: void errorChanged(QString error); void autoUpdateChanged(); - void limitChanged(int limit); - void offsetChanged(int offset); - void countChanged(int count); + void limitChanged(); + void offsetChanged(); + void countChanged(); void filterChanged(); void sortByChanged(); void sortOrderChanged(); @@ -98,6 +100,7 @@ private slots: void fetchRequestStateChanged(QLandmarkAbstractRequest::State); private: + Q_INVOKABLE void startUpdate(); void convertLandmarksToDeclarative(); void setFetchRange(); void setFetchOrder(); |