53 |
53 |
54 public: |
54 public: |
55 QList<QContactRelationship> relationshipsL(const QContactId &participantId, QContactRelationship::Role role, QContactManager::Error *error); |
55 QList<QContactRelationship> relationshipsL(const QContactId &participantId, QContactRelationship::Role role, QContactManager::Error *error); |
56 bool saveRelationshipL(QSet<QContactLocalId> *affectedContactIds, QContactRelationship *relationship, QContactManager::Error *error); |
56 bool saveRelationshipL(QSet<QContactLocalId> *affectedContactIds, QContactRelationship *relationship, QContactManager::Error *error); |
57 bool removeRelationshipL(QSet<QContactLocalId> *affectedContactIds, const QContactRelationship &relationship, QContactManager::Error *error); |
57 bool removeRelationshipL(QSet<QContactLocalId> *affectedContactIds, const QContactRelationship &relationship, QContactManager::Error *error); |
|
58 #ifdef SYMBIAN_BACKEND_USE_SQLITE |
|
59 bool saveRelationshipsL(QSet<QContactLocalId> *affectedContactIds, QList<QContactRelationship> *relationships, QContactManager::Error *error); |
|
60 bool removeRelationshipsL(QSet<QContactLocalId> *affectedContactIds, const QList<QContactRelationship> &relationships, QContactManager::Error *error); |
|
61 #endif |
58 bool validateRelationship(const QContactRelationship &relationship, QContactManager::Error *error); |
62 bool validateRelationship(const QContactRelationship &relationship, QContactManager::Error *error); |
59 |
63 |
60 private: |
64 private: |
61 void isGroupMemberL(const CContactItem *contactItem, const TContactItemId groupId) const; |
65 void isGroupMemberL(const CContactItem *contactItem, const TContactItemId groupId) const; |
62 void fetchGroupMembersL(const QContactLocalId &participantId, QList<QContactRelationship> *relationships); |
66 void fetchGroupMembersL(const QContactLocalId &participantId, QList<QContactRelationship> *relationships); |