Sophie

Sophie

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

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" />
<!-- qmessageid.cpp -->
  <title>Qt Mobility 1.2: QMessageId 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="qtmessaging.html">QtMessaging</a></li>
<li>QMessageId</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">QMessageId Class Reference</h1>
<!-- $$$QMessageId-brief -->
<p>The QMessageId class provides a unique identifier for a <a href="qmessage.html">QMessage</a> message within the scope of the messaging store. <a href="#details">More...</a></p>
<!-- @@@QMessageId -->
<pre class="cpp"> <span class="preprocessor">#include &lt;QMessageId&gt;</span></pre><p>This class was introduced in Qt Mobility 1.0.</p>
<ul>
<li><a href="qmessageid-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="qmessageid.html#QMessageId">QMessageId</a></b> ()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qmessageid.html#QMessageId-2">QMessageId</a></b> ( const QMessageId &amp; <i>other</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qmessageid.html#QMessageId-3">QMessageId</a></b> ( const QString &amp; <i>id</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qmessageid.html#dtor.QMessageId">~QMessageId</a></b> ()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="qmessageid.html#isValid">isValid</a></b> () const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QString </td><td class="memItemRight bottomAlign"><b><a href="qmessageid.html#toString">toString</a></b> () const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="qmessageid.html#operator-lt">operator&lt;</a></b> ( const QMessageId &amp; <i>other</i> ) const</td></tr>
</table>
<a name="details"></a>
<!-- $$$QMessageId-description -->
<div class="descr">
<h2>Detailed Description</h2>
<p>The QMessageId class provides a unique identifier for a <a href="qmessage.html">QMessage</a> message within the scope of the messaging store.</p>
<p>A QMessageId can be constructed from a string, or converted to a string with <a href="qmessageid.html#toString">toString</a>().</p>
<p>A QMessageId instance can be tested for validity with <a href="qmessageid.html#isValid">isValid</a>(), and compared to other instances for equality.</p>
<p>If the message a QMessageId identifies is removed from the messaging store then the identifier will not be reused.</p>
<p>The QMessageId implementation should be as small as is practical for the underlying platform.</p>
</div>
<p><b>See also </b><a href="qmessage.html">QMessage</a> and <a href="qmessagemanager.html">QMessageManager</a>.</p>
<!-- @@@QMessageId -->
<div class="func">
<h2>Member Function Documentation</h2>
<!-- $$$QMessageId[overload1]$$$QMessageId -->
<h3 class="fn"><a name="QMessageId"></a>QMessageId::<span class="name">QMessageId</span> ()</h3>
<p>Creates an invalid identifier, <a href="qmessageid.html#toString">toString</a>() will return a null string.</p>
<!-- @@@QMessageId -->
<!-- $$$QMessageId$$$QMessageIdconstQMessageId& -->
<h3 class="fn"><a name="QMessageId-2"></a>QMessageId::<span class="name">QMessageId</span> ( const <span class="type">QMessageId</span> &amp; <i>other</i> )</h3>
<p>Constructs a copy of <i>other</i>.</p>
<p>This function was introduced in Qt Mobility 1.0.</p>
<!-- @@@QMessageId -->
<!-- $$$QMessageId$$$QMessageIdconstQString& -->
<h3 class="fn"><a name="QMessageId-3"></a>QMessageId::<span class="name">QMessageId</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>Constructs an identifier from <i>id</i>.</p>
<p>This function was introduced in Qt Mobility 1.0.</p>
<p><b>See also </b><a href="qmessageid.html#toString">toString</a>().</p>
<!-- @@@QMessageId -->
<!-- $$$~QMessageId[overload1]$$$~QMessageId -->
<h3 class="fn"><a name="dtor.QMessageId"></a>QMessageId::<span class="name">~QMessageId</span> ()</h3>
<p>Destroys the identifier.</p>
<!-- @@@~QMessageId -->
<!-- $$$isValid[overload1]$$$isValid -->
<h3 class="fn"><a name="isValid"></a><span class="type">bool</span> QMessageId::<span class="name">isValid</span> () const</h3>
<p>Returns true if this identifier is valid; otherwise returns false.</p>
<p>This function was introduced in Qt Mobility 1.0.</p>
<!-- @@@isValid -->
<!-- $$$toString[overload1]$$$toString -->
<h3 class="fn"><a name="toString"></a><span class="type"><a href="http://qt.nokia.com/doc/4.7/qstring.html">QString</a></span> QMessageId::<span class="name">toString</span> () const</h3>
<p>Returns the string representation of this identifier.</p>
<p>A null string should be returned if and only if the identifier is invalid.</p>
<p>String representations of identifiers should not be used to test for equality, instead the equality operator should be used.</p>
<p>This function was introduced in Qt Mobility 1.0.</p>
<!-- @@@toString -->
<!-- $$$operator<[overload1]$$$operator<constQMessageId& -->
<h3 class="fn"><a name="operator-lt"></a><span class="type">bool</span> QMessageId::<span class="name">operator&lt;</span> ( const <span class="type">QMessageId</span> &amp; <i>other</i> ) const</h3>
<p>Returns true if this identifier is ordered before <i>other</i> using an implementation-defined ordering.</p>
<p>This function was introduced in Qt Mobility 1.0.</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>