Sophie

Sophie

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

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" />
<!-- qlandmarkcategoryremoverequest.cpp -->
  <title>Qt Mobility 1.2: QLandmarkCategoryRemoveRequest 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>QLandmarkCategoryRemoveRequest</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">QLandmarkCategoryRemoveRequest Class Reference</h1>
<!-- $$$QLandmarkCategoryRemoveRequest-brief -->
<p>The QLandmarkCategoryRemoveRequest class allows a client to asynchronously request that certain categories be removed from a landmark manager. <a href="#details">More...</a></p>
<!-- @@@QLandmarkCategoryRemoveRequest -->
<pre class="cpp"> <span class="preprocessor">#include &lt;QLandmarkCategoryRemoveRequest&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="qlandmarkcategoryremoverequest-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="qlandmarkcategoryremoverequest.html#QLandmarkCategoryRemoveRequest">QLandmarkCategoryRemoveRequest</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="qlandmarkcategoryremoverequest.html#dtor.QLandmarkCategoryRemoveRequest">~QLandmarkCategoryRemoveRequest</a></b> ()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QList&lt;QLandmarkCategoryId&gt; </td><td class="memItemRight bottomAlign"><b><a href="qlandmarkcategoryremoverequest.html#categoryIds">categoryIds</a></b> () const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QMap&lt;int, QLandmarkManager::Error&gt; </td><td class="memItemRight bottomAlign"><b><a href="qlandmarkcategoryremoverequest.html#errorMap">errorMap</a></b> () const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qlandmarkcategoryremoverequest.html#setCategories">setCategories</a></b> ( const QList&lt;QLandmarkCategory&gt; &amp; <i>categories</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qlandmarkcategoryremoverequest.html#setCategory">setCategory</a></b> ( const QLandmarkCategory &amp; <i>category</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qlandmarkcategoryremoverequest.html#setCategoryId">setCategoryId</a></b> ( const QLandmarkCategoryId &amp; <i>categoryId</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qlandmarkcategoryremoverequest.html#setCategoryIds">setCategoryIds</a></b> ( const QList&lt;QLandmarkCategoryId&gt; &amp; <i>categoryIds</i> )</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>
<!-- $$$QLandmarkCategoryRemoveRequest-description -->
<div class="descr">
<h2>Detailed Description</h2>
<p>The QLandmarkCategoryRemoveRequest class allows a client to asynchronously request that certain categories be removed from a landmark manager.</p>
<p>For a QLandmarkCategoryRemoveRequest, the <a href="qlandmarkabstractrequest.html#resultsAvailable">resultsAvailable</a>() signal will be emitted when either an individual items error out (individaul errors may be retrieved by calling <a href="qlandmarkcategoryremoverequest.html#errorMap">errorMap</a>()) or an overall operation error occurs(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>
<!-- @@@QLandmarkCategoryRemoveRequest -->
<div class="func">
<h2>Member Function Documentation</h2>
<!-- $$$QLandmarkCategoryRemoveRequest[overload1]$$$QLandmarkCategoryRemoveRequestQLandmarkManager*QObject* -->
<h3 class="fn"><a name="QLandmarkCategoryRemoveRequest"></a>QLandmarkCategoryRemoveRequest::<span class="name">QLandmarkCategoryRemoveRequest</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>Constructs a category remove request with the given <i>manager</i> and <i>parent</i>.</p>
<!-- @@@QLandmarkCategoryRemoveRequest -->
<!-- $$$~QLandmarkCategoryRemoveRequest[overload1]$$$~QLandmarkCategoryRemoveRequest -->
<h3 class="fn"><a name="dtor.QLandmarkCategoryRemoveRequest"></a>QLandmarkCategoryRemoveRequest::<span class="name">~QLandmarkCategoryRemoveRequest</span> ()</h3>
<p>Destroys the request object.</p>
<!-- @@@~QLandmarkCategoryRemoveRequest -->
<!-- $$$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; QLandmarkCategoryRemoveRequest::<span class="name">categoryIds</span> () const</h3>
<p>Returns the list of identifiers of categories which will be removed.</p>
<p>This function was introduced in Qt Mobility 1.1.</p>
<p><b>See also </b><a href="qlandmarkcategoryremoverequest.html#setCategoryIds">setCategoryIds</a>().</p>
<!-- @@@categoryIds -->
<!-- $$$errorMap[overload1]$$$errorMap -->
<h3 class="fn"><a name="errorMap"></a><span class="type"><a href="http://qt.nokia.com/doc/4.7/qmap.html">QMap</a></span>&lt;<span class="type">int</span>, <span class="type"><a href="qlandmarkmanager.html#Error-enum">QLandmarkManager::Error</a></span>&gt; QLandmarkCategoryRemoveRequest::<span class="name">errorMap</span> () const</h3>
<p>Returns the mapping of input category ID list indices to the errors which occurred.</p>
<p>This function was introduced in Qt Mobility 1.1.</p>
<!-- @@@errorMap -->
<!-- $$$setCategories[overload1]$$$setCategoriesconstQList<QLandmarkCategory>& -->
<h3 class="fn"><a name="setCategories"></a><span class="type">void</span> QLandmarkCategoryRemoveRequest::<span class="name">setCategories</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="qlandmarkcategory.html">QLandmarkCategory</a></span>&gt; &amp; <i>categories</i> )</h3>
<p>Convenience function to set the list of <i>categories</i> which will be removed. This function effectively calls <a href="qlandmarkcategoryremoverequest.html#setCategoryIds">setCategoryIds</a>() with the IDs of the <i>categories</i>.</p>
<p>This function was introduced in Qt Mobility 1.1.</p>
<p><b>See also </b><a href="qlandmarkcategoryremoverequest.html#setCategory">setCategory</a>() and <a href="qlandmarkcategoryremoverequest.html#setCategoryIds">setCategoryIds</a>().</p>
<!-- @@@setCategories -->
<!-- $$$setCategory[overload1]$$$setCategoryconstQLandmarkCategory& -->
<h3 class="fn"><a name="setCategory"></a><span class="type">void</span> QLandmarkCategoryRemoveRequest::<span class="name">setCategory</span> ( const <span class="type"><a href="qlandmarkcategory.html">QLandmarkCategory</a></span> &amp; <i>category</i> )</h3>
<p>Convenience function that sets a single <i>category</i> to be removed. This function effectively calls <a href="qlandmarkcategoryremoverequest.html#setCategoryIds">setCategoryIds</a>() with the ID of <i>category</i>.</p>
<p>This function was introduced in Qt Mobility 1.1.</p>
<p><b>See also </b><a href="qlandmarkcategoryremoverequest.html#setCategories">setCategories</a>() and <a href="qlandmarkcategoryremoverequest.html#setCategoryId">setCategoryId</a>().</p>
<!-- @@@setCategory -->
<!-- $$$setCategoryId[overload1]$$$setCategoryIdconstQLandmarkCategoryId& -->
<h3 class="fn"><a name="setCategoryId"></a><span class="type">void</span> QLandmarkCategoryRemoveRequest::<span class="name">setCategoryId</span> ( const <span class="type"><a href="qlandmarkcategoryid.html">QLandmarkCategoryId</a></span> &amp; <i>categoryId</i> )</h3>
<p>Convenience function to set the <i>categoryId</i> of a single category to be removed. It is the equivalent of calling <a href="qlandmarkcategoryremoverequest.html#setCategoryIds">setCategoryIds</a>() with a single <i>categoryId</i> in the ID list.</p>
<p>This function was introduced in Qt Mobility 1.1.</p>
<p><b>See also </b><a href="qlandmarkcategoryremoverequest.html#setCategory">setCategory</a>() and <a href="qlandmarkcategoryremoverequest.html#setCategoryIds">setCategoryIds</a>().</p>
<!-- @@@setCategoryId -->
<!-- $$$setCategoryIds[overload1]$$$setCategoryIdsconstQList<QLandmarkCategoryId>& -->
<h3 class="fn"><a name="setCategoryIds"></a><span class="type">void</span> QLandmarkCategoryRemoveRequest::<span class="name">setCategoryIds</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="qlandmarkcategoryid.html">QLandmarkCategoryId</a></span>&gt; &amp; <i>categoryIds</i> )</h3>
<p>Sets the list of <i>categoryIds</i> of categories which will be removed.</p>
<p>This function was introduced in Qt Mobility 1.1.</p>
<p><b>See also </b><a href="qlandmarkcategoryremoverequest.html#categoryIds">categoryIds</a>(), <a href="qlandmarkcategoryremoverequest.html#setCategories">setCategories</a>(), and <a href="qlandmarkcategoryremoverequest.html#setCategoryId">setCategoryId</a>().</p>
<!-- @@@setCategoryIds -->
</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>