Sophie

Sophie

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

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" />
<!-- qcontactlocalidfilter.cpp -->
  <title>Qt Mobility 1.2: QContactLocalIdFilter 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>QContactLocalIdFilter</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">QContactLocalIdFilter Class Reference</h1>
<!-- $$$QContactLocalIdFilter-brief -->
<p>The QContactLocalIdFilter class provides a filter based around a list of contact ids <a href="#details">More...</a></p>
<!-- @@@QContactLocalIdFilter -->
<pre class="cpp"> <span class="preprocessor">#include &lt;QContactLocalIdFilter&gt;</span></pre><p><b>Inherits: </b><a href="qcontactfilter.html">QContactFilter</a>.</p>
<p>This class was introduced in Qt Mobility 1.0.</p>
<ul>
<li><a href="qcontactlocalidfilter-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="qcontactlocalidfilter.html#QContactLocalIdFilter">QContactLocalIdFilter</a></b> ()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qcontactlocalidfilter.html#QContactLocalIdFilter-2">QContactLocalIdFilter</a></b> ( const QContactFilter &amp; <i>other</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qcontactlocalidfilter.html#add">add</a></b> ( const QContactLocalId &amp; <i>id</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qcontactlocalidfilter.html#clear">clear</a></b> ()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QList&lt;QContactLocalId&gt; </td><td class="memItemRight bottomAlign"><b><a href="qcontactlocalidfilter.html#ids">ids</a></b> () const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qcontactlocalidfilter.html#remove">remove</a></b> ( const QContactLocalId &amp; <i>id</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qcontactlocalidfilter.html#setIds">setIds</a></b> ( const QList&lt;QContactLocalId&gt; &amp; <i>ids</i> )</td></tr>
</table>
<ul>
<li class="fn">4 public functions inherited from <a href="qcontactfilter.html#public-functions">QContactFilter</a></li>
</ul>
<a name="details"></a>
<!-- $$$QContactLocalIdFilter-description -->
<div class="descr">
<h2>Detailed Description</h2>
<p>The QContactLocalIdFilter class provides a filter based around a list of contact ids</p>
<p>It may be used to select contacts whose ids are contained in the given list of ids.</p>
</div>
<!-- @@@QContactLocalIdFilter -->
<div class="func">
<h2>Member Function Documentation</h2>
<!-- $$$QContactLocalIdFilter[overload1]$$$QContactLocalIdFilter -->
<h3 class="fn"><a name="QContactLocalIdFilter"></a>QContactLocalIdFilter::<span class="name">QContactLocalIdFilter</span> ()</h3>
<p>Constructs a new contact local id filter</p>
<!-- @@@QContactLocalIdFilter -->
<!-- $$$QContactLocalIdFilter$$$QContactLocalIdFilterconstQContactFilter& -->
<h3 class="fn"><a name="QContactLocalIdFilter-2"></a>QContactLocalIdFilter::<span class="name">QContactLocalIdFilter</span> ( const <span class="type"><a href="qcontactfilter.html">QContactFilter</a></span> &amp; <i>other</i> )</h3>
<p>Constructs a copy of <i>other</i> if possible, otherwise constructs a new contact local id filter</p>
<p>This function was introduced in Qt Mobility 1.0.</p>
<!-- @@@QContactLocalIdFilter -->
<!-- $$$add[overload1]$$$addconstQContactLocalId& -->
<h3 class="fn"><a name="add"></a><span class="type">void</span> QContactLocalIdFilter::<span class="name">add</span> ( const <span class="type"><a href="qcontactid.html#QContactLocalId-typedef">QContactLocalId</a></span> &amp; <i>id</i> )</h3>
<p>Adds the id <i>id</i> into the list which contains the ids of possible matching contacts</p>
<p><b>See also </b><a href="qcontactlocalidfilter.html#setIds">setIds</a>().</p>
<!-- @@@add -->
<!-- $$$clear[overload1]$$$clear -->
<h3 class="fn"><a name="clear"></a><span class="type">void</span> QContactLocalIdFilter::<span class="name">clear</span> ()</h3>
<p>Clears the list which contains the ids of possible matching contacts. A local id filter with a cleared list will match no contacts.</p>
<p><b>See also </b><a href="qcontactlocalidfilter.html#setIds">setIds</a>().</p>
<!-- @@@clear -->
<!-- $$$ids[overload1]$$$ids -->
<h3 class="fn"><a name="ids"></a><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; QContactLocalIdFilter::<span class="name">ids</span> () const</h3>
<p>Returns the list of ids of contacts which match this filter</p>
<p>This function was introduced in Qt Mobility 1.0.</p>
<p><b>See also </b><a href="qcontactlocalidfilter.html#setIds">setIds</a>().</p>
<!-- @@@ids -->
<!-- $$$remove[overload1]$$$removeconstQContactLocalId& -->
<h3 class="fn"><a name="remove"></a><span class="type">void</span> QContactLocalIdFilter::<span class="name">remove</span> ( const <span class="type"><a href="qcontactid.html#QContactLocalId-typedef">QContactLocalId</a></span> &amp; <i>id</i> )</h3>
<p>Removes the id <i>id</i> from the list which contains the ids of possible matching contacts, if it is contained in the list, otherwise has no effect.</p>
<p><b>See also </b><a href="qcontactlocalidfilter.html#clear">clear</a>().</p>
<!-- @@@remove -->
<!-- $$$setIds[overload1]$$$setIdsconstQList<QContactLocalId>& -->
<h3 class="fn"><a name="setIds"></a><span class="type">void</span> QContactLocalIdFilter::<span class="name">setIds</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>ids</i> )</h3>
<p>Sets the list which contains the ids of possible matching contacts to <i>ids</i></p>
<p>This function was introduced in Qt Mobility 1.0.</p>
<p><b>See also </b><a href="qcontactlocalidfilter.html#ids">ids</a>().</p>
<!-- @@@setIds -->
</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>