Sophie

Sophie

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

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" />
<!-- qgalleryfilter.cpp -->
  <title>Qt Mobility 1.2: QGalleryUnionFilter 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="qtgallery.html">QtGallery</a></li>
<li>QGalleryUnionFilter</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="#related-non-members">Related Non-Members</a></li>
<li class="level1"><a href="#details">Detailed Description</a></li>
</ul>
</div>
<h1 class="title">QGalleryUnionFilter Class Reference</h1>
<!-- $$$QGalleryUnionFilter-brief -->
<p>The QGalleryUnionFilter class provides a filter which matches the union of two or more meta-data filters. <a href="#details">More...</a></p>
<!-- @@@QGalleryUnionFilter -->
<pre class="cpp"> <span class="preprocessor">#include &lt;QGalleryUnionFilter&gt;</span></pre><p>This class was introduced in Qt Mobility 1.1.</p>
<ul>
<li><a href="qgalleryunionfilter-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="qgalleryunionfilter.html#QGalleryUnionFilter">QGalleryUnionFilter</a></b> ()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qgalleryunionfilter.html#QGalleryUnionFilter-2">QGalleryUnionFilter</a></b> ( const QGalleryMetaDataFilter &amp; <i>filter</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qgalleryunionfilter.html#QGalleryUnionFilter-3">QGalleryUnionFilter</a></b> ( const QGalleryIntersectionFilter &amp; <i>filter</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qgalleryunionfilter.html#QGalleryUnionFilter-4">QGalleryUnionFilter</a></b> ( const QGalleryUnionFilter &amp; <i>filter</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qgalleryunionfilter.html#dtor.QGalleryUnionFilter">~QGalleryUnionFilter</a></b> ()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qgalleryunionfilter.html#append">append</a></b> ( const QGalleryMetaDataFilter &amp; <i>filter</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qgalleryunionfilter.html#append-2">append</a></b> ( const QGalleryIntersectionFilter &amp; <i>filter</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qgalleryunionfilter.html#append-3">append</a></b> ( const QGalleryUnionFilter &amp; <i>filter</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qgalleryunionfilter.html#clear">clear</a></b> ()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> int </td><td class="memItemRight bottomAlign"><b><a href="qgalleryunionfilter.html#filterCount">filterCount</a></b> () const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QList&lt;QGalleryFilter&gt; </td><td class="memItemRight bottomAlign"><b><a href="qgalleryunionfilter.html#filters">filters</a></b> () const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qgalleryunionfilter.html#insert">insert</a></b> ( int <i>index</i>, const QGalleryMetaDataFilter &amp; <i>filter</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qgalleryunionfilter.html#insert-2">insert</a></b> ( int <i>index</i>, const QGalleryIntersectionFilter &amp; <i>filter</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qgalleryunionfilter.html#insert-3">insert</a></b> ( int <i>index</i>, const QGalleryUnionFilter &amp; <i>filter</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="qgalleryunionfilter.html#isEmpty">isEmpty</a></b> () const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="qgalleryunionfilter.html#isValid">isValid</a></b> () const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qgalleryunionfilter.html#prepend">prepend</a></b> ( const QGalleryMetaDataFilter &amp; <i>filter</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qgalleryunionfilter.html#prepend-2">prepend</a></b> ( const QGalleryIntersectionFilter &amp; <i>filter</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qgalleryunionfilter.html#prepend-3">prepend</a></b> ( const QGalleryUnionFilter &amp; <i>filter</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qgalleryunionfilter.html#remove">remove</a></b> ( int <i>index</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qgalleryunionfilter.html#replace">replace</a></b> ( int <i>index</i>, const QGalleryMetaDataFilter &amp; <i>filter</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qgalleryunionfilter.html#replace-2">replace</a></b> ( int <i>index</i>, const QGalleryIntersectionFilter &amp; <i>filter</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QGalleryUnionFilter &amp; </td><td class="memItemRight bottomAlign"><b><a href="qgalleryunionfilter.html#operator-lt-lt">operator&lt;&lt;</a></b> ( const QGalleryUnionFilter &amp; <i>filter</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QGalleryUnionFilter &amp; </td><td class="memItemRight bottomAlign"><b><a href="qgalleryunionfilter.html#operator-eq">operator=</a></b> ( const QGalleryUnionFilter &amp; <i>filter</i> )</td></tr>
</table>
<a name="related-non-members"></a>
<h2>Related Non-Members</h2>
<table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> QGalleryUnionFilter </td><td class="memItemRight bottomAlign"><b><a href="qgalleryunionfilter.html#operator-7c-7c">operator||</a></b> ( const QGalleryUnionFilter &amp; <i>filter1</i>, const QGalleryUnionFilter &amp; <i>filter2</i> )</td></tr>
</table>
<a name="details"></a>
<!-- $$$QGalleryUnionFilter-description -->
<div class="descr">
<h2>Detailed Description</h2>
<p>The QGalleryUnionFilter class provides a filter which matches the union of two or more meta-data filters.</p>
<p>A union filter represents the union of a list of gallery filters. Filters can be added to an union using either the <a href="qgalleryunionfilter.html#append">append</a>(), <a href="qgalleryunionfilter.html#prepend">prepend</a>(), or <a href="qgalleryunionfilter.html#insert">insert</a>() functions, or using the <a href="qgalleryunionfilter.html#operator-lt-lt">&lt;&lt; operator</a>.</p>
<p>Union filters can also combining two gallery filters with the &amp;&amp; operator.</p>
</div>
<p><b>See also </b><a href="qgalleryfilter.html">QGalleryFilter</a> and <a href="qgallerymetadatafilter.html">QGalleryMetaDataFilter</a>.</p>
<!-- @@@QGalleryUnionFilter -->
<div class="func">
<h2>Member Function Documentation</h2>
<!-- $$$QGalleryUnionFilter[overload1]$$$QGalleryUnionFilter -->
<h3 class="fn"><a name="QGalleryUnionFilter"></a>QGalleryUnionFilter::<span class="name">QGalleryUnionFilter</span> ()</h3>
<p>Constructs an empty union.</p>
<p>This function was introduced in Qt Mobility 1.1.</p>
<!-- @@@QGalleryUnionFilter -->
<!-- $$$QGalleryUnionFilter$$$QGalleryUnionFilterconstQGalleryMetaDataFilter& -->
<h3 class="fn"><a name="QGalleryUnionFilter-2"></a>QGalleryUnionFilter::<span class="name">QGalleryUnionFilter</span> ( const <span class="type"><a href="qgallerymetadatafilter.html">QGalleryMetaDataFilter</a></span> &amp; <i>filter</i> )</h3>
<p>Constructs a union filter from a meta data <i>filter</i>.</p>
<p>This function was introduced in Qt Mobility 1.1.</p>
<!-- @@@QGalleryUnionFilter -->
<!-- $$$QGalleryUnionFilter$$$QGalleryUnionFilterconstQGalleryIntersectionFilter& -->
<h3 class="fn"><a name="QGalleryUnionFilter-3"></a>QGalleryUnionFilter::<span class="name">QGalleryUnionFilter</span> ( const <span class="type"><a href="qgalleryintersectionfilter.html">QGalleryIntersectionFilter</a></span> &amp; <i>filter</i> )</h3>
<p>Constructs a union filter from an intersection <i>filter</i>.</p>
<p>This function was introduced in Qt Mobility 1.1.</p>
<!-- @@@QGalleryUnionFilter -->
<!-- $$$QGalleryUnionFilter$$$QGalleryUnionFilterconstQGalleryUnionFilter& -->
<h3 class="fn"><a name="QGalleryUnionFilter-4"></a>QGalleryUnionFilter::<span class="name">QGalleryUnionFilter</span> ( const <span class="type">QGalleryUnionFilter</span> &amp; <i>filter</i> )</h3>
<p>Constructs a copy of a union <i>filter</i>.</p>
<p>This function was introduced in Qt Mobility 1.1.</p>
<!-- @@@QGalleryUnionFilter -->
<!-- $$$~QGalleryUnionFilter[overload1]$$$~QGalleryUnionFilter -->
<h3 class="fn"><a name="dtor.QGalleryUnionFilter"></a>QGalleryUnionFilter::<span class="name">~QGalleryUnionFilter</span> ()</h3>
<p>Destroys a union filter.</p>
<!-- @@@~QGalleryUnionFilter -->
<!-- $$$append[overload1]$$$appendconstQGalleryMetaDataFilter& -->
<h3 class="fn"><a name="append"></a><span class="type">void</span> QGalleryUnionFilter::<span class="name">append</span> ( const <span class="type"><a href="qgallerymetadatafilter.html">QGalleryMetaDataFilter</a></span> &amp; <i>filter</i> )</h3>
<p>Appends a meta-data <i>filter</i> to a union.</p>
<p>This function was introduced in Qt Mobility 1.1.</p>
<!-- @@@append -->
<!-- $$$append$$$appendconstQGalleryIntersectionFilter& -->
<h3 class="fn"><a name="append-2"></a><span class="type">void</span> QGalleryUnionFilter::<span class="name">append</span> ( const <span class="type"><a href="qgalleryintersectionfilter.html">QGalleryIntersectionFilter</a></span> &amp; <i>filter</i> )</h3>
<p>Appends an intersection <i>filter</i> to a union.</p>
<p>This function was introduced in Qt Mobility 1.1.</p>
<!-- @@@append -->
<!-- $$$append$$$appendconstQGalleryUnionFilter& -->
<h3 class="fn"><a name="append-3"></a><span class="type">void</span> QGalleryUnionFilter::<span class="name">append</span> ( const <span class="type">QGalleryUnionFilter</span> &amp; <i>filter</i> )</h3>
<p>Appends the contents of a union <i>filter</i> to a union.</p>
<p>This function was introduced in Qt Mobility 1.1.</p>
<!-- @@@append -->
<!-- $$$clear[overload1]$$$clear -->
<h3 class="fn"><a name="clear"></a><span class="type">void</span> QGalleryUnionFilter::<span class="name">clear</span> ()</h3>
<p>Clears all the filters from a union.</p>
<p>This function was introduced in Qt Mobility 1.1.</p>
<!-- @@@clear -->
<!-- $$$filterCount[overload1]$$$filterCount -->
<h3 class="fn"><a name="filterCount"></a><span class="type">int</span> QGalleryUnionFilter::<span class="name">filterCount</span> () const</h3>
<p>Returns the number of filters in a union.</p>
<p>This function was introduced in Qt Mobility 1.1.</p>
<!-- @@@filterCount -->
<!-- $$$filters[overload1]$$$filters -->
<h3 class="fn"><a name="filters"></a><span class="type"><a href="http://qt.nokia.com/doc/4.7/qlist.html">QList</a></span>&lt;<span class="type"><a href="qgalleryfilter.html">QGalleryFilter</a></span>&gt; QGalleryUnionFilter::<span class="name">filters</span> () const</h3>
<p>Returns the filters contained in a union.</p>
<p>This function was introduced in Qt Mobility 1.1.</p>
<!-- @@@filters -->
<!-- $$$insert[overload1]$$$insertintconstQGalleryMetaDataFilter& -->
<h3 class="fn"><a name="insert"></a><span class="type">void</span> QGalleryUnionFilter::<span class="name">insert</span> ( <span class="type">int</span> <i>index</i>, const <span class="type"><a href="qgallerymetadatafilter.html">QGalleryMetaDataFilter</a></span> &amp; <i>filter</i> )</h3>
<p>Inserts a meta-data <i>filter</i> into a union at <i>index</i>.</p>
<p>This function was introduced in Qt Mobility 1.1.</p>
<!-- @@@insert -->
<!-- $$$insert$$$insertintconstQGalleryIntersectionFilter& -->
<h3 class="fn"><a name="insert-2"></a><span class="type">void</span> QGalleryUnionFilter::<span class="name">insert</span> ( <span class="type">int</span> <i>index</i>, const <span class="type"><a href="qgalleryintersectionfilter.html">QGalleryIntersectionFilter</a></span> &amp; <i>filter</i> )</h3>
<p>Inserts an intersection <i>filter</i> into a union at <i>index</i>.</p>
<p>This function was introduced in Qt Mobility 1.1.</p>
<!-- @@@insert -->
<!-- $$$insert$$$insertintconstQGalleryUnionFilter& -->
<h3 class="fn"><a name="insert-3"></a><span class="type">void</span> QGalleryUnionFilter::<span class="name">insert</span> ( <span class="type">int</span> <i>index</i>, const <span class="type">QGalleryUnionFilter</span> &amp; <i>filter</i> )</h3>
<p>Inserts the contents of a union <i>filter</i> into a union at <i>index</i>.</p>
<p>This function was introduced in Qt Mobility 1.1.</p>
<!-- @@@insert -->
<!-- $$$isEmpty[overload1]$$$isEmpty -->
<h3 class="fn"><a name="isEmpty"></a><span class="type">bool</span> QGalleryUnionFilter::<span class="name">isEmpty</span> () const</h3>
<p>Returns true if a union contains no filters, and false otherwise.</p>
<p>This function was introduced in Qt Mobility 1.1.</p>
<!-- @@@isEmpty -->
<!-- $$$isValid[overload1]$$$isValid -->
<h3 class="fn"><a name="isValid"></a><span class="type">bool</span> QGalleryUnionFilter::<span class="name">isValid</span> () const</h3>
<p>Returns true if the filter is a valid union filter.</p>
<p>An invalid filter can be obtained by casting a non <a href="qgalleryfilter.html#Type-enum">QGalleryFilter::Union</a> type <a href="qgalleryfilter.html">QGalleryFilter</a> to <a href="qgalleryunionfilter.html">QGalleryUnionFilter</a>.</p>
<p>This function was introduced in Qt Mobility 1.1.</p>
<!-- @@@isValid -->
<!-- $$$prepend[overload1]$$$prependconstQGalleryMetaDataFilter& -->
<h3 class="fn"><a name="prepend"></a><span class="type">void</span> QGalleryUnionFilter::<span class="name">prepend</span> ( const <span class="type"><a href="qgallerymetadatafilter.html">QGalleryMetaDataFilter</a></span> &amp; <i>filter</i> )</h3>
<p>Prepends a meta-data <i>filter</i> to a union.</p>
<p>This function was introduced in Qt Mobility 1.1.</p>
<!-- @@@prepend -->
<!-- $$$prepend$$$prependconstQGalleryIntersectionFilter& -->
<h3 class="fn"><a name="prepend-2"></a><span class="type">void</span> QGalleryUnionFilter::<span class="name">prepend</span> ( const <span class="type"><a href="qgalleryintersectionfilter.html">QGalleryIntersectionFilter</a></span> &amp; <i>filter</i> )</h3>
<p>Prepends an intersection <i>filter</i> to a union.</p>
<p>This function was introduced in Qt Mobility 1.1.</p>
<!-- @@@prepend -->
<!-- $$$prepend$$$prependconstQGalleryUnionFilter& -->
<h3 class="fn"><a name="prepend-3"></a><span class="type">void</span> QGalleryUnionFilter::<span class="name">prepend</span> ( const <span class="type">QGalleryUnionFilter</span> &amp; <i>filter</i> )</h3>
<p>Prepends the contents of a union <i>filter</i> to a union.</p>
<p>This function was introduced in Qt Mobility 1.1.</p>
<!-- @@@prepend -->
<!-- $$$remove[overload1]$$$removeint -->
<h3 class="fn"><a name="remove"></a><span class="type">void</span> QGalleryUnionFilter::<span class="name">remove</span> ( <span class="type">int</span> <i>index</i> )</h3>
<p>Removes the filter at <i>index</i> from a union.</p>
<p>This function was introduced in Qt Mobility 1.1.</p>
<!-- @@@remove -->
<!-- $$$replace[overload1]$$$replaceintconstQGalleryMetaDataFilter& -->
<h3 class="fn"><a name="replace"></a><span class="type">void</span> QGalleryUnionFilter::<span class="name">replace</span> ( <span class="type">int</span> <i>index</i>, const <span class="type"><a href="qgallerymetadatafilter.html">QGalleryMetaDataFilter</a></span> &amp; <i>filter</i> )</h3>
<p>Replaces the filter at <i>index</i> in a union with a meta-data <i>filter</i>.</p>
<p>This function was introduced in Qt Mobility 1.1.</p>
<!-- @@@replace -->
<!-- $$$replace$$$replaceintconstQGalleryIntersectionFilter& -->
<h3 class="fn"><a name="replace-2"></a><span class="type">void</span> QGalleryUnionFilter::<span class="name">replace</span> ( <span class="type">int</span> <i>index</i>, const <span class="type"><a href="qgalleryintersectionfilter.html">QGalleryIntersectionFilter</a></span> &amp; <i>filter</i> )</h3>
<p>Replaces the filter at <i>index</i> in a union with an intersetion <i>filter</i>.</p>
<p>This function was introduced in Qt Mobility 1.1.</p>
<!-- @@@replace -->
<!-- $$$operator<<[overload1]$$$operator<<constQGalleryUnionFilter& -->
<h3 class="fn"><a name="operator-lt-lt"></a><span class="type">QGalleryUnionFilter</span> &amp; QGalleryUnionFilter::<span class="name">operator&lt;&lt;</span> ( const <span class="type">QGalleryUnionFilter</span> &amp; <i>filter</i> )</h3>
<p>Appends a <i>filter</i> to a union.</p>
<p>This function was introduced in Qt Mobility 1.1.</p>
<!-- @@@operator<< -->
<!-- $$$operator=[overload1]$$$operator=constQGalleryUnionFilter& -->
<h3 class="fn"><a name="operator-eq"></a><span class="type">QGalleryUnionFilter</span> &amp; QGalleryUnionFilter::<span class="name">operator=</span> ( const <span class="type">QGalleryUnionFilter</span> &amp; <i>filter</i> )</h3>
<p>Assigns the value of <i>filter</i> to another union filter.</p>
<p>This function was introduced in Qt Mobility 1.1.</p>
<!-- @@@operator= -->
</div>
<div class="relnonmem">
<h2>Related Non-Members</h2>
<!-- $$$operator||[overload1]$$$operator||constQGalleryUnionFilter&constQGalleryUnionFilter& -->
<h3 class="fn"><a name="operator-7c-7c"></a><span class="type">QGalleryUnionFilter</span> <span class="name">operator||</span> ( const <span class="type">QGalleryUnionFilter</span> &amp; <i>filter1</i>, const <span class="type">QGalleryUnionFilter</span> &amp; <i>filter2</i> )</h3>
<p>Returns a gallery filter which matches the union of <i>filter1</i> and <i>filter2</i>.</p>
<p>This function was introduced in Qt Mobility 1.1.</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>