Sophie

Sophie

distrib > Mageia > 5 > i586 > media > core-release > by-pkgid > 50facae208d4a6f280e44a513b104320 > files > 694

qt-mobility-doc-1.2.0-13.mga5.noarch.rpm

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en_US" lang="en_US">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- qcontactchangeset.cpp -->
  <title>Qt Mobility 1.2: QContactChangeSet Class Reference</title>
  <link rel="stylesheet" type="text/css" href="style/offline.css" />
</head>
<body>
<div class="header" id="qtdocheader">
  <div class="content"> 
    <a href="index.html" class="qtref"><span>QtMobility Reference Documentation</span></a>
  </div>
  <div class="breadcrumb toolblock">
    <ul>
      <li class="first"><a href="index.html">Home</a></li>
      <!--  Breadcrumbs go here -->
<li><a href="modules.html">Modules</a></li>
<li><a href="qtcontacts.html">QtContacts</a></li>
<li>QContactChangeSet</li>
    </ul>
  </div>
</div>
<div class="content mainContent">
<div class="toc">
<h3><a name="toc">Contents</a></h3>
<ul>
<li class="level1"><a href="#public-functions">Public Functions</a></li>
<li class="level1"><a href="#details">Detailed Description</a></li>
</ul>
</div>
<h1 class="title">QContactChangeSet Class Reference</h1>
<!-- $$$QContactChangeSet-brief -->
<p>The QContactChangeSet class provides a simple API to simplify the emission of state-change signals from <a href="qcontactmanagerengine.html">QContactManagerEngine</a> implementations. <a href="#details">More...</a></p>
<!-- @@@QContactChangeSet -->
<pre class="cpp"> <span class="preprocessor">#include &lt;QContactChangeSet&gt;</span></pre><p>This class was introduced in Qt Mobility 1.0.</p>
<ul>
<li><a href="qcontactchangeset-members.html">List of all members, including inherited members</a></li>
</ul>
<a name="public-functions"></a>
<h2>Public Functions</h2>
<table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qcontactchangeset.html#QContactChangeSet">QContactChangeSet</a></b> ()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qcontactchangeset.html#QContactChangeSet-2">QContactChangeSet</a></b> ( const QContactChangeSet &amp; <i>other</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qcontactchangeset.html#dtor.QContactChangeSet">~QContactChangeSet</a></b> ()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QSet&lt;QContactLocalId&gt; </td><td class="memItemRight bottomAlign"><b><a href="qcontactchangeset.html#addedContacts">addedContacts</a></b> () const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QSet&lt;QContactLocalId&gt; </td><td class="memItemRight bottomAlign"><b><a href="qcontactchangeset.html#addedRelationshipsContacts">addedRelationshipsContacts</a></b> () const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QSet&lt;QContactLocalId&gt; </td><td class="memItemRight bottomAlign"><b><a href="qcontactchangeset.html#changedContacts">changedContacts</a></b> () const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qcontactchangeset.html#clearAddedContacts">clearAddedContacts</a></b> ()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qcontactchangeset.html#clearAddedRelationshipsContacts">clearAddedRelationshipsContacts</a></b> ()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qcontactchangeset.html#clearAll">clearAll</a></b> ()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qcontactchangeset.html#clearChangedContacts">clearChangedContacts</a></b> ()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qcontactchangeset.html#clearRemovedContacts">clearRemovedContacts</a></b> ()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qcontactchangeset.html#clearRemovedRelationshipsContacts">clearRemovedRelationshipsContacts</a></b> ()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="qcontactchangeset.html#dataChanged">dataChanged</a></b> ()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qcontactchangeset.html#emitSignals">emitSignals</a></b> ( QContactManagerEngine * <i>engine</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qcontactchangeset.html#insertAddedContact">insertAddedContact</a></b> ( QContactLocalId <i>addedContactId</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qcontactchangeset.html#insertAddedContacts">insertAddedContacts</a></b> ( const QList&lt;QContactLocalId&gt; &amp; <i>addedContactIds</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qcontactchangeset.html#insertAddedRelationshipsContact">insertAddedRelationshipsContact</a></b> ( QContactLocalId <i>affectedContactId</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qcontactchangeset.html#insertAddedRelationshipsContacts">insertAddedRelationshipsContacts</a></b> ( const QList&lt;QContactLocalId&gt; &amp; <i>affectedContactIds</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qcontactchangeset.html#insertChangedContact">insertChangedContact</a></b> ( QContactLocalId <i>changedContactId</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qcontactchangeset.html#insertChangedContacts">insertChangedContacts</a></b> ( const QList&lt;QContactLocalId&gt; &amp; <i>changedContactIds</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qcontactchangeset.html#insertRemovedContact">insertRemovedContact</a></b> ( QContactLocalId <i>removedContactId</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qcontactchangeset.html#insertRemovedContacts">insertRemovedContacts</a></b> ( const QList&lt;QContactLocalId&gt; &amp; <i>removedContactIds</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qcontactchangeset.html#insertRemovedRelationshipsContact">insertRemovedRelationshipsContact</a></b> ( QContactLocalId <i>affectedContactId</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qcontactchangeset.html#insertRemovedRelationshipsContacts">insertRemovedRelationshipsContacts</a></b> ( const QList&lt;QContactLocalId&gt; &amp; <i>affectedContactIds</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QPair&lt;QContactLocalId, QContactLocalId&gt; </td><td class="memItemRight bottomAlign"><b><a href="qcontactchangeset.html#oldAndNewSelfContactId">oldAndNewSelfContactId</a></b> () const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QSet&lt;QContactLocalId&gt; </td><td class="memItemRight bottomAlign"><b><a href="qcontactchangeset.html#removedContacts">removedContacts</a></b> () const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QSet&lt;QContactLocalId&gt; </td><td class="memItemRight bottomAlign"><b><a href="qcontactchangeset.html#removedRelationshipsContacts">removedRelationshipsContacts</a></b> () const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qcontactchangeset.html#setDataChanged">setDataChanged</a></b> ( bool <i>dataChanged</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qcontactchangeset.html#setOldAndNewSelfContactId">setOldAndNewSelfContactId</a></b> ( const QPair&lt;QContactLocalId, QContactLocalId&gt; &amp; <i>oldAndNewContactId</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QContactChangeSet &amp; </td><td class="memItemRight bottomAlign"><b><a href="qcontactchangeset.html#operator-eq">operator=</a></b> ( const QContactChangeSet &amp; <i>other</i> )</td></tr>
</table>
<a name="details"></a>
<!-- $$$QContactChangeSet-description -->
<div class="descr">
<h2>Detailed Description</h2>
<p>The QContactChangeSet class provides a simple API to simplify the emission of state-change signals from <a href="qcontactmanagerengine.html">QContactManagerEngine</a> implementations.</p>
<p>This class can be utilised by backend implementations to ensure correct emission of the <a href="qcontactmanagerengine.html#dataChanged">QContactManagerEngine::dataChanged</a>(), <a href="qcontactmanagerengine.html#contactsAdded">QContactManagerEngine::contactsAdded</a>(), <a href="qcontactmanagerengine.html#contactsChanged">QContactManagerEngine::contactsChanged</a>() and <a href="qcontactmanagerengine.html#contactsRemoved">QContactManagerEngine::contactsRemoved</a>().</p>
</div>
<p><b>See also </b><a href="qcontactmanagerengine.html">QContactManagerEngine</a>.</p>
<!-- @@@QContactChangeSet -->
<div class="func">
<h2>Member Function Documentation</h2>
<!-- $$$QContactChangeSet[overload1]$$$QContactChangeSet -->
<h3 class="fn"><a name="QContactChangeSet"></a>QContactChangeSet::<span class="name">QContactChangeSet</span> ()</h3>
<p>Constructs a new change set</p>
<!-- @@@QContactChangeSet -->
<!-- $$$QContactChangeSet$$$QContactChangeSetconstQContactChangeSet& -->
<h3 class="fn"><a name="QContactChangeSet-2"></a>QContactChangeSet::<span class="name">QContactChangeSet</span> ( const <span class="type">QContactChangeSet</span> &amp; <i>other</i> )</h3>
<p>Constructs a copy of the <i>other</i> change set</p>
<p>This function was introduced in Qt Mobility 1.0.</p>
<!-- @@@QContactChangeSet -->
<!-- $$$~QContactChangeSet[overload1]$$$~QContactChangeSet -->
<h3 class="fn"><a name="dtor.QContactChangeSet"></a>QContactChangeSet::<span class="name">~QContactChangeSet</span> ()</h3>
<p>Frees the memory used by this change set</p>
<!-- @@@~QContactChangeSet -->
<!-- $$$addedContacts[overload1]$$$addedContacts -->
<h3 class="fn"><a name="addedContacts"></a><span class="type"><a href="http://qt.nokia.com/doc/4.7/qset.html">QSet</a></span>&lt;<span class="type"><a href="qcontactid.html#QContactLocalId-typedef">QContactLocalId</a></span>&gt; QContactChangeSet::<span class="name">addedContacts</span> () const</h3>
<p>Returns the set of ids of contacts which have been added to the database.</p>
<p>This function was introduced in Qt Mobility 1.0.</p>
<!-- @@@addedContacts -->
<!-- $$$addedRelationshipsContacts[overload1]$$$addedRelationshipsContacts -->
<h3 class="fn"><a name="addedRelationshipsContacts"></a><span class="type"><a href="http://qt.nokia.com/doc/4.7/qset.html">QSet</a></span>&lt;<span class="type"><a href="qcontactid.html#QContactLocalId-typedef">QContactLocalId</a></span>&gt; QContactChangeSet::<span class="name">addedRelationshipsContacts</span> () const</h3>
<p>Returns the set of ids of contacts which have been affected by the addition of relationships to the database.</p>
<p>This function was introduced in Qt Mobility 1.0.</p>
<!-- @@@addedRelationshipsContacts -->
<!-- $$$changedContacts[overload1]$$$changedContacts -->
<h3 class="fn"><a name="changedContacts"></a><span class="type"><a href="http://qt.nokia.com/doc/4.7/qset.html">QSet</a></span>&lt;<span class="type"><a href="qcontactid.html#QContactLocalId-typedef">QContactLocalId</a></span>&gt; QContactChangeSet::<span class="name">changedContacts</span> () const</h3>
<p>Returns the set of ids of contacts which have been changed in the database.</p>
<p>This function was introduced in Qt Mobility 1.0.</p>
<!-- @@@changedContacts -->
<!-- $$$clearAddedContacts[overload1]$$$clearAddedContacts -->
<h3 class="fn"><a name="clearAddedContacts"></a><span class="type">void</span> QContactChangeSet::<span class="name">clearAddedContacts</span> ()</h3>
<p>Clears the set of ids of contacts which have been added to the database</p>
<p>This function was introduced in Qt Mobility 1.0.</p>
<!-- @@@clearAddedContacts -->
<!-- $$$clearAddedRelationshipsContacts[overload1]$$$clearAddedRelationshipsContacts -->
<h3 class="fn"><a name="clearAddedRelationshipsContacts"></a><span class="type">void</span> QContactChangeSet::<span class="name">clearAddedRelationshipsContacts</span> ()</h3>
<p>Clears the set of ids of contacts which have been affected by the addition of a relationship to the database.</p>
<p>This function was introduced in Qt Mobility 1.0.</p>
<!-- @@@clearAddedRelationshipsContacts -->
<!-- $$$clearAll[overload1]$$$clearAll -->
<h3 class="fn"><a name="clearAll"></a><span class="type">void</span> QContactChangeSet::<span class="name">clearAll</span> ()</h3>
<p>Clears all flags and sets of ids in this change set</p>
<p>This function was introduced in Qt Mobility 1.0.</p>
<!-- @@@clearAll -->
<!-- $$$clearChangedContacts[overload1]$$$clearChangedContacts -->
<h3 class="fn"><a name="clearChangedContacts"></a><span class="type">void</span> QContactChangeSet::<span class="name">clearChangedContacts</span> ()</h3>
<p>Clears the set of ids of contacts which have been changed to the database</p>
<p>This function was introduced in Qt Mobility 1.0.</p>
<!-- @@@clearChangedContacts -->
<!-- $$$clearRemovedContacts[overload1]$$$clearRemovedContacts -->
<h3 class="fn"><a name="clearRemovedContacts"></a><span class="type">void</span> QContactChangeSet::<span class="name">clearRemovedContacts</span> ()</h3>
<p>Clears the set of ids of contacts which have been removed to the database</p>
<p>This function was introduced in Qt Mobility 1.0.</p>
<!-- @@@clearRemovedContacts -->
<!-- $$$clearRemovedRelationshipsContacts[overload1]$$$clearRemovedRelationshipsContacts -->
<h3 class="fn"><a name="clearRemovedRelationshipsContacts"></a><span class="type">void</span> QContactChangeSet::<span class="name">clearRemovedRelationshipsContacts</span> ()</h3>
<p>Clears the set of ids of contacts which have been affected by the removal of a relationship to the database.</p>
<p>This function was introduced in Qt Mobility 1.0.</p>
<!-- @@@clearRemovedRelationshipsContacts -->
<!-- $$$dataChanged[overload1]$$$dataChanged -->
<h3 class="fn"><a name="dataChanged"></a><span class="type">bool</span> QContactChangeSet::<span class="name">dataChanged</span> ()</h3>
<p>Returns the value of the data changed flag</p>
<p>This function was introduced in Qt Mobility 1.0.</p>
<p><b>See also </b><a href="qcontactchangeset.html#setDataChanged">setDataChanged</a>().</p>
<!-- @@@dataChanged -->
<!-- $$$emitSignals[overload1]$$$emitSignalsQContactManagerEngine* -->
<h3 class="fn"><a name="emitSignals"></a><span class="type">void</span> QContactChangeSet::<span class="name">emitSignals</span> ( <span class="type"><a href="qcontactmanagerengine.html">QContactManagerEngine</a></span> * <i>engine</i> )</h3>
<p>Emits the appropriate signals from the given <i>engine</i> given the state of the change set</p>
<p>This function was introduced in Qt Mobility 1.0.</p>
<!-- @@@emitSignals -->
<!-- $$$insertAddedContact[overload1]$$$insertAddedContactQContactLocalId -->
<h3 class="fn"><a name="insertAddedContact"></a><span class="type">void</span> QContactChangeSet::<span class="name">insertAddedContact</span> ( <span class="type"><a href="qcontactid.html#QContactLocalId-typedef">QContactLocalId</a></span> <i>addedContactId</i> )</h3>
<p>Inserts the given contact id <i>addedContactId</i> into the set of ids of contacts which have been added to the database.</p>
<p>This function was introduced in Qt Mobility 1.0.</p>
<!-- @@@insertAddedContact -->
<!-- $$$insertAddedContacts[overload1]$$$insertAddedContactsconstQList<QContactLocalId>& -->
<h3 class="fn"><a name="insertAddedContacts"></a><span class="type">void</span> QContactChangeSet::<span class="name">insertAddedContacts</span> ( const <span class="type"><a href="http://qt.nokia.com/doc/4.7/qlist.html">QList</a></span>&lt;<span class="type"><a href="qcontactid.html#QContactLocalId-typedef">QContactLocalId</a></span>&gt; &amp; <i>addedContactIds</i> )</h3>
<p>Inserts each of the given contact ids <i>addedContactIds</i> into the set of ids of contacts which have been added to the database.</p>
<p>This function was introduced in Qt Mobility 1.0.</p>
<!-- @@@insertAddedContacts -->
<!-- $$$insertAddedRelationshipsContact[overload1]$$$insertAddedRelationshipsContactQContactLocalId -->
<h3 class="fn"><a name="insertAddedRelationshipsContact"></a><span class="type">void</span> QContactChangeSet::<span class="name">insertAddedRelationshipsContact</span> ( <span class="type"><a href="qcontactid.html#QContactLocalId-typedef">QContactLocalId</a></span> <i>affectedContactId</i> )</h3>
<p>Inserts the given contact id <i>affectedContactId</i> into the set of ids of contacts which have been affected by the addition of a relationship to the database.</p>
<p>This function was introduced in Qt Mobility 1.0.</p>
<!-- @@@insertAddedRelationshipsContact -->
<!-- $$$insertAddedRelationshipsContacts[overload1]$$$insertAddedRelationshipsContactsconstQList<QContactLocalId>& -->
<h3 class="fn"><a name="insertAddedRelationshipsContacts"></a><span class="type">void</span> QContactChangeSet::<span class="name">insertAddedRelationshipsContacts</span> ( const <span class="type"><a href="http://qt.nokia.com/doc/4.7/qlist.html">QList</a></span>&lt;<span class="type"><a href="qcontactid.html#QContactLocalId-typedef">QContactLocalId</a></span>&gt; &amp; <i>affectedContactIds</i> )</h3>
<p>Inserts each of the given contact ids <i>affectedContactIds</i> into the set of ids of contacts which have been affected by the addition of a relationship to the database.</p>
<p>This function was introduced in Qt Mobility 1.0.</p>
<!-- @@@insertAddedRelationshipsContacts -->
<!-- $$$insertChangedContact[overload1]$$$insertChangedContactQContactLocalId -->
<h3 class="fn"><a name="insertChangedContact"></a><span class="type">void</span> QContactChangeSet::<span class="name">insertChangedContact</span> ( <span class="type"><a href="qcontactid.html#QContactLocalId-typedef">QContactLocalId</a></span> <i>changedContactId</i> )</h3>
<p>Inserts the given contact id <i>changedContactId</i> into the set of ids of contacts which have been changed to the database.</p>
<p>This function was introduced in Qt Mobility 1.0.</p>
<!-- @@@insertChangedContact -->
<!-- $$$insertChangedContacts[overload1]$$$insertChangedContactsconstQList<QContactLocalId>& -->
<h3 class="fn"><a name="insertChangedContacts"></a><span class="type">void</span> QContactChangeSet::<span class="name">insertChangedContacts</span> ( const <span class="type"><a href="http://qt.nokia.com/doc/4.7/qlist.html">QList</a></span>&lt;<span class="type"><a href="qcontactid.html#QContactLocalId-typedef">QContactLocalId</a></span>&gt; &amp; <i>changedContactIds</i> )</h3>
<p>Inserts each of the given contact ids <i>changedContactIds</i> into the set of ids of contacts which have been changed to the database.</p>
<p>This function was introduced in Qt Mobility 1.0.</p>
<!-- @@@insertChangedContacts -->
<!-- $$$insertRemovedContact[overload1]$$$insertRemovedContactQContactLocalId -->
<h3 class="fn"><a name="insertRemovedContact"></a><span class="type">void</span> QContactChangeSet::<span class="name">insertRemovedContact</span> ( <span class="type"><a href="qcontactid.html#QContactLocalId-typedef">QContactLocalId</a></span> <i>removedContactId</i> )</h3>
<p>Inserts the given contact id <i>removedContactId</i> into the set of ids of contacts which have been removed to the database.</p>
<p>This function was introduced in Qt Mobility 1.0.</p>
<!-- @@@insertRemovedContact -->
<!-- $$$insertRemovedContacts[overload1]$$$insertRemovedContactsconstQList<QContactLocalId>& -->
<h3 class="fn"><a name="insertRemovedContacts"></a><span class="type">void</span> QContactChangeSet::<span class="name">insertRemovedContacts</span> ( const <span class="type"><a href="http://qt.nokia.com/doc/4.7/qlist.html">QList</a></span>&lt;<span class="type"><a href="qcontactid.html#QContactLocalId-typedef">QContactLocalId</a></span>&gt; &amp; <i>removedContactIds</i> )</h3>
<p>Inserts each of the given contact ids <i>removedContactIds</i> into the set of ids of contacts which have been removed to the database.</p>
<p>This function was introduced in Qt Mobility 1.0.</p>
<!-- @@@insertRemovedContacts -->
<!-- $$$insertRemovedRelationshipsContact[overload1]$$$insertRemovedRelationshipsContactQContactLocalId -->
<h3 class="fn"><a name="insertRemovedRelationshipsContact"></a><span class="type">void</span> QContactChangeSet::<span class="name">insertRemovedRelationshipsContact</span> ( <span class="type"><a href="qcontactid.html#QContactLocalId-typedef">QContactLocalId</a></span> <i>affectedContactId</i> )</h3>
<p>Inserts the given contact id <i>affectedContactId</i> into the set of ids of contacts which have been affected by the removal of a relationship to the database.</p>
<p>This function was introduced in Qt Mobility 1.0.</p>
<!-- @@@insertRemovedRelationshipsContact -->
<!-- $$$insertRemovedRelationshipsContacts[overload1]$$$insertRemovedRelationshipsContactsconstQList<QContactLocalId>& -->
<h3 class="fn"><a name="insertRemovedRelationshipsContacts"></a><span class="type">void</span> QContactChangeSet::<span class="name">insertRemovedRelationshipsContacts</span> ( const <span class="type"><a href="http://qt.nokia.com/doc/4.7/qlist.html">QList</a></span>&lt;<span class="type"><a href="qcontactid.html#QContactLocalId-typedef">QContactLocalId</a></span>&gt; &amp; <i>affectedContactIds</i> )</h3>
<p>Inserts each of the given contact ids <i>affectedContactIds</i> into the set of ids of contacts which have been affected by the removal of a relationship to the database.</p>
<p>This function was introduced in Qt Mobility 1.0.</p>
<!-- @@@insertRemovedRelationshipsContacts -->
<!-- $$$oldAndNewSelfContactId[overload1]$$$oldAndNewSelfContactId -->
<h3 class="fn"><a name="oldAndNewSelfContactId"></a><span class="type"><a href="http://qt.nokia.com/doc/4.7/qpair.html">QPair</a></span>&lt;<span class="type"><a href="qcontactid.html#QContactLocalId-typedef">QContactLocalId</a></span>, <span class="type"><a href="qcontactid.html#QContactLocalId-typedef">QContactLocalId</a></span>&gt; QContactChangeSet::<span class="name">oldAndNewSelfContactId</span> () const</h3>
<p>Returns the pair of ids which represents the old and new self contact ids. The first id in the pair is the old self contact id, while the second id in the pair is the new self contact id. If the new id is different to the old id at the point in time when <a href="qcontactchangeset.html#emitSignals">emitSignals</a>() is called, the <a href="qcontactmanagerengine.html#selfContactIdChanged">QContactManagerEngine::selfContactIdChanged</a>() signal will be emitted.</p>
<p>This function was introduced in Qt Mobility 1.0.</p>
<p><b>See also </b><a href="qcontactchangeset.html#setOldAndNewSelfContactId">setOldAndNewSelfContactId</a>().</p>
<!-- @@@oldAndNewSelfContactId -->
<!-- $$$removedContacts[overload1]$$$removedContacts -->
<h3 class="fn"><a name="removedContacts"></a><span class="type"><a href="http://qt.nokia.com/doc/4.7/qset.html">QSet</a></span>&lt;<span class="type"><a href="qcontactid.html#QContactLocalId-typedef">QContactLocalId</a></span>&gt; QContactChangeSet::<span class="name">removedContacts</span> () const</h3>
<p>Returns the set of ids of contacts which have been removed from the database.</p>
<p>This function was introduced in Qt Mobility 1.0.</p>
<!-- @@@removedContacts -->
<!-- $$$removedRelationshipsContacts[overload1]$$$removedRelationshipsContacts -->
<h3 class="fn"><a name="removedRelationshipsContacts"></a><span class="type"><a href="http://qt.nokia.com/doc/4.7/qset.html">QSet</a></span>&lt;<span class="type"><a href="qcontactid.html#QContactLocalId-typedef">QContactLocalId</a></span>&gt; QContactChangeSet::<span class="name">removedRelationshipsContacts</span> () const</h3>
<p>Returns the set of ids of contacts which have been affected by the removal of relationships from the database.</p>
<p>This function was introduced in Qt Mobility 1.0.</p>
<!-- @@@removedRelationshipsContacts -->
<!-- $$$setDataChanged[overload1]$$$setDataChangedbool -->
<h3 class="fn"><a name="setDataChanged"></a><span class="type">void</span> QContactChangeSet::<span class="name">setDataChanged</span> ( <span class="type">bool</span> <i>dataChanged</i> )</h3>
<p>Sets the data changed flag to <i>dataChanged</i>. If this is set to true prior to calling <a href="qcontactchangeset.html#emitSignals">emitSignals</a>(), only the <a href="qcontactmanagerengine.html#dataChanged">QContactManagerEngine::dataChanged</a>() signal will be emitted; otherwise, the appropriate finer-grained signals will be emitted.</p>
<p>This function was introduced in Qt Mobility 1.0.</p>
<p><b>See also </b><a href="qcontactchangeset.html#dataChanged">dataChanged</a>().</p>
<!-- @@@setDataChanged -->
<!-- $$$setOldAndNewSelfContactId[overload1]$$$setOldAndNewSelfContactIdconstQPair<QContactLocalId,QContactLocalId>& -->
<h3 class="fn"><a name="setOldAndNewSelfContactId"></a><span class="type">void</span> QContactChangeSet::<span class="name">setOldAndNewSelfContactId</span> ( const <span class="type"><a href="http://qt.nokia.com/doc/4.7/qpair.html">QPair</a></span>&lt;<span class="type"><a href="qcontactid.html#QContactLocalId-typedef">QContactLocalId</a></span>, <span class="type"><a href="qcontactid.html#QContactLocalId-typedef">QContactLocalId</a></span>&gt; &amp; <i>oldAndNewContactId</i> )</h3>
<p>Sets the pair of ids which represent the old and new self contact ids to the given pair of ids <i>oldAndNewContactId</i>. The first id in the pair is the old self contact id, while the second id in the pair is the new self contact id. If the new id is different to the old id at the point in time when <a href="qcontactchangeset.html#emitSignals">emitSignals</a>() is called, the QContactManagerEngine::selfContactIdChanged signal will be emitted.</p>
<p>This function was introduced in Qt Mobility 1.0.</p>
<p><b>See also </b><a href="qcontactchangeset.html#oldAndNewSelfContactId">oldAndNewSelfContactId</a>().</p>
<!-- @@@setOldAndNewSelfContactId -->
<!-- $$$operator=[overload1]$$$operator=constQContactChangeSet& -->
<h3 class="fn"><a name="operator-eq"></a><span class="type">QContactChangeSet</span> &amp; QContactChangeSet::<span class="name">operator=</span> ( const <span class="type">QContactChangeSet</span> &amp; <i>other</i> )</h3>
<p>Assigns this change set to be equal to <i>other</i></p>
<!-- @@@operator= -->
</div>
  <div class="ft">
    <span></span>
  </div>
</div> 
<div class="footer">
  <p>
     <acronym title="Copyright">&copy;</acronym> 2008-2011 Nokia Corporation and/or its
     subsidiaries. Nokia, Qt and their respective logos are trademarks of Nokia Corporation 
     in Finland and/or other countries worldwide.</p>
  <p>
     All other trademarks are property of their respective owners. <a title="Privacy Policy"
     href="http://qt.nokia.com/about/privacy-policy">Privacy Policy</a></p>
  <br />
  <p>
    Licensees holding valid Qt Commercial licenses may use this document in accordance with the    Qt Commercial License Agreement provided with the Software or, alternatively, in accordance    with the terms contained in a written agreement between you and Nokia.</p>
  <p>
    Alternatively, this document may be used under the terms of the <a href="http://www.gnu.org/licenses/fdl.html">GNU
    Free Documentation License version 1.3</a>
    as published by the Free Software Foundation.</p>
</div>
</body>
</html>