Sophie

Sophie

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

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" />
<!-- qorganizeritemfilter.cpp -->
  <title>Qt Mobility 1.2: QOrganizerItemFilter 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="qtorganizer.html">QtOrganizer</a></li>
<li>QOrganizerItemFilter</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-types">Public Types</a></li>
<li class="level1"><a href="#public-functions">Public Functions</a></li>
<li class="level1"><a href="#related-non-members">Related Non-Members</a></li>
<li class="level1"><a href="#details">Detailed Description</a></li>
</ul>
</div>
<h1 class="title">QOrganizerItemFilter Class Reference</h1>
<!-- $$$QOrganizerItemFilter-brief -->
<p>The QOrganizerItemFilter class is used to select organizer items made available through a <a href="qorganizermanager.html">QOrganizerManager</a>. <a href="#details">More...</a></p>
<!-- @@@QOrganizerItemFilter -->
<pre class="cpp"> <span class="preprocessor">#include &lt;QOrganizerItemFilter&gt;</span></pre><p><b>Inherited by: </b><a href="qorganizeritemchangelogfilter.html">QOrganizerItemChangeLogFilter</a>, <a href="qorganizeritemcollectionfilter.html">QOrganizerItemCollectionFilter</a>, <a href="qorganizeritemdetailfilter.html">QOrganizerItemDetailFilter</a>, <a href="qorganizeritemdetailrangefilter.html">QOrganizerItemDetailRangeFilter</a>, <a href="qorganizeritemidfilter.html">QOrganizerItemIdFilter</a>, <a href="qorganizeritemintersectionfilter.html">QOrganizerItemIntersectionFilter</a>, <a href="qorganizeriteminvalidfilter.html">QOrganizerItemInvalidFilter</a>, and <a href="qorganizeritemunionfilter.html">QOrganizerItemUnionFilter</a>.</p>
<p>This class was introduced in Qt Mobility 1.1.</p>
<ul>
<li><a href="qorganizeritemfilter-members.html">List of all members, including inherited members</a></li>
</ul>
<a name="public-types"></a>
<h2>Public Types</h2>
<table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> enum </td><td class="memItemRight bottomAlign"><b><a href="qorganizeritemfilter.html#FilterType-enum">FilterType</a></b> { InvalidFilter, OrganizerItemDetailFilter, OrganizerItemDetailRangeFilter, ChangeLogFilter, ..., DefaultFilter }</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> enum </td><td class="memItemRight bottomAlign"><b><a href="qorganizeritemfilter.html#MatchFlag-enum">MatchFlag</a></b> { MatchExactly, MatchContains, MatchStartsWith, MatchEndsWith, MatchFixedString, MatchCaseSensitive }</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> flags </td><td class="memItemRight bottomAlign"><b><a href="qorganizeritemfilter.html#MatchFlag-enum">MatchFlags</a></b></td></tr>
</table>
<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="qorganizeritemfilter.html#QOrganizerItemFilter">QOrganizerItemFilter</a></b> ()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qorganizeritemfilter.html#QOrganizerItemFilter-2">QOrganizerItemFilter</a></b> ( const QOrganizerItemFilter &amp; <i>other</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qorganizeritemfilter.html#dtor.QOrganizerItemFilter">~QOrganizerItemFilter</a></b> ()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> FilterType </td><td class="memItemRight bottomAlign"><b><a href="qorganizeritemfilter.html#type">type</a></b> () const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="qorganizeritemfilter.html#operator-not-eq">operator!=</a></b> ( const QOrganizerItemFilter &amp; <i>other</i> ) const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QOrganizerItemFilter &amp; </td><td class="memItemRight bottomAlign"><b><a href="qorganizeritemfilter.html#operator-eq">operator=</a></b> ( const QOrganizerItemFilter &amp; <i>other</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="qorganizeritemfilter.html#operator-eq-eq">operator==</a></b> ( const QOrganizerItemFilter &amp; <i>other</i> ) const</td></tr>
</table>
<a name="related-non-members"></a>
<h2>Related Non-Members</h2>
<table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> const QOrganizerItemFilter </td><td class="memItemRight bottomAlign"><b><a href="qorganizeritemfilter.html#operator-and-4">operator&amp;</a></b> ( const QOrganizerItemFilter &amp; <i>left</i>, const QOrganizerItemFilter &amp; <i>right</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> const QOrganizerItemFilter </td><td class="memItemRight bottomAlign"><b><a href="qorganizeritemfilter.html#operator-7c-5">operator|</a></b> ( const QOrganizerItemFilter &amp; <i>left</i>, const QOrganizerItemFilter &amp; <i>right</i> )</td></tr>
</table>
<a name="details"></a>
<!-- $$$QOrganizerItemFilter-description -->
<div class="descr">
<h2>Detailed Description</h2>
<p>The QOrganizerItemFilter class is used to select organizer items made available through a <a href="qorganizermanager.html">QOrganizerManager</a>.</p>
<p>This class is used as a parameter to various functions offered by <a href="qorganizermanager.html">QOrganizerManager</a>, to allow selection of items which have certain details or properties.</p>
</div>
<!-- @@@QOrganizerItemFilter -->
<div class="types">
<h2>Member Type Documentation</h2>
<!-- $$$FilterType$$$InvalidFilter$$$OrganizerItemDetailFilter$$$OrganizerItemDetailRangeFilter$$$ChangeLogFilter$$$ActionFilter$$$IntersectionFilter$$$UnionFilter$$$IdFilter$$$CollectionFilter$$$DefaultFilter -->
<h3 class="fn"><a name="FilterType-enum"></a>enum QOrganizerItemFilter::<span class="name">FilterType</span></h3>
<p>Describes the type of the filter</p>
<table class="valuelist"><tr valign="top" class="odd"><th class="tblConst">Constant</th><th class="tblval">Value</th><th class="tbldscr">Description</th></tr>
<tr><td class="topAlign"><tt>QOrganizerItemFilter::InvalidFilter</tt></td><td class="topAlign"><tt>0</tt></td><td class="topAlign">An invalid filter which matches nothing</td></tr>
<tr><td class="topAlign"><tt>QOrganizerItemFilter::OrganizerItemDetailFilter</tt></td><td class="topAlign"><tt>1</tt></td><td class="topAlign">A filter which matches items containing one or more details of a particular definition with a particular value</td></tr>
<tr><td class="topAlign"><tt>QOrganizerItemFilter::OrganizerItemDetailRangeFilter</tt></td><td class="topAlign"><tt>2</tt></td><td class="topAlign">A filter which matches items containing one or more details of a particular definition whose values are within a particular range</td></tr>
<tr><td class="topAlign"><tt>QOrganizerItemFilter::ChangeLogFilter</tt></td><td class="topAlign"><tt>3</tt></td><td class="topAlign">A filter which matches items whose timestamps have been updated since some particular date and time</td></tr>
<tr><td class="topAlign"><tt>QOrganizerItemFilter::IntersectionFilter</tt></td><td class="topAlign"><tt>5</tt></td><td class="topAlign">A filter which matches all items that are matched by all filters it includes</td></tr>
<tr><td class="topAlign"><tt>QOrganizerItemFilter::UnionFilter</tt></td><td class="topAlign"><tt>6</tt></td><td class="topAlign">A filter which matches any organizer item that is matched by any of the filters it includes</td></tr>
<tr><td class="topAlign"><tt>QOrganizerItemFilter::IdFilter</tt></td><td class="topAlign"><tt>7</tt></td><td class="topAlign">A filter which matches any organizer item whose id is contained in a particular list of organizer item ids</td></tr>
<tr><td class="topAlign"><tt>QOrganizerItemFilter::CollectionFilter</tt></td><td class="topAlign"><tt>8</tt></td><td class="topAlign">A filter which matches any organizer item that is matched by collection.</td></tr>
<tr><td class="topAlign"><tt>QOrganizerItemFilter::DefaultFilter</tt></td><td class="topAlign"><tt>9</tt></td><td class="topAlign">A filter which matches everything</td></tr>
</table>
<!-- @@@FilterType -->
<!-- $$$MatchFlag$$$MatchExactly$$$MatchContains$$$MatchStartsWith$$$MatchEndsWith$$$MatchFixedString$$$MatchCaseSensitive -->
<h3 class="flags"><a name="MatchFlag-enum"></a>enum QOrganizerItemFilter::<span class="name">MatchFlag</span><br/>flags QOrganizerItemFilter::<span class="name">MatchFlags</span></h3>
<p>Describes the semantics of matching followed by the filter</p>
<table class="valuelist"><tr valign="top" class="odd"><th class="tblConst">Constant</th><th class="tblval">Value</th><th class="tbldscr">Description</th></tr>
<tr><td class="topAlign"><tt>QOrganizerItemFilter::MatchExactly</tt></td><td class="topAlign"><tt>Qt::MatchExactly</tt></td><td class="topAlign">Performs <a href="http://qt.nokia.com/doc/4.7/qvariant.html">QVariant</a>-based matching</td></tr>
<tr><td class="topAlign"><tt>QOrganizerItemFilter::MatchContains</tt></td><td class="topAlign"><tt>Qt::MatchContains</tt></td><td class="topAlign">The search term is contained in the item</td></tr>
<tr><td class="topAlign"><tt>QOrganizerItemFilter::MatchStartsWith</tt></td><td class="topAlign"><tt>Qt::MatchStartsWith</tt></td><td class="topAlign">The search term matches the start of the item</td></tr>
<tr><td class="topAlign"><tt>QOrganizerItemFilter::MatchEndsWith</tt></td><td class="topAlign"><tt>Qt::MatchEndsWith</tt></td><td class="topAlign">The search term matches the end of the item</td></tr>
<tr><td class="topAlign"><tt>QOrganizerItemFilter::MatchFixedString</tt></td><td class="topAlign"><tt>Qt::MatchFixedString</tt></td><td class="topAlign">Performs string-based matching. String-based comparisons are case-insensitive unless the <tt>MatchCaseSensitive</tt> flag is also specified</td></tr>
<tr><td class="topAlign"><tt>QOrganizerItemFilter::MatchCaseSensitive</tt></td><td class="topAlign"><tt>Qt::MatchCaseSensitive</tt></td><td class="topAlign">The search is case sensitive</td></tr>
</table>
<p>The MatchFlags type is a typedef for <a href="qflags.html">QFlags</a>&lt;MatchFlag&gt;. It stores an OR combination of MatchFlag values.</p>
<!-- @@@MatchFlag -->
</div>
<div class="func">
<h2>Member Function Documentation</h2>
<!-- $$$QOrganizerItemFilter[overload1]$$$QOrganizerItemFilter -->
<h3 class="fn"><a name="QOrganizerItemFilter"></a>QOrganizerItemFilter::<span class="name">QOrganizerItemFilter</span> ()</h3>
<p>Constructs an empty filter</p>
<!-- @@@QOrganizerItemFilter -->
<!-- $$$QOrganizerItemFilter$$$QOrganizerItemFilterconstQOrganizerItemFilter& -->
<h3 class="fn"><a name="QOrganizerItemFilter-2"></a>QOrganizerItemFilter::<span class="name">QOrganizerItemFilter</span> ( const <span class="type">QOrganizerItemFilter</span> &amp; <i>other</i> )</h3>
<p>Constructs a new copy of <i>other</i></p>
<p>This function was introduced in Qt Mobility 1.1.</p>
<!-- @@@QOrganizerItemFilter -->
<!-- $$$~QOrganizerItemFilter[overload1]$$$~QOrganizerItemFilter -->
<h3 class="fn"><a name="dtor.QOrganizerItemFilter"></a>QOrganizerItemFilter::<span class="name">~QOrganizerItemFilter</span> ()</h3>
<p>Cleans up the memory used by this filter</p>
<!-- @@@~QOrganizerItemFilter -->
<!-- $$$type[overload1]$$$type -->
<h3 class="fn"><a name="type"></a><span class="type"><a href="qorganizeritemfilter.html#FilterType-enum">FilterType</a></span> QOrganizerItemFilter::<span class="name">type</span> () const</h3>
<p>Returns the type of the filter</p>
<p>This function was introduced in Qt Mobility 1.1.</p>
<!-- @@@type -->
<!-- $$$operator!=[overload1]$$$operator!=constQOrganizerItemFilter& -->
<h3 class="fn"><a name="operator-not-eq"></a><span class="type">bool</span> QOrganizerItemFilter::<span class="name">operator!=</span> ( const <span class="type">QOrganizerItemFilter</span> &amp; <i>other</i> ) const</h3>
<p>Returns true if this filter is not identical to the <i>other</i> filter.</p>
<p>This function was introduced in Qt Mobility 1.1.</p>
<p><b>See also </b><a href="qorganizeritemfilter.html#operator-eq-eq">operator==</a>().</p>
<!-- @@@operator!= -->
<!-- $$$operator=[overload1]$$$operator=constQOrganizerItemFilter& -->
<h3 class="fn"><a name="operator-eq"></a><span class="type">QOrganizerItemFilter</span> &amp; QOrganizerItemFilter::<span class="name">operator=</span> ( const <span class="type">QOrganizerItemFilter</span> &amp; <i>other</i> )</h3>
<p>Assigns this filter to be <i>other</i></p>
<p>This function was introduced in Qt Mobility 1.1.</p>
<!-- @@@operator= -->
<!-- $$$operator==[overload1]$$$operator==constQOrganizerItemFilter& -->
<h3 class="fn"><a name="operator-eq-eq"></a><span class="type">bool</span> QOrganizerItemFilter::<span class="name">operator==</span> ( const <span class="type">QOrganizerItemFilter</span> &amp; <i>other</i> ) const</h3>
<p>Returns true if the filter has the same type and criteria as <i>other</i></p>
<p>This function was introduced in Qt Mobility 1.1.</p>
<!-- @@@operator== -->
</div>
<div class="relnonmem">
<h2>Related Non-Members</h2>
<!-- $$$operator&$$$operator&constQOrganizerItemFilter&constQOrganizerItemFilter& -->
<h3 class="fn"><a name="operator-and-4"></a>const <span class="type">QOrganizerItemFilter</span> <span class="name">operator&amp;</span> ( const <span class="type">QOrganizerItemFilter</span> &amp; <i>left</i>, const <span class="type">QOrganizerItemFilter</span> &amp; <i>right</i> )</h3>
<p>Returns a filter which is the intersection of the <i>left</i> and <i>right</i> filters</p>
<p>This function was introduced in Qt Mobility 1.1.</p>
<p><b>See also </b><a href="qorganizeritemintersectionfilter.html">QOrganizerItemIntersectionFilter</a>.</p>
<!-- @@@operator& -->
<!-- $$$operator|$$$operator|constQOrganizerItemFilter&constQOrganizerItemFilter& -->
<h3 class="fn"><a name="operator-7c-5"></a>const <span class="type">QOrganizerItemFilter</span> <span class="name">operator|</span> ( const <span class="type">QOrganizerItemFilter</span> &amp; <i>left</i>, const <span class="type">QOrganizerItemFilter</span> &amp; <i>right</i> )</h3>
<p>Returns a filter which is the union of the <i>left</i> and <i>right</i> filters</p>
<p>This function was introduced in Qt Mobility 1.1.</p>
<p><b>See also </b><a href="qorganizeritemunionfilter.html">QOrganizerItemUnionFilter</a>.</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>