summaryrefslogtreecommitdiffstats
path: root/src/contacts/qcontactmanagerengine.h
diff options
context:
space:
mode:
authorChris Adams <chris.adams@qinetic.com.au>2020-07-01 10:45:27 +1000
committerChris Adams <chris.adams@qinetic.com.au>2021-03-18 10:20:26 +1000
commita2bf7cdf05c264b5dd2560f799760b5508f154e4 (patch)
treec2d3991f914b7721c30b3287085748d8f79f2753 /src/contacts/qcontactmanagerengine.h
parent5bdfb9127b3f6c9863def0578c7a8734a5156ea9 (diff)
Accessors should be const
Change-Id: I5316640c5645eddc4078898a67f54dd984ffd29a Reviewed-by: Pekka Vuorela <pvuorela@iki.fi>
Diffstat (limited to 'src/contacts/qcontactmanagerengine.h')
-rw-r--r--src/contacts/qcontactmanagerengine.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/contacts/qcontactmanagerengine.h b/src/contacts/qcontactmanagerengine.h
index 14752bb6c..17446b822 100644
--- a/src/contacts/qcontactmanagerengine.h
+++ b/src/contacts/qcontactmanagerengine.h
@@ -107,8 +107,8 @@ public:
// collections
virtual QContactCollectionId defaultCollectionId() const;
- virtual QContactCollection collection(const QContactCollectionId &collectionId, QContactManager::Error *error);
- virtual QList<QContactCollection> collections(QContactManager::Error *error);
+ virtual QContactCollection collection(const QContactCollectionId &collectionId, QContactManager::Error *error) const;
+ virtual QList<QContactCollection> collections(QContactManager::Error *error) const;
virtual bool saveCollection(QContactCollection *collection, QContactManager::Error *error);
virtual bool removeCollection(const QContactCollectionId &collectionId, QContactManager::Error *error);