/usr/share/doc/libqxmpp-doc/html/classQXmppPresence.html is in libqxmpp-doc 0.3.0-1ubuntu1.
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 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>QXmpp: QXmppPresence Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javaScript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body onload='searchBox.OnSelectItem(0);'>
<!-- Generated by Doxygen 1.7.1 -->
<script type="text/javascript"><!--
var searchBox = new SearchBox("searchBox", "search",false,'Search');
--></script>
<div class="navigation" id="top">
<div class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main Page</span></a></li>
<li><a href="modules.html"><span>Modules</span></a></li>
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
<li id="searchli">
<div id="MSearchBox" class="MSearchBoxInactive">
<span class="left">
<img id="MSearchSelect" src="search/mag_sel.png"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
alt=""/>
<input type="text" id="MSearchField" value="Search" accesskey="S"
onfocus="searchBox.OnSearchFieldFocus(true)"
onblur="searchBox.OnSearchFieldFocus(false)"
onkeyup="searchBox.OnSearchFieldChange(event)"/>
</span><span class="right">
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
</span>
</div>
</li>
</ul>
</div>
<div class="tabs2">
<ul class="tablist">
<li><a href="annotated.html"><span>Class List</span></a></li>
<li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class Members</span></a></li>
</ul>
</div>
</div>
<div class="header">
<div class="summary">
<a href="#nested-classes">Classes</a> |
<a href="#pub-types">Public Types</a> |
<a href="#pub-methods">Public Member Functions</a> </div>
<div class="headertitle">
<h1>QXmppPresence Class Reference<br/>
<small>
[<a class="el" href="group__Stanzas.html">Stanzas</a>]</small>
</h1> </div>
</div>
<div class="contents">
<!-- doxytag: class="QXmppPresence" --><!-- doxytag: inherits="QXmppStanza" -->
<p>The <a class="el" href="classQXmppPresence.html" title="The QXmppPresence class represents an XMPP presence stanza.">QXmppPresence</a> class represents an XMPP presence stanza.
<a href="#_details">More...</a></p>
<p><code>#include <<a class="el" href="QXmppPresence_8h_source.html">QXmppPresence.h</a>></code></p>
<div class="dynheader">
Inheritance diagram for QXmppPresence:</div>
<div class="dyncontent">
<div class="center">
<img src="classQXmppPresence.png" usemap="#QXmppPresence_map" alt=""/>
<map id="QXmppPresence_map" name="QXmppPresence_map">
<area href="classQXmppStanza.html" alt="QXmppStanza" shape="rect" coords="0,0,108,24"/>
</map>
</div>
<p><a href="classQXmppPresence-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classQXmppPresence_1_1Status.html">Status</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">The <a class="el" href="classQXmppPresence_1_1Status.html" title="The QXmppPresence::Status class represents the status of an XMPP entity.">QXmppPresence::Status</a> class represents the status of an XMPP entity. <a href="classQXmppPresence_1_1Status.html#_details">More...</a><br/></td></tr>
<tr><td colspan="2"><h2><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">enum </td><td class="memItemRight" valign="bottom"><a class="el" href="classQXmppPresence.html#a47ab8dd08436f9d7c90d2990678b5a6d">Type</a> { <br/>
<a class="el" href="classQXmppPresence.html#a47ab8dd08436f9d7c90d2990678b5a6dafe9d13e17362533f94ec92720fb07157">Error</a> = 0,
<a class="el" href="classQXmppPresence.html#a47ab8dd08436f9d7c90d2990678b5a6daee4c403679460358c9002562794059d3">Available</a>,
<a class="el" href="classQXmppPresence.html#a47ab8dd08436f9d7c90d2990678b5a6da6188ca67163c9045eb9568deefb9a363">Unavailable</a>,
<a class="el" href="classQXmppPresence.html#a47ab8dd08436f9d7c90d2990678b5a6da27a106dd1fc50ecdba0ad9b95307ce62">Subscribe</a>,
<br/>
<a class="el" href="classQXmppPresence.html#a47ab8dd08436f9d7c90d2990678b5a6da59304e64fb15ce69c9395f6d217dcb6b">Subscribed</a>,
<a class="el" href="classQXmppPresence.html#a47ab8dd08436f9d7c90d2990678b5a6da20986f18e387f68a5fdfa0e67c44bc44">Unsubscribe</a>,
<a class="el" href="classQXmppPresence.html#a47ab8dd08436f9d7c90d2990678b5a6da63414092d2fc4b90987f56731c150623">Unsubscribed</a>,
<a class="el" href="classQXmppPresence.html#a47ab8dd08436f9d7c90d2990678b5a6da78bd49bb7dff200e67b1584aee994cd8">Probe</a>
<br/>
}</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight"><p>This enum is used to describe a presence type. </p>
<a href="classQXmppPresence.html#a47ab8dd08436f9d7c90d2990678b5a6d">More...</a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">enum </td><td class="memItemRight" valign="bottom"><a class="el" href="classQXmppPresence.html#a642a378dd425bbbda1de4317e2dcd199">VCardUpdateType</a> { <a class="el" href="classQXmppPresence.html#a642a378dd425bbbda1de4317e2dcd199ade94d49098994f9d9c63a2e3b26e85fe">VCardUpdateNone</a> = 0,
<a class="el" href="classQXmppPresence.html#a642a378dd425bbbda1de4317e2dcd199a4d3c48d73da192a0054d24633622f564">VCardUpdateNoPhoto</a>,
<a class="el" href="classQXmppPresence.html#a642a378dd425bbbda1de4317e2dcd199a77b3104e5b50933e952dd82740bbe703">VCardUpdateValidPhoto</a>,
<a class="el" href="classQXmppPresence.html#a642a378dd425bbbda1de4317e2dcd199a628f45cf1da766418d773f83ba48af50">VCardUpdateNotReady</a>
}</td></tr>
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classQXmppPresence.html#a55df3a12d8d19870aa2c80bf132778c2">QXmppPresence</a> (<a class="el" href="classQXmppPresence.html#a47ab8dd08436f9d7c90d2990678b5a6d">QXmppPresence::Type</a> type=QXmppPresence::Available, const <a class="el" href="classQXmppPresence_1_1Status.html">QXmppPresence::Status</a> &status=<a class="el" href="classQXmppPresence_1_1Status.html">QXmppPresence::Status</a>())</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab52ba0f4a3b8b376f9ef4e013c7bc39c"></a><!-- doxytag: member="QXmppPresence::~QXmppPresence" ref="ab52ba0f4a3b8b376f9ef4e013c7bc39c" args="()" -->
</td><td class="memItemRight" valign="bottom"><a class="el" href="classQXmppPresence.html#ab52ba0f4a3b8b376f9ef4e013c7bc39c">~QXmppPresence</a> ()</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Destroys a <a class="el" href="classQXmppPresence.html" title="The QXmppPresence class represents an XMPP presence stanza.">QXmppPresence</a>. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classQXmppPresence.html#a47ab8dd08436f9d7c90d2990678b5a6d">QXmppPresence::Type</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classQXmppPresence.html#a727e9f66d6287a963f344acd407dc1f2">type</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQXmppPresence.html#a011e173528a981f49c7940f77e66db36">setType</a> (<a class="el" href="classQXmppPresence.html#a47ab8dd08436f9d7c90d2990678b5a6d">QXmppPresence::Type</a>)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4ff79a31cc601e78ff05b6e5427093f4"></a><!-- doxytag: member="QXmppPresence::status" ref="a4ff79a31cc601e78ff05b6e5427093f4" args="()" -->
<a class="el" href="classQXmppPresence_1_1Status.html">QXmppPresence::Status</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classQXmppPresence.html#a4ff79a31cc601e78ff05b6e5427093f4">status</a> ()</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns a reference to the presence status, allowing you to change it. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a05d24001697e6dbb52962a7e66e0b221"></a><!-- doxytag: member="QXmppPresence::status" ref="a05d24001697e6dbb52962a7e66e0b221" args="() const " -->
const <a class="el" href="classQXmppPresence_1_1Status.html">QXmppPresence::Status</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classQXmppPresence.html#a05d24001697e6dbb52962a7e66e0b221">status</a> () const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the presence status. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQXmppPresence.html#ada057ee0be3be0b8b7e9d7067337ba66">setStatus</a> (const <a class="el" href="classQXmppPresence_1_1Status.html">QXmppPresence::Status</a> &)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">QByteArray </td><td class="memItemRight" valign="bottom"><a class="el" href="classQXmppPresence.html#a2013bdab8a80ef7ed1c765d00f81ef86">photoHash</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQXmppPresence.html#ac1df0dc4749bac5370267a05101c84ca">setPhotoHash</a> (const QByteArray &)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classQXmppPresence.html#a642a378dd425bbbda1de4317e2dcd199">VCardUpdateType</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classQXmppPresence.html#a6748358697aa99a65209c46eae053829">vCardUpdateType</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQXmppPresence.html#a094e60c4acb919bb618e78d7be512755">setVCardUpdateType</a> (<a class="el" href="classQXmppPresence.html#a642a378dd425bbbda1de4317e2dcd199">VCardUpdateType</a> type)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="abc586b332f1bfacdb99356b6fa66671f"></a><!-- doxytag: member="QXmppPresence::capabilityHash" ref="abc586b332f1bfacdb99356b6fa66671f" args="() const " -->
QString </td><td class="memItemRight" valign="bottom"><a class="el" href="classQXmppPresence.html#abc586b332f1bfacdb99356b6fa66671f">capabilityHash</a> () const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight"><a href="http://xmpp.org/extensions/xep-0115.html">XEP-0115</a>: Entity Capabilities <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4a8355d4ce1f84a97fdb098d7856829a"></a><!-- doxytag: member="QXmppPresence::setCapabilityHash" ref="a4a8355d4ce1f84a97fdb098d7856829a" args="(const QString &)" -->
void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQXmppPresence.html#a4a8355d4ce1f84a97fdb098d7856829a">setCapabilityHash</a> (const QString &)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight"><a href="http://xmpp.org/extensions/xep-0115.html">XEP-0115</a>: Entity Capabilities <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="abeb42678d2eb51d805021239b6787e15"></a><!-- doxytag: member="QXmppPresence::capabilityNode" ref="abeb42678d2eb51d805021239b6787e15" args="() const " -->
QString </td><td class="memItemRight" valign="bottom"><a class="el" href="classQXmppPresence.html#abeb42678d2eb51d805021239b6787e15">capabilityNode</a> () const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight"><a href="http://xmpp.org/extensions/xep-0115.html">XEP-0115</a>: Entity Capabilities <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a087a58383725086449c9b7d8a428d4be"></a><!-- doxytag: member="QXmppPresence::setCapabilityNode" ref="a087a58383725086449c9b7d8a428d4be" args="(const QString &)" -->
void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQXmppPresence.html#a087a58383725086449c9b7d8a428d4be">setCapabilityNode</a> (const QString &)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight"><a href="http://xmpp.org/extensions/xep-0115.html">XEP-0115</a>: Entity Capabilities <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af4b39ee86352ec85f6dea9286a8cb7e7"></a><!-- doxytag: member="QXmppPresence::capabilityVer" ref="af4b39ee86352ec85f6dea9286a8cb7e7" args="() const " -->
QByteArray </td><td class="memItemRight" valign="bottom"><a class="el" href="classQXmppPresence.html#af4b39ee86352ec85f6dea9286a8cb7e7">capabilityVer</a> () const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight"><a href="http://xmpp.org/extensions/xep-0115.html">XEP-0115</a>: Entity Capabilities <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab6434834049a20ef0711263adfd3686d"></a><!-- doxytag: member="QXmppPresence::setCapabilityVer" ref="ab6434834049a20ef0711263adfd3686d" args="(const QByteArray &)" -->
void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQXmppPresence.html#ab6434834049a20ef0711263adfd3686d">setCapabilityVer</a> (const QByteArray &)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight"><a href="http://xmpp.org/extensions/xep-0115.html">XEP-0115</a>: Entity Capabilities <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aec8f7ec4bc7ee9a6afcbd79445954d12"></a><!-- doxytag: member="QXmppPresence::capabilityExt" ref="aec8f7ec4bc7ee9a6afcbd79445954d12" args="() const " -->
QStringList </td><td class="memItemRight" valign="bottom"><a class="el" href="classQXmppPresence.html#aec8f7ec4bc7ee9a6afcbd79445954d12">capabilityExt</a> () const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Legacy <a href="http://xmpp.org/extensions/xep-0115.html">XEP-0115</a>: Entity Capabilities. <br/></td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>The <a class="el" href="classQXmppPresence.html" title="The QXmppPresence class represents an XMPP presence stanza.">QXmppPresence</a> class represents an XMPP presence stanza. </p>
<hr/><h2>Member Enumeration Documentation</h2>
<a class="anchor" id="a47ab8dd08436f9d7c90d2990678b5a6d"></a><!-- doxytag: member="QXmppPresence::Type" ref="a47ab8dd08436f9d7c90d2990678b5a6d" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">enum <a class="el" href="classQXmppPresence.html#a47ab8dd08436f9d7c90d2990678b5a6d">QXmppPresence::Type</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>This enum is used to describe a presence type. </p>
<dl><dt><b>Enumerator: </b></dt><dd><table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"><em><a class="anchor" id="a47ab8dd08436f9d7c90d2990678b5a6dafe9d13e17362533f94ec92720fb07157"></a><!-- doxytag: member="Error" ref="a47ab8dd08436f9d7c90d2990678b5a6dafe9d13e17362533f94ec92720fb07157" args="" -->Error</em> </td><td>
<p>An error has occurred regarding processing or delivery of a previously-sent presence stanza. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a47ab8dd08436f9d7c90d2990678b5a6daee4c403679460358c9002562794059d3"></a><!-- doxytag: member="Available" ref="a47ab8dd08436f9d7c90d2990678b5a6daee4c403679460358c9002562794059d3" args="" -->Available</em> </td><td>
<p>Signals that the sender is online and available for communication. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a47ab8dd08436f9d7c90d2990678b5a6da6188ca67163c9045eb9568deefb9a363"></a><!-- doxytag: member="Unavailable" ref="a47ab8dd08436f9d7c90d2990678b5a6da6188ca67163c9045eb9568deefb9a363" args="" -->Unavailable</em> </td><td>
<p>Signals that the sender is no longer available for communication. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a47ab8dd08436f9d7c90d2990678b5a6da27a106dd1fc50ecdba0ad9b95307ce62"></a><!-- doxytag: member="Subscribe" ref="a47ab8dd08436f9d7c90d2990678b5a6da27a106dd1fc50ecdba0ad9b95307ce62" args="" -->Subscribe</em> </td><td>
<p>The sender wishes to subscribe to the recipient's presence. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a47ab8dd08436f9d7c90d2990678b5a6da59304e64fb15ce69c9395f6d217dcb6b"></a><!-- doxytag: member="Subscribed" ref="a47ab8dd08436f9d7c90d2990678b5a6da59304e64fb15ce69c9395f6d217dcb6b" args="" -->Subscribed</em> </td><td>
<p>The sender has allowed the recipient to receive their presence. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a47ab8dd08436f9d7c90d2990678b5a6da20986f18e387f68a5fdfa0e67c44bc44"></a><!-- doxytag: member="Unsubscribe" ref="a47ab8dd08436f9d7c90d2990678b5a6da20986f18e387f68a5fdfa0e67c44bc44" args="" -->Unsubscribe</em> </td><td>
<p>The sender is unsubscribing from another entity's presence. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a47ab8dd08436f9d7c90d2990678b5a6da63414092d2fc4b90987f56731c150623"></a><!-- doxytag: member="Unsubscribed" ref="a47ab8dd08436f9d7c90d2990678b5a6da63414092d2fc4b90987f56731c150623" args="" -->Unsubscribed</em> </td><td>
<p>The subscription request has been denied or a previously-granted subscription has been cancelled. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a47ab8dd08436f9d7c90d2990678b5a6da78bd49bb7dff200e67b1584aee994cd8"></a><!-- doxytag: member="Probe" ref="a47ab8dd08436f9d7c90d2990678b5a6da78bd49bb7dff200e67b1584aee994cd8" args="" -->Probe</em> </td><td>
<p>A request for an entity's current presence; SHOULD be generated only by a server on behalf of a user. </p>
</td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="a642a378dd425bbbda1de4317e2dcd199"></a><!-- doxytag: member="QXmppPresence::VCardUpdateType" ref="a642a378dd425bbbda1de4317e2dcd199" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">enum <a class="el" href="classQXmppPresence.html#a642a378dd425bbbda1de4317e2dcd199">QXmppPresence::VCardUpdateType</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<dl><dt><b>Enumerator: </b></dt><dd><table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"><em><a class="anchor" id="a642a378dd425bbbda1de4317e2dcd199ade94d49098994f9d9c63a2e3b26e85fe"></a><!-- doxytag: member="VCardUpdateNone" ref="a642a378dd425bbbda1de4317e2dcd199ade94d49098994f9d9c63a2e3b26e85fe" args="" -->VCardUpdateNone</em> </td><td>
<p>Protocol is not supported. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a642a378dd425bbbda1de4317e2dcd199a4d3c48d73da192a0054d24633622f564"></a><!-- doxytag: member="VCardUpdateNoPhoto" ref="a642a378dd425bbbda1de4317e2dcd199a4d3c48d73da192a0054d24633622f564" args="" -->VCardUpdateNoPhoto</em> </td><td>
<p>User is not using any image. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a642a378dd425bbbda1de4317e2dcd199a77b3104e5b50933e952dd82740bbe703"></a><!-- doxytag: member="VCardUpdateValidPhoto" ref="a642a378dd425bbbda1de4317e2dcd199a77b3104e5b50933e952dd82740bbe703" args="" -->VCardUpdateValidPhoto</em> </td><td>
<p>User is advertising an image. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a642a378dd425bbbda1de4317e2dcd199a628f45cf1da766418d773f83ba48af50"></a><!-- doxytag: member="VCardUpdateNotReady" ref="a642a378dd425bbbda1de4317e2dcd199a628f45cf1da766418d773f83ba48af50" args="" -->VCardUpdateNotReady</em> </td><td>
<p>User is not ready to advertise an image. </p>
<dl class="note"><dt><b>Note:</b></dt><dd>This enables recipients to distinguish between the absence of an image (empty photo element) and mere support for the protocol (empty update child). </dd></dl>
</td></tr>
</table>
</dd>
</dl>
</div>
</div>
<hr/><h2>Constructor & Destructor Documentation</h2>
<a class="anchor" id="a55df3a12d8d19870aa2c80bf132778c2"></a><!-- doxytag: member="QXmppPresence::QXmppPresence" ref="a55df3a12d8d19870aa2c80bf132778c2" args="(QXmppPresence::Type type=QXmppPresence::Available, const QXmppPresence::Status &status=QXmppPresence::Status())" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">QXmppPresence::QXmppPresence </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classQXmppPresence.html#a47ab8dd08436f9d7c90d2990678b5a6d">QXmppPresence::Type</a> </td>
<td class="paramname"> <em>type</em> = <code>QXmppPresence::Available</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classQXmppPresence_1_1Status.html">QXmppPresence::Status</a> & </td>
<td class="paramname"> <em>status</em> = <code><a class="el" href="classQXmppPresence_1_1Status.html">QXmppPresence::Status</a>()</code></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Constructs a <a class="el" href="classQXmppPresence.html" title="The QXmppPresence class represents an XMPP presence stanza.">QXmppPresence</a>.</p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>type</em> </td><td></td></tr>
<tr><td valign="top"></td><td valign="top"><em>status</em> </td><td></td></tr>
</table>
</dd>
</dl>
</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a2013bdab8a80ef7ed1c765d00f81ef86"></a><!-- doxytag: member="QXmppPresence::photoHash" ref="a2013bdab8a80ef7ed1c765d00f81ef86" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">QByteArray QXmppPresence::photoHash </td>
<td>(</td>
<td class="paramname"></td>
<td> ) </td>
<td> const</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Returns the photo-hash of the VCardUpdate.</p>
<dl class="return"><dt><b>Returns:</b></dt><dd>QByteArray </dd></dl>
</div>
</div>
<a class="anchor" id="ac1df0dc4749bac5370267a05101c84ca"></a><!-- doxytag: member="QXmppPresence::setPhotoHash" ref="ac1df0dc4749bac5370267a05101c84ca" args="(const QByteArray &)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void QXmppPresence::setPhotoHash </td>
<td>(</td>
<td class="paramtype">const QByteArray & </td>
<td class="paramname"> <em>photoHash</em></td>
<td> ) </td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Sets the photo-hash of the VCardUpdate.</p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>photoHash</em> </td><td>as QByteArray </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="ada057ee0be3be0b8b7e9d7067337ba66"></a><!-- doxytag: member="QXmppPresence::setStatus" ref="ada057ee0be3be0b8b7e9d7067337ba66" args="(const QXmppPresence::Status &)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void QXmppPresence::setStatus </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classQXmppPresence_1_1Status.html">QXmppPresence::Status</a> & </td>
<td class="paramname"> <em>status</em></td>
<td> ) </td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Sets the presence status.</p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>status</em> </td><td></td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="a011e173528a981f49c7940f77e66db36"></a><!-- doxytag: member="QXmppPresence::setType" ref="a011e173528a981f49c7940f77e66db36" args="(QXmppPresence::Type)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void QXmppPresence::setType </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classQXmppPresence.html#a47ab8dd08436f9d7c90d2990678b5a6d">QXmppPresence::Type</a> </td>
<td class="paramname"> <em>type</em></td>
<td> ) </td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Sets the presence type.</p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>type</em> </td><td></td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="a094e60c4acb919bb618e78d7be512755"></a><!-- doxytag: member="QXmppPresence::setVCardUpdateType" ref="a094e60c4acb919bb618e78d7be512755" args="(VCardUpdateType type)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void QXmppPresence::setVCardUpdateType </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classQXmppPresence.html#a642a378dd425bbbda1de4317e2dcd199">VCardUpdateType</a> </td>
<td class="paramname"> <em>type</em></td>
<td> ) </td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Sets the type of VCardUpdate</p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>type</em> </td><td>VCardUpdateType </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="a727e9f66d6287a963f344acd407dc1f2"></a><!-- doxytag: member="QXmppPresence::type" ref="a727e9f66d6287a963f344acd407dc1f2" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classQXmppPresence.html#a47ab8dd08436f9d7c90d2990678b5a6d">QXmppPresence::Type</a> QXmppPresence::type </td>
<td>(</td>
<td class="paramname"></td>
<td> ) </td>
<td> const</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Returns the presence type.</p>
<p>You can use this method to determine the action which needs to be taken in response to receiving the presence. For instance, if the type is <a class="el" href="classQXmppPresence.html#a47ab8dd08436f9d7c90d2990678b5a6daee4c403679460358c9002562794059d3" title="Signals that the sender is online and available for communication.">QXmppPresence::Available</a> or <a class="el" href="classQXmppPresence.html#a47ab8dd08436f9d7c90d2990678b5a6da6188ca67163c9045eb9568deefb9a363" title="Signals that the sender is no longer available for communication.">QXmppPresence::Unavailable</a>, you could update the icon representing a contact's availability. </p>
</div>
</div>
<a class="anchor" id="a6748358697aa99a65209c46eae053829"></a><!-- doxytag: member="QXmppPresence::vCardUpdateType" ref="a6748358697aa99a65209c46eae053829" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classQXmppPresence.html#a642a378dd425bbbda1de4317e2dcd199">QXmppPresence::VCardUpdateType</a> QXmppPresence::vCardUpdateType </td>
<td>(</td>
<td class="paramname"></td>
<td> ) </td>
<td> const</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Returns the type of VCardUpdate</p>
<dl class="return"><dt><b>Returns:</b></dt><dd>VCardUpdateType </dd></dl>
</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="QXmppPresence_8h_source.html">QXmppPresence.h</a></li>
<li>QXmppPresence.cpp</li>
</ul>
</div>
<!--- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark"> </span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark"> </span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark"> </span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark"> </span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark"> </span>Enumerator</a></div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<hr class="footer"/><address class="footer"><small>Generated by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.1 </small></address>
</body>
</html>
|