--- a/phonebookui/pbkcommonui/inc/cntcollectionlistmodel.h Thu Sep 02 20:16:15 2010 +0300
+++ b/phonebookui/pbkcommonui/inc/cntcollectionlistmodel.h Fri Sep 17 08:27:32 2010 +0300
@@ -52,7 +52,7 @@
public:
// removing and adding groups
- void removeGroup(int localId);
+ bool removeGroup(int localId);
void addGroup(int localId);
// extension (plugin) group handling
@@ -74,10 +74,19 @@
bool validateRowIndex(const int index) const;
private slots:
- void informationUpdated(int id, const QString& secondRowText, int memberCount);
+ void informationUpdated(int id, const QString& secondRowText, const QList<int>& members);
void onIconReady(const QPixmap& pixmap, void *data, int id, int error);
void extensionGroupsReady();
+ void handleAdded(const QList<QContactLocalId>& contactIds);
+ void handleRemoved(const QList<QContactLocalId>& contactIds);
+ void handleChanged(const QList<QContactLocalId>& contactIds);
+ void handleAddedRelationship(const QList<QContactLocalId>& contactIds);
+ void handleRemovedRelationship(const QList<QContactLocalId>& contactIds);
+
+signals:
+ void groupCountChanged();
+
private:
QSharedDataPointer<CntCollectionListModelData> d;
CntCollectionListModelWorker *mThread;