63 QContactChangeSet& operator=(const QContactChangeSet& other); |
64 QContactChangeSet& operator=(const QContactChangeSet& other); |
64 |
65 |
65 void setDataChanged(bool dataChanged); |
66 void setDataChanged(bool dataChanged); |
66 bool dataChanged(); |
67 bool dataChanged(); |
67 |
68 |
68 QSet<QContactLocalId>& addedContacts(); |
69 QSet<QContactLocalId> addedContacts() const; |
69 QSet<QContactLocalId>& changedContacts(); |
70 void insertAddedContact(QContactLocalId addedContactId); |
70 QSet<QContactLocalId>& removedContacts(); |
71 void insertAddedContacts(const QList<QContactLocalId>& addedContactIds); |
71 QSet<QContactLocalId>& addedRelationshipsContacts(); |
72 void clearAddedContacts(); |
72 QSet<QContactLocalId>& removedRelationshipsContacts(); |
|
73 QPair<QContactLocalId, QContactLocalId>& oldAndNewSelfContactId(); |
|
74 |
73 |
75 void clear(); |
74 QSet<QContactLocalId> changedContacts() const; |
|
75 void insertChangedContact(QContactLocalId addedContactId); |
|
76 void insertChangedContacts(const QList<QContactLocalId>& addedContactIds); |
|
77 void clearChangedContacts(); |
|
78 |
|
79 QSet<QContactLocalId> removedContacts() const; |
|
80 void insertRemovedContact(QContactLocalId addedContactId); |
|
81 void insertRemovedContacts(const QList<QContactLocalId>& addedContactIds); |
|
82 void clearRemovedContacts(); |
|
83 |
|
84 QSet<QContactLocalId> addedRelationshipsContacts() const; |
|
85 void insertAddedRelationshipsContact(QContactLocalId affectedContactId); |
|
86 void insertAddedRelationshipsContacts(const QList<QContactLocalId>& affectedContactIds); |
|
87 void clearAddedRelationshipsContacts(); |
|
88 |
|
89 QSet<QContactLocalId> removedRelationshipsContacts() const; |
|
90 void insertRemovedRelationshipsContact(QContactLocalId affectedContactId); |
|
91 void insertRemovedRelationshipsContacts(const QList<QContactLocalId>& affectedContactIds); |
|
92 void clearRemovedRelationshipsContacts(); |
|
93 |
|
94 void setOldAndNewSelfContactId(const QPair<QContactLocalId, QContactLocalId>& oldAndNewContactId); |
|
95 QPair<QContactLocalId, QContactLocalId> oldAndNewSelfContactId() const; |
|
96 |
|
97 void clearAll(); |
76 |
98 |
77 void emitSignals(QContactManagerEngine *engine); |
99 void emitSignals(QContactManagerEngine *engine); |
78 |
100 |
79 private: |
101 private: |
80 QSharedDataPointer<QContactChangeSetData> d; |
102 QSharedDataPointer<QContactChangeSetData> d; |