<?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" /> <!-- qlandmarkidfilter.cpp --> <title>Qt Mobility 1.2: QLandmarkIdFilter 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="qtlocation.html">QtLocation</a></li> <li>QLandmarkIdFilter</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">QLandmarkIdFilter Class Reference</h1> <!-- $$$QLandmarkIdFilter-brief --> <p>The QLandmarkIdFilter class is used to search for landmarks based on a list of landmark identifiers. <a href="#details">More...</a></p> <!-- @@@QLandmarkIdFilter --> <pre class="cpp"> <span class="preprocessor">#include <QLandmarkIdFilter></span></pre><p><b>Inherits: </b><a href="qlandmarkfilter.html">QLandmarkFilter</a>.</p> <p>This class was introduced in Qt Mobility 1.1.</p> <ul> <li><a href="qlandmarkidfilter-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="qlandmarkidfilter.html#QLandmarkIdFilter">QLandmarkIdFilter</a></b> ( const QList<QLandmarkId> & <i>ids</i> = QList<QLandmarkId> () )</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qlandmarkidfilter.html#QLandmarkIdFilter-2">QLandmarkIdFilter</a></b> ( const QLandmarkFilter & <i>other</i> )</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> virtual </td><td class="memItemRight bottomAlign"><b><a href="qlandmarkidfilter.html#dtor.QLandmarkIdFilter">~QLandmarkIdFilter</a></b> ()</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qlandmarkidfilter.html#append">append</a></b> ( const QLandmarkId & <i>id</i> )</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qlandmarkidfilter.html#clear">clear</a></b> ()</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> QList<QLandmarkId> </td><td class="memItemRight bottomAlign"><b><a href="qlandmarkidfilter.html#landmarkIds">landmarkIds</a></b> () const</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qlandmarkidfilter.html#remove">remove</a></b> ( const QLandmarkId & <i>id</i> )</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qlandmarkidfilter.html#setLandmarkIds">setLandmarkIds</a></b> ( const QList<QLandmarkId> & <i>ids</i> )</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> QLandmarkIdFilter & </td><td class="memItemRight bottomAlign"><b><a href="qlandmarkidfilter.html#operator-lt-lt">operator<<</a></b> ( const QLandmarkId & <i>id</i> )</td></tr> </table> <ul> <li class="fn">4 public functions inherited from <a href="qlandmarkfilter.html#public-functions">QLandmarkFilter</a></li> </ul> <a name="details"></a> <!-- $$$QLandmarkIdFilter-description --> <div class="descr"> <h2>Detailed Description</h2> <p>The QLandmarkIdFilter class is used to search for landmarks based on a list of landmark identifiers.</p> </div> <!-- @@@QLandmarkIdFilter --> <div class="func"> <h2>Member Function Documentation</h2> <!-- $$$QLandmarkIdFilter[overload1]$$$QLandmarkIdFilterconstQList<QLandmarkId>& --> <h3 class="fn"><a name="QLandmarkIdFilter"></a>QLandmarkIdFilter::<span class="name">QLandmarkIdFilter</span> ( const <span class="type"><a href="http://qt.nokia.com/doc/4.7/qlist.html">QList</a></span><<span class="type"><a href="qlandmarkid.html">QLandmarkId</a></span>> & <i>ids</i> = QList<QLandmarkId> () )</h3> <p>Creates a filter that selects landmarks using a list of landmark <i>ids</i>.</p> <p>This function was introduced in Qt Mobility 1.1.</p> <!-- @@@QLandmarkIdFilter --> <!-- $$$QLandmarkIdFilter$$$QLandmarkIdFilterconstQLandmarkFilter& --> <h3 class="fn"><a name="QLandmarkIdFilter-2"></a>QLandmarkIdFilter::<span class="name">QLandmarkIdFilter</span> ( const <span class="type"><a href="qlandmarkfilter.html">QLandmarkFilter</a></span> & <i>other</i> )</h3> <p>Constructs a copy of <i>other</i> if possible, otherwise constructs a new id filter.</p> <p>This function was introduced in Qt Mobility 1.1.</p> <!-- @@@QLandmarkIdFilter --> <!-- $$$~QLandmarkIdFilter[overload1]$$$~QLandmarkIdFilter --> <h3 class="fn"><a name="dtor.QLandmarkIdFilter"></a>QLandmarkIdFilter::<span class="name">~QLandmarkIdFilter</span> ()<tt> [virtual]</tt></h3> <p>Destroys the filter.</p> <!-- @@@~QLandmarkIdFilter --> <!-- $$$append[overload1]$$$appendconstQLandmarkId& --> <h3 class="fn"><a name="append"></a><span class="type">void</span> QLandmarkIdFilter::<span class="name">append</span> ( const <span class="type"><a href="qlandmarkid.html">QLandmarkId</a></span> & <i>id</i> )</h3> <p>Adds <i>id</i> to the list of landmark ids this filter searches for.</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> QLandmarkIdFilter::<span class="name">clear</span> ()</h3> <p>Removes all identifiers from the filter.</p> <p>This function was introduced in Qt Mobility 1.1.</p> <!-- @@@clear --> <!-- $$$landmarkIds[overload1]$$$landmarkIds --> <h3 class="fn"><a name="landmarkIds"></a><span class="type"><a href="http://qt.nokia.com/doc/4.7/qlist.html">QList</a></span><<span class="type"><a href="qlandmarkid.html">QLandmarkId</a></span>> QLandmarkIdFilter::<span class="name">landmarkIds</span> () const</h3> <p>Returns the list of landmark identifiers that the filter will use to determine matches.</p> <p>This function was introduced in Qt Mobility 1.1.</p> <p><b>See also </b><a href="qlandmarkidfilter.html#setLandmarkIds">setLandmarkIds</a>().</p> <!-- @@@landmarkIds --> <!-- $$$remove[overload1]$$$removeconstQLandmarkId& --> <h3 class="fn"><a name="remove"></a><span class="type">void</span> QLandmarkIdFilter::<span class="name">remove</span> ( const <span class="type"><a href="qlandmarkid.html">QLandmarkId</a></span> & <i>id</i> )</h3> <p>Removes <i>id</i> to the list of landmark ids this filter searches for.</p> <p>This function was introduced in Qt Mobility 1.1.</p> <!-- @@@remove --> <!-- $$$setLandmarkIds[overload1]$$$setLandmarkIdsconstQList<QLandmarkId>& --> <h3 class="fn"><a name="setLandmarkIds"></a><span class="type">void</span> QLandmarkIdFilter::<span class="name">setLandmarkIds</span> ( const <span class="type"><a href="http://qt.nokia.com/doc/4.7/qlist.html">QList</a></span><<span class="type"><a href="qlandmarkid.html">QLandmarkId</a></span>> & <i>ids</i> )</h3> <p>Sets the <i>ids</i> that the filter will use to determine matches.</p> <p>This function was introduced in Qt Mobility 1.1.</p> <p><b>See also </b><a href="qlandmarkidfilter.html#landmarkIds">landmarkIds</a>().</p> <!-- @@@setLandmarkIds --> <!-- $$$operator<<[overload1]$$$operator<<constQLandmarkId& --> <h3 class="fn"><a name="operator-lt-lt"></a><span class="type">QLandmarkIdFilter</span> & QLandmarkIdFilter::<span class="name">operator<<</span> ( const <span class="type"><a href="qlandmarkid.html">QLandmarkId</a></span> & <i>id</i> )</h3> <p>Appends the given <i>id</i> to the list of landmark identifiers this filter searches for.</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">©</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>