This file is indexed.

/usr/share/doc/qmf/html/qmailaccountkey.html is in qmf-doc-html 1.0.7~2011w23.2-2.1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html
    PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<!-- qmailaccountkey.cpp -->
<head>
  <title>QMailAccountKey Class Reference</title>
  <link href="classic.css" rel="stylesheet" type="text/css" />
</head>
<body>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td align="left" valign="top" width="32"><img src="images/qtlogo.png" align="left" border="0" /></td>
<td width="1">&nbsp;&nbsp;</td><td class="postheader" valign="center"><a href="index.html"><font color="#004faf">Home</font></a></td>
<td align="right" valign="top" width="230"><img src="images/codeless.png"  border="0" /></td></tr></table><h1 class="title">QMailAccountKey Class Reference</h1>
<p>The QMailAccountKey class defines the parameters used for querying a subset of all available accounts from the mail store. <a href="#details">More...</a></p>
<pre>    #include &lt;QMailAccountKey&gt;</pre><p><b>This class is under development and is subject to change.</b></p>
<ul>
<li><a href="qmailaccountkey-members.html">List of all members, including inherited members</a></li>
</ul>
<hr />
<a name="public-types"></a>
<h2>Public Types</h2>
<table class="alignedsummary" border="0" cellpadding="0" cellspacing="0" width="100%">
<tr><td class="memItemLeft" align="right" valign="top">typedef </td><td class="memItemRight" valign="bottom"><b><a href="qmailaccountkey.html#ArgumentType-typedef">ArgumentType</a></b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">enum </td><td class="memItemRight" valign="bottom"><b><a href="qmailaccountkey.html#Property-enum">Property</a></b> { Id, Name, MessageType, FromAddress, ..., LastSynchronized }</td></tr>
</table>
<hr />
<a name="public-functions"></a>
<h2>Public Functions</h2>
<table class="alignedsummary" border="0" cellpadding="0" cellspacing="0" width="100%">
<tr><td class="memItemLeft" align="right" valign="top"></td><td class="memItemRight" valign="bottom"><b><a href="qmailaccountkey.html#QMailAccountKey">QMailAccountKey</a></b> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"></td><td class="memItemRight" valign="bottom"><b><a href="qmailaccountkey.html#QMailAccountKey-2">QMailAccountKey</a></b> ( const QMailAccountKey &amp; <i>other</i> )</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><b><a href="qmailaccountkey.html#dtor.QMailAccountKey">~QMailAccountKey</a></b> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const QList&lt;ArgumentType&gt; &amp; </td><td class="memItemRight" valign="bottom"><b><a href="qmailaccountkey.html#arguments">arguments</a></b> () const</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">QMailKey::Combiner </td><td class="memItemRight" valign="bottom"><b><a href="qmailaccountkey.html#combiner">combiner</a></b> () const</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><b><a href="qmailaccountkey.html#deserialize">deserialize</a></b> ( Stream &amp; <i>stream</i> )</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><b><a href="qmailaccountkey.html#isEmpty">isEmpty</a></b> () const</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><b><a href="qmailaccountkey.html#isNegated">isNegated</a></b> () const</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><b><a href="qmailaccountkey.html#isNonMatching">isNonMatching</a></b> () const</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><b><a href="qmailaccountkey.html#serialize">serialize</a></b> ( Stream &amp; <i>stream</i> ) const</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const QList&lt;QMailAccountKey&gt; &amp; </td><td class="memItemRight" valign="bottom"><b><a href="qmailaccountkey.html#subKeys">subKeys</a></b> () const</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"></td><td class="memItemRight" valign="bottom"><b><a href="qmailaccountkey.html#operator-QVariant">operator QVariant</a></b> () const</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><b><a href="qmailaccountkey.html#operator-not-eq">operator!=</a></b> ( const QMailAccountKey &amp; <i>other</i> ) const</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">QMailAccountKey </td><td class="memItemRight" valign="bottom"><b><a href="qmailaccountkey.html#operator-and">operator&amp;</a></b> ( const QMailAccountKey &amp; <i>other</i> ) const</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const QMailAccountKey &amp; </td><td class="memItemRight" valign="bottom"><b><a href="qmailaccountkey.html#operator-and-eq">operator&amp;=</a></b> ( const QMailAccountKey &amp; <i>other</i> )</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const QMailAccountKey &amp; </td><td class="memItemRight" valign="bottom"><b><a href="qmailaccountkey.html#operator-eq">operator=</a></b> ( const QMailAccountKey &amp; <i>other</i> )</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><b><a href="qmailaccountkey.html#operator-eq-eq">operator==</a></b> ( const QMailAccountKey &amp; <i>other</i> ) const</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">QMailAccountKey </td><td class="memItemRight" valign="bottom"><b><a href="qmailaccountkey.html#operator-7c">operator|</a></b> ( const QMailAccountKey &amp; <i>other</i> ) const</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const QMailAccountKey &amp; </td><td class="memItemRight" valign="bottom"><b><a href="qmailaccountkey.html#operator-7c-eq">operator|=</a></b> ( const QMailAccountKey &amp; <i>other</i> )</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">QMailAccountKey </td><td class="memItemRight" valign="bottom"><b><a href="qmailaccountkey.html#operator-7e">operator~</a></b> () const</td></tr>
</table>
<hr />
<a name="static-public-members"></a>
<h2>Static Public Members</h2>
<table class="alignedsummary" border="0" cellpadding="0" cellspacing="0" width="100%">
<tr><td class="memItemLeft" align="right" valign="top">QMailAccountKey </td><td class="memItemRight" valign="bottom"><b><a href="qmailaccountkey.html#customField">customField</a></b> ( const QString &amp; <i>name</i>, QMailDataComparator::PresenceComparator <i>cmp</i> = QMailDataComparator::Present )</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">QMailAccountKey </td><td class="memItemRight" valign="bottom"><b><a href="qmailaccountkey.html#customField-2">customField</a></b> ( const QString &amp; <i>name</i>, const QString &amp; <i>value</i>, QMailDataComparator::EqualityComparator <i>cmp</i> = QMailDataComparator::Equal )</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">QMailAccountKey </td><td class="memItemRight" valign="bottom"><b><a href="qmailaccountkey.html#customField-3">customField</a></b> ( const QString &amp; <i>name</i>, const QString &amp; <i>value</i>, QMailDataComparator::InclusionComparator <i>cmp</i> )</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">QMailAccountKey </td><td class="memItemRight" valign="bottom"><b><a href="qmailaccountkey.html#fromAddress">fromAddress</a></b> ( const QString &amp; <i>value</i>, QMailDataComparator::EqualityComparator <i>cmp</i> = QMailDataComparator::Equal )</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">QMailAccountKey </td><td class="memItemRight" valign="bottom"><b><a href="qmailaccountkey.html#fromAddress-2">fromAddress</a></b> ( const QString &amp; <i>value</i>, QMailDataComparator::InclusionComparator <i>cmp</i> )</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">QMailAccountKey </td><td class="memItemRight" valign="bottom"><b><a href="qmailaccountkey.html#id">id</a></b> ( const QMailAccountId &amp; <i>id</i>, QMailDataComparator::EqualityComparator <i>cmp</i> = QMailDataComparator::Equal )</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">QMailAccountKey </td><td class="memItemRight" valign="bottom"><b><a href="qmailaccountkey.html#id-2">id</a></b> ( const QMailAccountIdList &amp; <i>ids</i>, QMailDataComparator::InclusionComparator <i>cmp</i> = QMailDataComparator::Includes )</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">QMailAccountKey </td><td class="memItemRight" valign="bottom"><b><a href="qmailaccountkey.html#id-3">id</a></b> ( const QMailAccountKey &amp; <i>key</i>, QMailDataComparator::InclusionComparator <i>cmp</i> = QMailDataComparator::Includes )</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">QMailAccountKey </td><td class="memItemRight" valign="bottom"><b><a href="qmailaccountkey.html#lastSynchronized">lastSynchronized</a></b> ( const QDateTime &amp; <i>value</i>, QMailDataComparator::EqualityComparator <i>cmp</i> = QMailDataComparator::Equal )</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">QMailAccountKey </td><td class="memItemRight" valign="bottom"><b><a href="qmailaccountkey.html#lastSynchronized-2">lastSynchronized</a></b> ( const QDateTime &amp; <i>value</i>, QMailDataComparator::RelationComparator <i>cmp</i> )</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">QMailAccountKey </td><td class="memItemRight" valign="bottom"><b><a href="qmailaccountkey.html#messageType">messageType</a></b> ( QMailMessageMetaDataFwd::MessageType <i>value</i>, QMailDataComparator::EqualityComparator <i>cmp</i> = QMailDataComparator::Equal )</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">QMailAccountKey </td><td class="memItemRight" valign="bottom"><b><a href="qmailaccountkey.html#messageType-2">messageType</a></b> ( int <i>value</i>, QMailDataComparator::InclusionComparator <i>cmp</i> )</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">QMailAccountKey </td><td class="memItemRight" valign="bottom"><b><a href="qmailaccountkey.html#name">name</a></b> ( const QString &amp; <i>value</i>, QMailDataComparator::EqualityComparator <i>cmp</i> = QMailDataComparator::Equal )</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">QMailAccountKey </td><td class="memItemRight" valign="bottom"><b><a href="qmailaccountkey.html#name-2">name</a></b> ( const QString &amp; <i>value</i>, QMailDataComparator::InclusionComparator <i>cmp</i> )</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">QMailAccountKey </td><td class="memItemRight" valign="bottom"><b><a href="qmailaccountkey.html#name-3">name</a></b> ( const QStringList &amp; <i>values</i>, QMailDataComparator::InclusionComparator <i>cmp</i> = QMailDataComparator::Includes )</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">QMailAccountKey </td><td class="memItemRight" valign="bottom"><b><a href="qmailaccountkey.html#nonMatchingKey">nonMatchingKey</a></b> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">QMailAccountKey </td><td class="memItemRight" valign="bottom"><b><a href="qmailaccountkey.html#status">status</a></b> ( quint64 <i>mask</i>, QMailDataComparator::InclusionComparator <i>cmp</i> = QMailDataComparator::Includes )</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">QMailAccountKey </td><td class="memItemRight" valign="bottom"><b><a href="qmailaccountkey.html#status-2">status</a></b> ( quint64 <i>value</i>, QMailDataComparator::EqualityComparator <i>cmp</i> )</td></tr>
</table>
<a name="details"></a>
<hr />
<h2>Detailed Description</h2>
<p>The QMailAccountKey class defines the parameters used for querying a subset of all available accounts from the mail store.</p>
<p>A QMailAccountKey is composed of an account property, an optional comparison operator and a comparison value. The QMailAccountKey class is used in conjunction with the <a href="qmailstore.html#queryAccounts">QMailStore::queryAccounts</a>() and <a href="qmailstore.html#countAccounts">QMailStore::countAccounts</a>() functions to filter results which meet the criteria defined by the key.</p>
<p>QMailAccountKey's can be combined using the logical operators (&amp;), (|) and (~) to build more sophisticated queries.</p>
<p>For example:</p>
<p>To create a query for all accounts handling email messages:</p>
<pre>    QMailAccountKey emailKey(QMailAccountKey::messageType(QMailMessage::Email));
    QMailAccountIdList results = QMailStore::instance()-&gt;queryAccounts(emailKey);</pre>
<p>To query all accounts handling SMS or MMS messages:</p>
<pre>    QMailAccountKey mmsAccount(QMailAccountKey::messageType(QMailMessage::Mms));
    QMailAccountKey smsAccount(QMailAccountKey::messageType(QMailMessage::Sms));
    QMailAccountIdList results = QMailStore::instance()-&gt;queryAccounts(mmsAccount | smsAccount);</pre>
<p>See also <a href="qmailstore.html">QMailStore</a> and <a href="qmailaccount.html">QMailAccount</a>.</p>
<hr />
<h2>Member Type Documentation</h2>
<h3 class="fn"><a name="ArgumentType-typedef"></a>typedef QMailAccountKey::ArgumentType</h3>
<p>Defines the type used to represent a single criterion of an account filter.</p>
<p>Synonym for <a href="qmailkeyargument.html">QMailKeyArgument</a>&lt;<a href="qmailaccountkey.html#Property-enum">QMailAccountKey::Property</a>&gt;.</p>
<h3 class="fn"><a name="Property-enum"></a>enum QMailAccountKey::Property</h3>
<p>This enum type describes the queryable data properties of a <a href="qmailaccount.html">QMailAccount</a>.</p>
<p><table class="valuelist" border="1" cellpadding="2" cellspacing="1" width="100%">
<tr><th width="25%">Constant</th><th width="15%">Value</th><th width="60%">Description</th></tr>
<tr><td valign="top"><tt>QMailAccountKey::Id</tt></td><td align="center" valign="top"><tt>( 1&lt;&lt;0 )</tt></td><td valign="top">The ID of the account.</td></tr>
<tr><td valign="top"><tt>QMailAccountKey::Name</tt></td><td align="center" valign="top"><tt>( 1&lt;&lt;1 )</tt></td><td valign="top">The name of the account.</td></tr>
<tr><td valign="top"><tt>QMailAccountKey::MessageType</tt></td><td align="center" valign="top"><tt>( 1&lt;&lt;2 )</tt></td><td valign="top">The type of messages handled by the account.</td></tr>
<tr><td valign="top"><tt>QMailAccountKey::FromAddress</tt></td><td align="center" valign="top"><tt>( 1&lt;&lt;3 )</tt></td><td valign="top">The address from which the account's outgoing messages should be reported as originating.</td></tr>
<tr><td valign="top"><tt>QMailAccountKey::Status</tt></td><td align="center" valign="top"><tt>( 1&lt;&lt;4 )</tt></td><td valign="top">The status value of the account.</td></tr>
<tr><td valign="top"><tt>QMailAccountKey::Custom</tt></td><td align="center" valign="top"><tt>( 1&lt;&lt;5 )</tt></td><td valign="top">The custom fields of the account.</td></tr>
<tr><td valign="top"><tt>QMailAccountKey::LastSynchronized</tt></td><td align="center" valign="top"><tt>( 1&lt;&lt;6 )</tt></td><td valign="top">The most recent time that a check for new mail in all folders of the account was completed successfully.</td></tr>
</table></p>
<hr />
<h2>Member Function Documentation</h2>
<h3 class="fn"><a name="QMailAccountKey"></a>QMailAccountKey::QMailAccountKey ()</h3>
<p>Creates a <a href="qmailaccountkey.html">QMailAccountKey</a> without specifying matching parameters.</p>
<p>A default-constructed key (one for which <a href="qmailaccountkey.html#isEmpty">isEmpty</a>() returns true) matches all accounts.</p>
<p>See also <a href="qmailaccountkey.html#isEmpty">isEmpty</a>().</p>
<h3 class="fn"><a name="QMailAccountKey-2"></a>QMailAccountKey::QMailAccountKey ( const QMailAccountKey &amp; <i>other</i> )</h3>
<p>Creates a copy of the <a href="qmailaccountkey.html">QMailAccountKey</a> <i>other</i>.</p>
<h3 class="fn"><a name="dtor.QMailAccountKey"></a>QMailAccountKey::~QMailAccountKey ()&nbsp;&nbsp;<tt> [virtual]</tt></h3>
<p>Destroys this <a href="qmailaccountkey.html">QMailAccountKey</a>.</p>
<h3 class="fn"><a name="arguments"></a>const <a href="http://doc.trolltech.com/4.5/qlist.html">QList</a>&lt;<a href="qmailaccountkey.html#ArgumentType-typedef">ArgumentType</a>&gt; &amp; QMailAccountKey::arguments () const</h3>
<p>Returns the list of arguments to this <a href="qmailaccountkey.html">QMailAccountKey</a>.</p>
<h3 class="fn"><a name="combiner"></a><a href="qmailkey.html#Combiner-enum">QMailKey::Combiner</a> QMailAccountKey::combiner () const</h3>
<p>Returns the combiner used to combine arguments or sub keys of this <a href="qmailaccountkey.html">QMailAccountKey</a>.</p>
<h3 class="fn"><a name="customField"></a>QMailAccountKey QMailAccountKey::customField ( const <a href="http://doc.trolltech.com/4.5/qstring.html">QString</a> &amp; <i>name</i>, <a href="qmaildatacomparator.html#PresenceComparator-enum">QMailDataComparator::PresenceComparator</a> <i>cmp</i> = QMailDataComparator::Present )&nbsp;&nbsp;<tt> [static]</tt></h3>
<p>Returns a key matching accounts that possess a custom field with the name <i>name</i>, according to <i>cmp</i>.</p>
<p>See also <a href="qmailaccount.html#customField">QMailAccount::customField</a>().</p>
<h3 class="fn"><a name="customField-2"></a>QMailAccountKey QMailAccountKey::customField ( const <a href="http://doc.trolltech.com/4.5/qstring.html">QString</a> &amp; <i>name</i>, const <a href="http://doc.trolltech.com/4.5/qstring.html">QString</a> &amp; <i>value</i>, <a href="qmaildatacomparator.html#EqualityComparator-enum">QMailDataComparator::EqualityComparator</a> <i>cmp</i> = QMailDataComparator::Equal )&nbsp;&nbsp;<tt> [static]</tt></h3>
<p>Returns a key matching accounts that possess a custom field with the name <i>name</i>, whose value matches <i>value</i>, according to <i>cmp</i>.</p>
<p>See also <a href="qmailaccount.html#customField">QMailAccount::customField</a>().</p>
<h3 class="fn"><a name="customField-3"></a>QMailAccountKey QMailAccountKey::customField ( const <a href="http://doc.trolltech.com/4.5/qstring.html">QString</a> &amp; <i>name</i>, const <a href="http://doc.trolltech.com/4.5/qstring.html">QString</a> &amp; <i>value</i>, <a href="qmaildatacomparator.html#InclusionComparator-enum">QMailDataComparator::InclusionComparator</a> <i>cmp</i> )&nbsp;&nbsp;<tt> [static]</tt></h3>
<p>Returns a key matching accounts that possess a custom field with the name <i>name</i>, whose value matches the substring <i>value</i>, according to <i>cmp</i>.</p>
<p>See also <a href="qmailaccount.html#customField">QMailAccount::customField</a>().</p>
<h3 class="fn"><a name="deserialize"></a>void QMailAccountKey::deserialize ( Stream &amp; <i>stream</i> )</h3>
<p>Reads the contents of a <a href="qmailaccountkey.html">QMailAccountKey</a> from <i>stream</i>.</p>
<h3 class="fn"><a name="fromAddress"></a>QMailAccountKey QMailAccountKey::fromAddress ( const <a href="http://doc.trolltech.com/4.5/qstring.html">QString</a> &amp; <i>value</i>, <a href="qmaildatacomparator.html#EqualityComparator-enum">QMailDataComparator::EqualityComparator</a> <i>cmp</i> = QMailDataComparator::Equal )&nbsp;&nbsp;<tt> [static]</tt></h3>
<p>Returns a key matching accounts whose address matches <i>value</i>, according to <i>cmp</i>.</p>
<p>See also <a href="qmailaccount.html#fromAddress">QMailAccount::fromAddress</a>().</p>
<h3 class="fn"><a name="fromAddress-2"></a>QMailAccountKey QMailAccountKey::fromAddress ( const <a href="http://doc.trolltech.com/4.5/qstring.html">QString</a> &amp; <i>value</i>, <a href="qmaildatacomparator.html#InclusionComparator-enum">QMailDataComparator::InclusionComparator</a> <i>cmp</i> )&nbsp;&nbsp;<tt> [static]</tt></h3>
<p>Returns a key matching accounts whose address matches the substring <i>value</i>, according to <i>cmp</i>.</p>
<p>See also <a href="qmailaccount.html#fromAddress">QMailAccount::fromAddress</a>().</p>
<h3 class="fn"><a name="id"></a>QMailAccountKey QMailAccountKey::id ( const <a href="qmailaccountid.html">QMailAccountId</a> &amp; <i>id</i>, <a href="qmaildatacomparator.html#EqualityComparator-enum">QMailDataComparator::EqualityComparator</a> <i>cmp</i> = QMailDataComparator::Equal )&nbsp;&nbsp;<tt> [static]</tt></h3>
<p>Returns a key matching accounts whose identifier matches <i>id</i>, according to <i>cmp</i>.</p>
<p>See also <a href="qmailaccount.html#id">QMailAccount::id</a>().</p>
<h3 class="fn"><a name="id-2"></a>QMailAccountKey QMailAccountKey::id ( const <a href="qmailaccountid.html#QMailAccountIdList-typedef">QMailAccountIdList</a> &amp; <i>ids</i>, <a href="qmaildatacomparator.html#InclusionComparator-enum">QMailDataComparator::InclusionComparator</a> <i>cmp</i> = QMailDataComparator::Includes )&nbsp;&nbsp;<tt> [static]</tt></h3>
<p>Returns a key matching accounts whose identifier is a member of <i>ids</i>, according to <i>cmp</i>.</p>
<p>See also <a href="qmailaccount.html#id">QMailAccount::id</a>().</p>
<h3 class="fn"><a name="id-3"></a>QMailAccountKey QMailAccountKey::id ( const QMailAccountKey &amp; <i>key</i>, <a href="qmaildatacomparator.html#InclusionComparator-enum">QMailDataComparator::InclusionComparator</a> <i>cmp</i> = QMailDataComparator::Includes )&nbsp;&nbsp;<tt> [static]</tt></h3>
<p>Returns a key matching accounts whose identifier is a member of the set yielded by <i>key</i>, according to <i>cmp</i>.</p>
<p>See also <a href="qmailaccount.html#id">QMailAccount::id</a>().</p>
<h3 class="fn"><a name="isEmpty"></a>bool QMailAccountKey::isEmpty () const</h3>
<p>Returns true if the key remains empty after default construction; otherwise returns false.</p>
<p>An empty key matches all accounts.</p>
<p>The result of combining an empty key with a non-empty key is the original non-empty key. This is true regardless of whether the combination is formed by an AND or an OR operation.</p>
<p>The result of combining two empty keys is an empty key.</p>
<p>See also <a href="qmailaccountkey.html#isNonMatching">isNonMatching</a>().</p>
<h3 class="fn"><a name="isNegated"></a>bool QMailAccountKey::isNegated () const</h3>
<p>Returns true if the key's criteria should be negated in application.</p>
<h3 class="fn"><a name="isNonMatching"></a>bool QMailAccountKey::isNonMatching () const</h3>
<p>Returns true if the key is a non-matching key; otherwise returns false.</p>
<p>A non-matching key does not match any accounts.</p>
<p>The result of ANDing a non-matching key with a matching key is a non-matching key. The result of ORing a non-matching key with a matching key is the original matching key.</p>
<p>The result of combining two non-matching keys is a non-matching key.</p>
<p>See also <a href="qmailaccountkey.html#nonMatchingKey">nonMatchingKey</a>() and <a href="qmailaccountkey.html#isEmpty">isEmpty</a>().</p>
<h3 class="fn"><a name="lastSynchronized"></a>QMailAccountKey QMailAccountKey::lastSynchronized ( const <a href="http://doc.trolltech.com/4.5/qdatetime.html">QDateTime</a> &amp; <i>value</i>, <a href="qmaildatacomparator.html#EqualityComparator-enum">QMailDataComparator::EqualityComparator</a> <i>cmp</i> = QMailDataComparator::Equal )&nbsp;&nbsp;<tt> [static]</tt></h3>
<p>Returns a key matching accounts whose last synchronization time matches the time <i>value</i>, according to <i>cmp</i>.</p>
<p>See also <a href="qmailaccount.html#lastSynchronized">QMailAccount::lastSynchronized</a>().</p>
<h3 class="fn"><a name="lastSynchronized-2"></a>QMailAccountKey QMailAccountKey::lastSynchronized ( const <a href="http://doc.trolltech.com/4.5/qdatetime.html">QDateTime</a> &amp; <i>value</i>, <a href="qmaildatacomparator.html#RelationComparator-enum">QMailDataComparator::RelationComparator</a> <i>cmp</i> )&nbsp;&nbsp;<tt> [static]</tt></h3>
<p>Returns a key matching accounts whose last synchronization timestamp has the relation to <i>value</i> that is specified by <i>cmp</i>.</p>
<p>See also <a href="qmailaccount.html#lastSynchronized">QMailAccount::lastSynchronized</a>().</p>
<h3 class="fn"><a name="messageType"></a>QMailAccountKey QMailAccountKey::messageType ( <a href="qmailmessagemetadatafwd.html#MessageType-enum">QMailMessageMetaDataFwd::MessageType</a> <i>value</i>, <a href="qmaildatacomparator.html#EqualityComparator-enum">QMailDataComparator::EqualityComparator</a> <i>cmp</i> = QMailDataComparator::Equal )&nbsp;&nbsp;<tt> [static]</tt></h3>
<p>Returns a key matching accounts whose messageType matches <i>value</i>, according to <i>cmp</i>.</p>
<p>See also <a href="qmailaccount.html#messageType">QMailAccount::messageType</a>().</p>
<h3 class="fn"><a name="messageType-2"></a>QMailAccountKey QMailAccountKey::messageType ( int <i>value</i>, <a href="qmaildatacomparator.html#InclusionComparator-enum">QMailDataComparator::InclusionComparator</a> <i>cmp</i> )&nbsp;&nbsp;<tt> [static]</tt></h3>
<p>Returns a key matching accounts whose messageType is a bitwise match to <i>value</i>, according to <i>cmp</i>.</p>
<p>See also <a href="qmailaccount.html#messageType">QMailAccount::messageType</a>().</p>
<h3 class="fn"><a name="name"></a>QMailAccountKey QMailAccountKey::name ( const <a href="http://doc.trolltech.com/4.5/qstring.html">QString</a> &amp; <i>value</i>, <a href="qmaildatacomparator.html#EqualityComparator-enum">QMailDataComparator::EqualityComparator</a> <i>cmp</i> = QMailDataComparator::Equal )&nbsp;&nbsp;<tt> [static]</tt></h3>
<p>Returns a key matching accounts whose name matches <i>value</i>, according to <i>cmp</i>.</p>
<p>See also <a href="qmailaccount.html#name">QMailAccount::name</a>().</p>
<h3 class="fn"><a name="name-2"></a>QMailAccountKey QMailAccountKey::name ( const <a href="http://doc.trolltech.com/4.5/qstring.html">QString</a> &amp; <i>value</i>, <a href="qmaildatacomparator.html#InclusionComparator-enum">QMailDataComparator::InclusionComparator</a> <i>cmp</i> )&nbsp;&nbsp;<tt> [static]</tt></h3>
<p>Returns a key matching accounts whose name matches the substring <i>value</i>, according to <i>cmp</i>.</p>
<p>See also <a href="qmailaccount.html#name">QMailAccount::name</a>().</p>
<h3 class="fn"><a name="name-3"></a>QMailAccountKey QMailAccountKey::name ( const <a href="http://doc.trolltech.com/4.5/qstringlist.html">QStringList</a> &amp; <i>values</i>, <a href="qmaildatacomparator.html#InclusionComparator-enum">QMailDataComparator::InclusionComparator</a> <i>cmp</i> = QMailDataComparator::Includes )&nbsp;&nbsp;<tt> [static]</tt></h3>
<p>Returns a key matching accounts whose name is a member of <i>values</i>, according to <i>cmp</i>.</p>
<p>See also <a href="qmailaccount.html#name">QMailAccount::name</a>().</p>
<h3 class="fn"><a name="nonMatchingKey"></a>QMailAccountKey QMailAccountKey::nonMatchingKey ()&nbsp;&nbsp;<tt> [static]</tt></h3>
<p>Returns a key that does not match any accounts (unlike an empty key).</p>
<p>See also <a href="qmailaccountkey.html#isNonMatching">isNonMatching</a>() and <a href="qmailaccountkey.html#isEmpty">isEmpty</a>().</p>
<h3 class="fn"><a name="serialize"></a>void QMailAccountKey::serialize ( Stream &amp; <i>stream</i> ) const</h3>
<p>Writes the contents of a <a href="qmailaccountkey.html">QMailAccountKey</a> to a <i>stream</i>.</p>
<h3 class="fn"><a name="status"></a>QMailAccountKey QMailAccountKey::status ( <a href="http://doc.trolltech.com/4.5/qtglobal.html#quint64-typedef">quint64</a> <i>mask</i>, <a href="qmaildatacomparator.html#InclusionComparator-enum">QMailDataComparator::InclusionComparator</a> <i>cmp</i> = QMailDataComparator::Includes )&nbsp;&nbsp;<tt> [static]</tt></h3>
<p>Returns a key matching accounts whose status is a bitwise match to <i>mask</i>, according to <i>cmp</i>.</p>
<p>See also <a href="qmailaccount.html#status">QMailAccount::status</a>().</p>
<h3 class="fn"><a name="status-2"></a>QMailAccountKey QMailAccountKey::status ( <a href="http://doc.trolltech.com/4.5/qtglobal.html#quint64-typedef">quint64</a> <i>value</i>, <a href="qmaildatacomparator.html#EqualityComparator-enum">QMailDataComparator::EqualityComparator</a> <i>cmp</i> )&nbsp;&nbsp;<tt> [static]</tt></h3>
<p>Returns a key matching accounts whose status matches <i>value</i>, according to <i>cmp</i>.</p>
<p>See also <a href="qmailaccount.html#status">QMailAccount::status</a>().</p>
<h3 class="fn"><a name="subKeys"></a>const <a href="http://doc.trolltech.com/4.5/qlist.html">QList</a>&lt;QMailAccountKey&gt; &amp; QMailAccountKey::subKeys () const</h3>
<p>Returns the list of sub keys held by this <a href="qmailaccountkey.html">QMailAccountKey</a>.</p>
<h3 class="fn"><a name="operator-QVariant"></a>QMailAccountKey::operator QVariant () const</h3>
<p>Returns the <a href="http://doc.trolltech.com/4.5/qvariant.html">QVariant</a> representation of this <a href="qmailaccountkey.html">QMailAccountKey</a>.</p>
<h3 class="fn"><a name="operator-not-eq"></a>bool QMailAccountKey::operator!= ( const QMailAccountKey &amp; <i>other</i> ) const</h3>
<p>Returns <tt>true</tt> if the value of this key is not the same as the key <i>other</i>. Returns <tt>false</tt> otherwise.</p>
<h3 class="fn"><a name="operator-and"></a>QMailAccountKey QMailAccountKey::operator&amp; ( const QMailAccountKey &amp; <i>other</i> ) const</h3>
<p>Returns a key that is the logical AND of this key and the value of key <i>other</i>.</p>
<h3 class="fn"><a name="operator-and-eq"></a>const QMailAccountKey &amp; QMailAccountKey::operator&amp;= ( const QMailAccountKey &amp; <i>other</i> )</h3>
<p>Performs a logical AND with this key and the key <i>other</i> and assigns the result to this key.</p>
<h3 class="fn"><a name="operator-eq"></a>const QMailAccountKey &amp; QMailAccountKey::operator= ( const QMailAccountKey &amp; <i>other</i> )</h3>
<p>Assign the value of the <a href="qmailaccountkey.html">QMailAccountKey</a> <i>other</i> to this.</p>
<h3 class="fn"><a name="operator-eq-eq"></a>bool QMailAccountKey::operator== ( const QMailAccountKey &amp; <i>other</i> ) const</h3>
<p>Returns <tt>true</tt> if the value of this key is the same as the key <i>other</i>. Returns <tt>false</tt> otherwise.</p>
<h3 class="fn"><a name="operator-7c"></a>QMailAccountKey QMailAccountKey::operator| ( const QMailAccountKey &amp; <i>other</i> ) const</h3>
<p>Returns a key that is the logical OR of this key and the value of key <i>other</i>.</p>
<h3 class="fn"><a name="operator-7c-eq"></a>const QMailAccountKey &amp; QMailAccountKey::operator|= ( const QMailAccountKey &amp; <i>other</i> )</h3>
<p>Performs a logical OR with this key and the key <i>other</i> and assigns the result to this key.</p>
<h3 class="fn"><a name="operator-7e"></a>QMailAccountKey QMailAccountKey::operator~ () const</h3>
<p>Returns a key that is the logical NOT of the value of this key.</p>
<p>If this key is empty, the result will be a non-matching key; if this key is non-matching, the result will be an empty key.</p>
<p>See also <a href="qmailaccountkey.html#isEmpty">isEmpty</a>() and <a href="qmailaccountkey.html#isNonMatching">isNonMatching</a>().</p>
<p /><address><hr /><div align="center">
<table width="100%" cellspacing="0" border="0"><tr class="address">
<td align="left">Copyright &copy; 2010 QtSoftware</td>
<td align="right"><div align="right">Messaging Framework</div></td>
</tr></table></div></address></body>
</html>