qtmobility/plugins/contacts/symbian/inc/cntrelationshipgroup.h
changeset 4 90517678cc4f
parent 1 2b40d63a9c3d
child 11 06b8e2af4411
equal deleted inserted replaced
1:2b40d63a9c3d 4:90517678cc4f
    50 public: 
    50 public: 
    51     CntRelationshipGroup(CContactDatabase *contactDatabase, const QString &managerUri);
    51     CntRelationshipGroup(CContactDatabase *contactDatabase, const QString &managerUri);
    52     virtual ~CntRelationshipGroup();
    52     virtual ~CntRelationshipGroup();
    53 
    53 
    54 public:
    54 public:
    55     QList<QContactRelationship> relationshipsL(const QContactId &participantId, QContactRelationshipFilter::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     bool validateRelationship(const QContactRelationship &relationship, QContactManager::Error &error);
    58     bool validateRelationship(const QContactRelationship &relationship, QContactManager::Error *error);
    59     
    59     
    60 private:
    60 private:
    61     void isGroupMemberL(const CContactItem *contactItem, const TContactItemId groupId) const;
    61     void isGroupMemberL(const CContactItem *contactItem, const TContactItemId groupId) const;
    62     void fetchGroupMembersL(const QContactLocalId &participantId, QList<QContactRelationship> *relationships);
    62     void fetchGroupMembersL(const QContactLocalId &participantId, QList<QContactRelationship> *relationships);
    63     void fetchMemberOfGroupsL(const QContactLocalId &participantId, QList<QContactRelationship> *relationships);
    63     void fetchMemberOfGroupsL(const QContactLocalId &participantId, QList<QContactRelationship> *relationships);