Sophie

Sophie

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

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" />
<!-- qlandmarkcategoryidfetchrequest.cpp -->
  <title>Qt Mobility 1.2: QLandmarkCategoryIdFetchRequest 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>QLandmarkCategoryIdFetchRequest</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">QLandmarkCategoryIdFetchRequest Class Reference</h1>
<!-- $$$QLandmarkCategoryIdFetchRequest-brief -->
<p>The QLandmarkCategoryIdFetchRequest class allows a client to asynchronously request a list of category identifiers from a landmark manager. <a href="#details">More...</a></p>
<!-- @@@QLandmarkCategoryIdFetchRequest -->
<pre class="cpp"> <span class="preprocessor">#include &lt;QLandmarkCategoryIdFetchRequest&gt;</span></pre><p><b>Inherits: </b><a href="qlandmarkabstractrequest.html">QLandmarkAbstractRequest</a>.</p>
<p>This class was introduced in Qt Mobility 1.1.</p>
<ul>
<li><a href="qlandmarkcategoryidfetchrequest-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="qlandmarkcategoryidfetchrequest.html#QLandmarkCategoryIdFetchRequest">QLandmarkCategoryIdFetchRequest</a></b> ( QLandmarkManager * <i>manager</i>, QObject * <i>parent</i> = 0 )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qlandmarkcategoryidfetchrequest.html#dtor.QLandmarkCategoryIdFetchRequest">~QLandmarkCategoryIdFetchRequest</a></b> ()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QList&lt;QLandmarkCategoryId&gt; </td><td class="memItemRight bottomAlign"><b><a href="qlandmarkcategoryidfetchrequest.html#categoryIds">categoryIds</a></b> () const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> int </td><td class="memItemRight bottomAlign"><b><a href="qlandmarkcategoryidfetchrequest.html#limit">limit</a></b> () const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> int </td><td class="memItemRight bottomAlign"><b><a href="qlandmarkcategoryidfetchrequest.html#offset">offset</a></b> () const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qlandmarkcategoryidfetchrequest.html#setLimit">setLimit</a></b> ( int <i>limit</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qlandmarkcategoryidfetchrequest.html#setOffset">setOffset</a></b> ( int <i>offset</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qlandmarkcategoryidfetchrequest.html#setSorting">setSorting</a></b> ( const QLandmarkNameSort &amp; <i>nameSort</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QLandmarkNameSort </td><td class="memItemRight bottomAlign"><b><a href="qlandmarkcategoryidfetchrequest.html#sorting">sorting</a></b> () const</td></tr>
</table>
<ul>
<li class="fn">9 public functions inherited from <a href="qlandmarkabstractrequest.html#public-functions">QLandmarkAbstractRequest</a></li>
<li class="fn">29 public functions inherited from <a href="http://qt.nokia.com/doc/4.7/qobject.html#public-functions">QObject</a></li>
</ul>
<h3>Additional Inherited Members</h3>
<ul>
<li class="fn">1 property inherited from <a href="http://qt.nokia.com/doc/4.7/qobject.html#properties">QObject</a></li>
<li class="fn">3 public slots inherited from <a href="qlandmarkabstractrequest.html#public-slots">QLandmarkAbstractRequest</a></li>
<li class="fn">1 public slot inherited from <a href="http://qt.nokia.com/doc/4.7/qobject.html#public-slots">QObject</a></li>
<li class="fn">2 signals inherited from <a href="qlandmarkabstractrequest.html#signals">QLandmarkAbstractRequest</a></li>
<li class="fn">1 signal inherited from <a href="http://qt.nokia.com/doc/4.7/qobject.html#signals">QObject</a></li>
<li class="fn">1 public variable inherited from <a href="http://qt.nokia.com/doc/4.7/qobject.html#public-variables">QObject</a></li>
<li class="fn">4 static public members inherited from <a href="http://qt.nokia.com/doc/4.7/qobject.html#static-public-members">QObject</a></li>
<li class="fn">7 protected functions inherited from <a href="http://qt.nokia.com/doc/4.7/qobject.html#protected-functions">QObject</a></li>
<li class="fn">2 protected variables inherited from <a href="http://qt.nokia.com/doc/4.7/qobject.html#protected-variables">QObject</a></li>
</ul>
<a name="details"></a>
<!-- $$$QLandmarkCategoryIdFetchRequest-description -->
<div class="descr">
<h2>Detailed Description</h2>
<p>The QLandmarkCategoryIdFetchRequest class allows a client to asynchronously request a list of category identifiers from a landmark manager.</p>
<p>For a QLandmarkCategoryIdFetchRequest, the <a href="qlandmarkabstractrequest.html#resultsAvailable">resultsAvailable</a>() signal will be emitted as resultant category identifiers are found (these are retrievable by calling <a href="qlandmarkcategoryidfetchrequest.html#categoryIds">categoryIds</a>()), as well as if an overall operation error occurred(which may be retrieved by calling <a href="qlandmarkabstractrequest.html#error">QLandmarkAbstractRequest::error</a>()).</p>
<p>Please see the class documentation for <a href="qlandmarkabstractrequest.html">QLandmarkAbstractRequest</a> for more information about the usage of request classes and ownership semantics.</p>
</div>
<!-- @@@QLandmarkCategoryIdFetchRequest -->
<div class="func">
<h2>Member Function Documentation</h2>
<!-- $$$QLandmarkCategoryIdFetchRequest[overload1]$$$QLandmarkCategoryIdFetchRequestQLandmarkManager*QObject* -->
<h3 class="fn"><a name="QLandmarkCategoryIdFetchRequest"></a>QLandmarkCategoryIdFetchRequest::<span class="name">QLandmarkCategoryIdFetchRequest</span> ( <span class="type"><a href="qlandmarkmanager.html">QLandmarkManager</a></span> * <i>manager</i>, <span class="type"><a href="http://qt.nokia.com/doc/4.7/qobject.html">QObject</a></span> * <i>parent</i> = 0 )</h3>
<p>Creates a new category identifier fetch request object with the given <i>manager</i> aand <i>parent</i>.</p>
<!-- @@@QLandmarkCategoryIdFetchRequest -->
<!-- $$$~QLandmarkCategoryIdFetchRequest[overload1]$$$~QLandmarkCategoryIdFetchRequest -->
<h3 class="fn"><a name="dtor.QLandmarkCategoryIdFetchRequest"></a>QLandmarkCategoryIdFetchRequest::<span class="name">~QLandmarkCategoryIdFetchRequest</span> ()</h3>
<p>Destroys the request object.</p>
<!-- @@@~QLandmarkCategoryIdFetchRequest -->
<!-- $$$categoryIds[overload1]$$$categoryIds -->
<h3 class="fn"><a name="categoryIds"></a><span class="type"><a href="http://qt.nokia.com/doc/4.7/qlist.html">QList</a></span>&lt;<span class="type"><a href="qlandmarkcategoryid.html">QLandmarkCategoryId</a></span>&gt; QLandmarkCategoryIdFetchRequest::<span class="name">categoryIds</span> () const</h3>
<p>Returns the list of category identifiers that have been found during the request.</p>
<p>This function was introduced in Qt Mobility 1.1.</p>
<!-- @@@categoryIds -->
<!-- $$$limit[overload1]$$$limit -->
<h3 class="fn"><a name="limit"></a><span class="type">int</span> QLandmarkCategoryIdFetchRequest::<span class="name">limit</span> () const</h3>
<p>Returns the maximum number of category IDs to be returned. By default the limit is set to -1 indicating that IDs of all categories should be retrieved.</p>
<p>This function was introduced in Qt Mobility 1.1.</p>
<p><b>See also </b><a href="qlandmarkcategoryidfetchrequest.html#setLimit">setLimit</a>().</p>
<!-- @@@limit -->
<!-- $$$offset[overload1]$$$offset -->
<h3 class="fn"><a name="offset"></a><span class="type">int</span> QLandmarkCategoryIdFetchRequest::<span class="name">offset</span> () const</h3>
<p>Returns the index offset for the request. By default the offset is set to 0. The offset determines the first index which is retrieved. it is generally used in conjunction with <a href="qlandmarkcategoryidfetchrequest.html#limit">limit</a>() to facilitate paging.</p>
<p>For example, if there are 10 categories in the landmark store, setting the offset to 2 and limit to 5 will retrieve the 3rd to 7th category ids inclusively. (The order of category ids is specified by the sorting field).</p>
<p>This function was introduced in Qt Mobility 1.1.</p>
<p><b>See also </b><a href="qlandmarkcategoryidfetchrequest.html#setOffset">setOffset</a>().</p>
<!-- @@@offset -->
<!-- $$$setLimit[overload1]$$$setLimitint -->
<h3 class="fn"><a name="setLimit"></a><span class="type">void</span> QLandmarkCategoryIdFetchRequest::<span class="name">setLimit</span> ( <span class="type">int</span> <i>limit</i> )</h3>
<p>Sets the maximum number of category IDs to be returned to <i>limit</i>.</p>
<p>A limit of -1 indicates that IDs of all categories are to be retrieved.</p>
<p>(A limit of 0 will retrieve no categories.)</p>
<p>This function was introduced in Qt Mobility 1.1.</p>
<p><b>See also </b><a href="qlandmarkcategoryidfetchrequest.html#limit">limit</a>().</p>
<!-- @@@setLimit -->
<!-- $$$setOffset[overload1]$$$setOffsetint -->
<h3 class="fn"><a name="setOffset"></a><span class="type">void</span> QLandmarkCategoryIdFetchRequest::<span class="name">setOffset</span> ( <span class="type">int</span> <i>offset</i> )</h3>
<p>Sets the index <i>offset</i> for the request.</p>
<p>This function was introduced in Qt Mobility 1.1.</p>
<p><b>See also </b><a href="qlandmarkcategoryidfetchrequest.html#offset">offset</a>().</p>
<!-- @@@setOffset -->
<!-- $$$setSorting[overload1]$$$setSortingconstQLandmarkNameSort& -->
<h3 class="fn"><a name="setSorting"></a><span class="type">void</span> QLandmarkCategoryIdFetchRequest::<span class="name">setSorting</span> ( const <span class="type"><a href="qlandmarknamesort.html">QLandmarkNameSort</a></span> &amp; <i>nameSort</i> )</h3>
<p>Sets <i>nameSort</i> to specify the sorting of the returned category ids.</p>
<p>This function was introduced in Qt Mobility 1.1.</p>
<p><b>See also </b><a href="qlandmarkcategoryidfetchrequest.html#sorting">sorting</a>().</p>
<!-- @@@setSorting -->
<!-- $$$sorting[overload1]$$$sorting -->
<h3 class="fn"><a name="sorting"></a><span class="type"><a href="qlandmarknamesort.html">QLandmarkNameSort</a></span> QLandmarkCategoryIdFetchRequest::<span class="name">sorting</span> () const</h3>
<p>Returns the sorting of the categories. By default the sorting is case insensitive and in ascending order according to the category name.</p>
<p>This function was introduced in Qt Mobility 1.1.</p>
<p><b>See also </b><a href="qlandmarkcategoryidfetchrequest.html#setSorting">setSorting</a>().</p>
<!-- @@@sorting -->
</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>