Sophie

Sophie

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

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" />
<!-- qlandmarkid.cpp -->
  <title>Qt Mobility 1.2: QLandmarkId 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>QLandmarkId</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">QLandmarkId Class Reference</h1>
<!-- $$$QLandmarkId-brief -->
<p>The QLandmarkId class provides a unique identifier for a landmark. <a href="#details">More...</a></p>
<!-- @@@QLandmarkId -->
<pre class="cpp"> <span class="preprocessor">#include &lt;QLandmarkId&gt;</span></pre><p>This class was introduced in Qt Mobility 1.1.</p>
<ul>
<li><a href="qlandmarkid-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="qlandmarkid.html#QLandmarkId">QLandmarkId</a></b> ()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qlandmarkid.html#QLandmarkId-2">QLandmarkId</a></b> ( const QLandmarkId &amp; <i>other</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qlandmarkid.html#dtor.QLandmarkId">~QLandmarkId</a></b> ()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="qlandmarkid.html#isValid">isValid</a></b> () const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QString </td><td class="memItemRight bottomAlign"><b><a href="qlandmarkid.html#localId">localId</a></b> () const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QString </td><td class="memItemRight bottomAlign"><b><a href="qlandmarkid.html#managerUri">managerUri</a></b> () const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qlandmarkid.html#setLocalId">setLocalId</a></b> ( const QString &amp; <i>id</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qlandmarkid.html#setManagerUri">setManagerUri</a></b> ( const QString &amp; <i>uri</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="qlandmarkid.html#operator-not-eq">operator!=</a></b> ( const QLandmarkId &amp; <i>other</i> ) const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QLandmarkId &amp; </td><td class="memItemRight bottomAlign"><b><a href="qlandmarkid.html#operator-eq">operator=</a></b> ( const QLandmarkId &amp; <i>other</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="qlandmarkid.html#operator-eq-eq">operator==</a></b> ( const QLandmarkId &amp; <i>other</i> ) const</td></tr>
</table>
<a name="details"></a>
<!-- $$$QLandmarkId-description -->
<div class="descr">
<h2>Detailed Description</h2>
<p>The QLandmarkId class provides a unique identifier for a landmark.</p>
<p>It consists of a manager URI which identifies the manager which contains the landmark, and a manager specific local id for that landmark.</p>
</div>
<!-- @@@QLandmarkId -->
<div class="func">
<h2>Member Function Documentation</h2>
<!-- $$$QLandmarkId[overload1]$$$QLandmarkId -->
<h3 class="fn"><a name="QLandmarkId"></a>QLandmarkId::<span class="name">QLandmarkId</span> ()</h3>
<p>Creates an invalid identifier.</p>
<p>The local id and manager uri are empty strings.</p>
<!-- @@@QLandmarkId -->
<!-- $$$QLandmarkId$$$QLandmarkIdconstQLandmarkId& -->
<h3 class="fn"><a name="QLandmarkId-2"></a>QLandmarkId::<span class="name">QLandmarkId</span> ( const <span class="type">QLandmarkId</span> &amp; <i>other</i> )</h3>
<p>Constructs a copy of <i>other</i>.</p>
<p>This function was introduced in Qt Mobility 1.1.</p>
<!-- @@@QLandmarkId -->
<!-- $$$~QLandmarkId[overload1]$$$~QLandmarkId -->
<h3 class="fn"><a name="dtor.QLandmarkId"></a>QLandmarkId::<span class="name">~QLandmarkId</span> ()</h3>
<p>Destroys the identifier.</p>
<!-- @@@~QLandmarkId -->
<!-- $$$isValid[overload1]$$$isValid -->
<h3 class="fn"><a name="isValid"></a><span class="type">bool</span> QLandmarkId::<span class="name">isValid</span> () const</h3>
<p>Returns true if the identifier is valid, meaning that both a manager URI and local id have been set.</p>
<p>This function was introduced in Qt Mobility 1.1.</p>
<!-- @@@isValid -->
<!-- $$$localId[overload1]$$$localId -->
<h3 class="fn"><a name="localId"></a><span class="type"><a href="http://qt.nokia.com/doc/4.7/qstring.html">QString</a></span> QLandmarkId::<span class="name">localId</span> () const</h3>
<p>Returns the local id of the landmark identifier.</p>
<p>This id is specific to a particular landmark manager.</p>
<p>This function was introduced in Qt Mobility 1.1.</p>
<p><b>See also </b><a href="qlandmarkid.html#setLocalId">setLocalId</a>().</p>
<!-- @@@localId -->
<!-- $$$managerUri[overload1]$$$managerUri -->
<h3 class="fn"><a name="managerUri"></a><span class="type"><a href="http://qt.nokia.com/doc/4.7/qstring.html">QString</a></span> QLandmarkId::<span class="name">managerUri</span> () const</h3>
<p>Returns the URI of the manager which this landmark identifer belongs to.</p>
<p>This function was introduced in Qt Mobility 1.1.</p>
<p><b>See also </b><a href="qlandmarkid.html#setManagerUri">setManagerUri</a>().</p>
<!-- @@@managerUri -->
<!-- $$$setLocalId[overload1]$$$setLocalIdconstQString& -->
<h3 class="fn"><a name="setLocalId"></a><span class="type">void</span> QLandmarkId::<span class="name">setLocalId</span> ( const <span class="type"><a href="http://qt.nokia.com/doc/4.7/qstring.html">QString</a></span> &amp; <i>id</i> )</h3>
<p>Sets the local <i>id</i> of the landmark identifier.</p>
<p>This function was introduced in Qt Mobility 1.1.</p>
<p><b>See also </b><a href="qlandmarkid.html#localId">localId</a>().</p>
<!-- @@@setLocalId -->
<!-- $$$setManagerUri[overload1]$$$setManagerUriconstQString& -->
<h3 class="fn"><a name="setManagerUri"></a><span class="type">void</span> QLandmarkId::<span class="name">setManagerUri</span> ( const <span class="type"><a href="http://qt.nokia.com/doc/4.7/qstring.html">QString</a></span> &amp; <i>uri</i> )</h3>
<p>Sets the manager <i>uri</i> which this landmark identifier belongs to.</p>
<p>This function was introduced in Qt Mobility 1.1.</p>
<p><b>See also </b><a href="qlandmarkid.html#managerUri">managerUri</a>().</p>
<!-- @@@setManagerUri -->
<!-- $$$operator!=[overload1]$$$operator!=constQLandmarkId& -->
<h3 class="fn"><a name="operator-not-eq"></a><span class="type">bool</span> QLandmarkId::<span class="name">operator!=</span> ( const <span class="type">QLandmarkId</span> &amp; <i>other</i> ) const</h3>
<p>Returns true if this landmark identifier is not equal to <i>other</i>, otherwise returns false.</p>
<p>If either the manager URIs or local ids differ, then the QLandmarkIds are not considered equal.</p>
<p>This function was introduced in Qt Mobility 1.1.</p>
<p><b>See also </b><a href="qlandmarkid.html#operator-eq-eq">operator==</a>().</p>
<!-- @@@operator!= -->
<!-- $$$operator=[overload1]$$$operator=constQLandmarkId& -->
<h3 class="fn"><a name="operator-eq"></a><span class="type">QLandmarkId</span> &amp; QLandmarkId::<span class="name">operator=</span> ( const <span class="type">QLandmarkId</span> &amp; <i>other</i> )</h3>
<p>Assigns <i>other</i> to this landmark identifier and returns a reference to this landmark identifier.</p>
<p>This function was introduced in Qt Mobility 1.1.</p>
<!-- @@@operator= -->
<!-- $$$operator==[overload1]$$$operator==constQLandmarkId& -->
<h3 class="fn"><a name="operator-eq-eq"></a><span class="type">bool</span> QLandmarkId::<span class="name">operator==</span> ( const <span class="type">QLandmarkId</span> &amp; <i>other</i> ) const</h3>
<p>Returns true if this landmark identifer is equal to <i>other</i>, otherwise returns false.</p>
<p>Two QLandmarkIds are considered equal if both have the same manager URI and local id.</p>
<p>This function was introduced in Qt Mobility 1.1.</p>
<p><b>See also </b><a href="qlandmarkid.html#operator-not-eq">operator!=</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>