Sophie

Sophie

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

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" />
<!-- qmessageaccount.cpp -->
  <title>Qt Mobility 1.2: QMessageAccount 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>QMessageAccount</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="#static-public-members">Static Public Members</a></li>
<li class="level1"><a href="#details">Detailed Description</a></li>
</ul>
</div>
<h1 class="title">QMessageAccount Class Reference</h1>
<!-- $$$QMessageAccount-brief -->
<p>The QMessageAccount class represents a messaging account in the messaging store. <a href="#details">More...</a></p>
<!-- @@@QMessageAccount -->
<pre class="cpp"> <span class="preprocessor">#include &lt;QMessageAccount&gt;</span></pre><p>This class was introduced in Qt Mobility 1.0.</p>
<ul>
<li><a href="qmessageaccount-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="qmessageaccount.html#QMessageAccount">QMessageAccount</a></b> ()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qmessageaccount.html#QMessageAccount-2">QMessageAccount</a></b> ( const QMessageAccountId &amp; <i>id</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qmessageaccount.html#QMessageAccount-3">QMessageAccount</a></b> ( const QMessageAccount &amp; <i>other</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual </td><td class="memItemRight bottomAlign"><b><a href="qmessageaccount.html#dtor.QMessageAccount">~QMessageAccount</a></b> ()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QMessageAccountId </td><td class="memItemRight bottomAlign"><b><a href="qmessageaccount.html#id">id</a></b> () const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QMessage::TypeFlags </td><td class="memItemRight bottomAlign"><b><a href="qmessageaccount.html#messageTypes">messageTypes</a></b> () const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QString </td><td class="memItemRight bottomAlign"><b><a href="qmessageaccount.html#name">name</a></b> () const</td></tr>
</table>
<a name="static-public-members"></a>
<h2>Static Public Members</h2>
<table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> QMessageAccountId </td><td class="memItemRight bottomAlign"><b><a href="qmessageaccount.html#defaultAccount">defaultAccount</a></b> ( QMessage::Type <i>type</i> )</td></tr>
</table>
<a name="details"></a>
<!-- $$$QMessageAccount-description -->
<div class="descr">
<h2>Detailed Description</h2>
<p>The QMessageAccount class represents a messaging account in the messaging store.</p>
<p>A QMessageAccount is a logical entity that groups messages according to the method by which they are sent and received. An account may either transmit messages receive messages or both.</p>
<p>The QMessageAccount class is used for accessing properties of the account related to dealing with the account's folders and messages, rather than for modifying the account itself.</p>
</div>
<p><b>See also </b><a href="qmessagemanager.html#account">QMessageManager::account</a>().</p>
<!-- @@@QMessageAccount -->
<div class="func">
<h2>Member Function Documentation</h2>
<!-- $$$QMessageAccount[overload1]$$$QMessageAccount -->
<h3 class="fn"><a name="QMessageAccount"></a>QMessageAccount::<span class="name">QMessageAccount</span> ()</h3>
<p>Creates an empty and invalid account object.</p>
<!-- @@@QMessageAccount -->
<!-- $$$QMessageAccount$$$QMessageAccountconstQMessageAccountId& -->
<h3 class="fn"><a name="QMessageAccount-2"></a>QMessageAccount::<span class="name">QMessageAccount</span> ( const <span class="type"><a href="qmessageaccountid.html">QMessageAccountId</a></span> &amp; <i>id</i> )</h3>
<p>Convenience constructor that creates a <a href="qmessageaccount.html">QMessageAccount</a> by loading the data from the messaging store as specified by the <a href="qmessageaccountid.html">QMessageAccountId</a> <i>id</i>. If the account does not exist in the store, then this constructor will create an empty and invalid <a href="qmessageaccount.html">QMessageAccount</a>.</p>
<p>This function was introduced in Qt Mobility 1.0.</p>
<p><b>See also </b><a href="qmessagemanager.html#account">QMessageManager::account</a>().</p>
<!-- @@@QMessageAccount -->
<!-- $$$QMessageAccount$$$QMessageAccountconstQMessageAccount& -->
<h3 class="fn"><a name="QMessageAccount-3"></a>QMessageAccount::<span class="name">QMessageAccount</span> ( const <span class="type">QMessageAccount</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>
<!-- @@@QMessageAccount -->
<!-- $$$~QMessageAccount[overload1]$$$~QMessageAccount -->
<h3 class="fn"><a name="dtor.QMessageAccount"></a>QMessageAccount::<span class="name">~QMessageAccount</span> ()<tt> [virtual]</tt></h3>
<p>Destroys the account object.</p>
<!-- @@@~QMessageAccount -->
<!-- $$$defaultAccount[overload1]$$$defaultAccountQMessage::Type -->
<h3 class="fn"><a name="defaultAccount"></a><span class="type"><a href="qmessageaccountid.html">QMessageAccountId</a></span> QMessageAccount::<span class="name">defaultAccount</span> ( <span class="type"><a href="qmessage.html#Type-enum">QMessage::Type</a></span> <i>type</i> )<tt> [static]</tt></h3>
<p>Returns the default account for messages of type <i>type</i>.</p>
<p>This function was introduced in Qt Mobility 1.0.</p>
<!-- @@@defaultAccount -->
<!-- $$$id[overload1]$$$id -->
<h3 class="fn"><a name="id"></a><span class="type"><a href="qmessageaccountid.html">QMessageAccountId</a></span> QMessageAccount::<span class="name">id</span> () const</h3>
<p>Returns the identifier for this account.</p>
<p>This function was introduced in Qt Mobility 1.0.</p>
<!-- @@@id -->
<!-- $$$messageTypes[overload1]$$$messageTypes -->
<h3 class="fn"><a name="messageTypes"></a><span class="type"><a href="qmessage.html#Type-enum">QMessage::TypeFlags</a></span> QMessageAccount::<span class="name">messageTypes</span> () const</h3>
<p>Returns the types of messages this account handles.</p>
<p>This function was introduced in Qt Mobility 1.0.</p>
<!-- @@@messageTypes -->
<!-- $$$name[overload1]$$$name -->
<h3 class="fn"><a name="name"></a><span class="type"><a href="http://qt.nokia.com/doc/4.7/qstring.html">QString</a></span> QMessageAccount::<span class="name">name</span> () const</h3>
<p>Returns the name of the account for display purposes.</p>
<p>This function was introduced in Qt Mobility 1.0.</p>
<!-- @@@name -->
</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>