diff options
| author | Manjeet Dahiya <manjeetdahiya@gmail.com> | 2010-08-21 19:15:30 +0000 |
|---|---|---|
| committer | Manjeet Dahiya <manjeetdahiya@gmail.com> | 2010-08-21 19:15:30 +0000 |
| commit | 93adc6aec9ba4671884d9692308b239d3064e553 (patch) | |
| tree | a5906e560045c841577473a9118ef06a39950a73 /doc/html/QXmppClient_8h_source.html | |
| parent | ef6125a784d3b5205e92d01edf3c348cc4a473a4 (diff) | |
| download | qxmpp-93adc6aec9ba4671884d9692308b239d3064e553.tar.gz | |
add doc html
Diffstat (limited to 'doc/html/QXmppClient_8h_source.html')
| -rw-r--r-- | doc/html/QXmppClient_8h_source.html | 240 |
1 files changed, 240 insertions, 0 deletions
diff --git a/doc/html/QXmppClient_8h_source.html b/doc/html/QXmppClient_8h_source.html new file mode 100644 index 00000000..42fb64dd --- /dev/null +++ b/doc/html/QXmppClient_8h_source.html @@ -0,0 +1,240 @@ +<!-- This comment will put IE 6, 7 and 8 in quirks mode --> +<!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: QXmppClient.h Source File</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.6.1 --> +<script type="text/javascript"><!-- +var searchBox = new SearchBox("searchBox", "search",false,'Search'); +--></script> +<div class="navigation" id="top"> + <div class="tabs"> + <ul> + <li><a href="index.html"><span>Main Page</span></a></li> + <li><a href="modules.html"><span>Modules</span></a></li> + <li><a href="annotated.html"><span>Classes</span></a></li> + <li class="current"><a href="files.html"><span>Files</span></a></li> + <li> + <div id="MSearchBox" class="MSearchBoxInactive"> + <img id="MSearchSelect" src="search/search.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)"/> + <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a> + </div> + </li> + </ul> + </div> + <div class="tabs"> + <ul> + <li><a href="files.html"><span>File List</span></a></li> + </ul> + </div> +<h1>QXmppClient.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/*</span> +<a name="l00002"></a>00002 <span class="comment"> * Copyright (C) 2008-2010 The QXmpp developers</span> +<a name="l00003"></a>00003 <span class="comment"> *</span> +<a name="l00004"></a>00004 <span class="comment"> * Author:</span> +<a name="l00005"></a>00005 <span class="comment"> * Manjeet Dahiya</span> +<a name="l00006"></a>00006 <span class="comment"> *</span> +<a name="l00007"></a>00007 <span class="comment"> * Source:</span> +<a name="l00008"></a>00008 <span class="comment"> * http://code.google.com/p/qxmpp</span> +<a name="l00009"></a>00009 <span class="comment"> *</span> +<a name="l00010"></a>00010 <span class="comment"> * This file is a part of QXmpp library.</span> +<a name="l00011"></a>00011 <span class="comment"> *</span> +<a name="l00012"></a>00012 <span class="comment"> * This library is free software; you can redistribute it and/or</span> +<a name="l00013"></a>00013 <span class="comment"> * modify it under the terms of the GNU Lesser General Public</span> +<a name="l00014"></a>00014 <span class="comment"> * License as published by the Free Software Foundation; either</span> +<a name="l00015"></a>00015 <span class="comment"> * version 2.1 of the License, or (at your option) any later version.</span> +<a name="l00016"></a>00016 <span class="comment"> *</span> +<a name="l00017"></a>00017 <span class="comment"> * This library is distributed in the hope that it will be useful,</span> +<a name="l00018"></a>00018 <span class="comment"> * but WITHOUT ANY WARRANTY; without even the implied warranty of</span> +<a name="l00019"></a>00019 <span class="comment"> * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU</span> +<a name="l00020"></a>00020 <span class="comment"> * Lesser General Public License for more details.</span> +<a name="l00021"></a>00021 <span class="comment"> *</span> +<a name="l00022"></a>00022 <span class="comment"> */</span> +<a name="l00023"></a>00023 +<a name="l00024"></a>00024 <span class="preprocessor">#ifndef QXMPPCLIENT_H</span> +<a name="l00025"></a>00025 <span class="preprocessor"></span><span class="preprocessor">#define QXMPPCLIENT_H</span> +<a name="l00026"></a>00026 <span class="preprocessor"></span> +<a name="l00027"></a>00027 <span class="preprocessor">#include <QObject></span> +<a name="l00028"></a>00028 <span class="preprocessor">#include <QTcpSocket></span> +<a name="l00029"></a>00029 <span class="preprocessor">#include <QHash></span> +<a name="l00030"></a>00030 <span class="preprocessor">#include <QVariant></span> +<a name="l00031"></a>00031 +<a name="l00032"></a>00032 <span class="preprocessor">#include "QXmppConfiguration.h"</span> +<a name="l00033"></a>00033 <span class="preprocessor">#include "QXmppLogger.h"</span> +<a name="l00034"></a>00034 <span class="preprocessor">#include "QXmppPresence.h"</span> +<a name="l00035"></a>00035 +<a name="l00036"></a>00036 <span class="keyword">class </span>QXmppClientPrivate; +<a name="l00037"></a>00037 <span class="keyword">class </span><a class="code" href="classQXmppPresence.html" title="The QXmppPresence class represents an XMPP presence stanza.">QXmppPresence</a>; +<a name="l00038"></a>00038 <span class="keyword">class </span><a class="code" href="classQXmppMessage.html" title="The QXmppMessage class represents an XMPP message.">QXmppMessage</a>; +<a name="l00039"></a>00039 <span class="keyword">class </span>QXmppPacket; +<a name="l00040"></a>00040 <span class="keyword">class </span><a class="code" href="classQXmppIq.html" title="The QXmppIq class is the base class for all IQs.">QXmppIq</a>; +<a name="l00041"></a>00041 <span class="keyword">class </span><a class="code" href="classQXmppInvokable.html">QXmppInvokable</a>; +<a name="l00042"></a>00042 <span class="keyword">class </span><a class="code" href="classQXmppRpcInvokeIq.html" title="The QXmppRpcInvokeIq class represents an IQ used to carry an RPC invocation as specified...">QXmppRpcInvokeIq</a>; +<a name="l00043"></a>00043 <span class="keyword">class </span>QXmppRemoteMethod; +<a name="l00044"></a>00044 <span class="keyword">struct </span>QXmppRemoteMethodResult; +<a name="l00045"></a>00045 +<a name="l00046"></a>00046 <span class="comment">// managers</span> +<a name="l00047"></a>00047 <span class="keyword">class </span><a class="code" href="classQXmppArchiveManager.html" title="The QXmppArchiveManager class makes it possible to access message archives as defined...">QXmppArchiveManager</a>; +<a name="l00048"></a>00048 <span class="keyword">class </span><a class="code" href="classQXmppCallManager.html" title="The QXmppCallManager class provides support for making and receiving voice calls...">QXmppCallManager</a>; +<a name="l00049"></a>00049 <span class="keyword">class </span>QXmppDiscoveryIq; +<a name="l00050"></a>00050 <span class="keyword">class </span><a class="code" href="classQXmppMucManager.html" title="The QXmppMucManager class makes it possible to interact with multi-user chat rooms...">QXmppMucManager</a>; +<a name="l00051"></a>00051 <span class="keyword">class </span>QXmppReconnectionManager; +<a name="l00052"></a>00052 <span class="keyword">class </span><a class="code" href="classQXmppRosterManager.html" title="The QXmppRosterManager class provides access to a connected client&#39;s roster.">QXmppRosterManager</a>; +<a name="l00053"></a>00053 <span class="keyword">class </span><a class="code" href="classQXmppTransferManager.html" title="The QXmppTransferManager class provides support for sending and receiving files.">QXmppTransferManager</a>; +<a name="l00054"></a>00054 <span class="keyword">class </span><a class="code" href="classQXmppVCardManager.html" title="The QXmppVCardManager gets/sets XMPP vCards. It is an implentation of XEP-0054: vcard-temp...">QXmppVCardManager</a>; +<a name="l00055"></a>00055 +<a name="l00057"></a>00057 +<a name="l00059"></a>00059 +<a name="l00077"></a>00077 +<a name="l00078"></a><a class="code" href="classQXmppClient.html">00078</a> <span class="keyword">class </span><a class="code" href="classQXmppClient.html" title="The QXmppClient class is the main class for using QXmpp.">QXmppClient</a> : <span class="keyword">public</span> QObject +<a name="l00079"></a>00079 { +<a name="l00080"></a>00080 Q_OBJECT +<a name="l00081"></a>00081 +<a name="l00082"></a>00082 <span class="keyword">public</span>: +<a name="l00085"></a><a class="code" href="classQXmppClient.html#a7c2851d07cc33119752abc6ec8ffc47a">00085</a> <span class="keyword">enum</span> <a class="code" href="classQXmppClient.html#a7c2851d07cc33119752abc6ec8ffc47a">Error</a> +<a name="l00086"></a>00086 { +<a name="l00087"></a><a class="code" href="classQXmppClient.html#a7c2851d07cc33119752abc6ec8ffc47aac48e9688ca9dce21676283ada1172863">00087</a> <a class="code" href="classQXmppClient.html#a7c2851d07cc33119752abc6ec8ffc47aac48e9688ca9dce21676283ada1172863" title="Error due to TCP socket.">SocketError</a>, +<a name="l00088"></a><a class="code" href="classQXmppClient.html#a7c2851d07cc33119752abc6ec8ffc47aa9b8aabc7956d082a04b4d0ed879564aa">00088</a> <a class="code" href="classQXmppClient.html#a7c2851d07cc33119752abc6ec8ffc47aa9b8aabc7956d082a04b4d0ed879564aa" title="Error due to no response to a keep alive.">KeepAliveError</a>, +<a name="l00089"></a><a class="code" href="classQXmppClient.html#a7c2851d07cc33119752abc6ec8ffc47aa29f30662c97dc09858f1d7e80eb1825a">00089</a> <a class="code" href="classQXmppClient.html#a7c2851d07cc33119752abc6ec8ffc47aa29f30662c97dc09858f1d7e80eb1825a" title="Error due to XML stream.">XmppStreamError</a>, +<a name="l00090"></a>00090 }; +<a name="l00091"></a>00091 +<a name="l00092"></a>00092 <a class="code" href="classQXmppClient.html#a6ba469fd893d18ae14a709c5d040b623">QXmppClient</a>(QObject *parent = 0); +<a name="l00093"></a>00093 <a class="code" href="classQXmppClient.html#ac3827e343aa04eefe030d9307b273f08">~QXmppClient</a>(); +<a name="l00094"></a>00094 <span class="keywordtype">void</span> <a class="code" href="classQXmppClient.html#a8221c7a98bf2c31cf7ddcf6541388cca">connectToServer</a>(<span class="keyword">const</span> QString& host, +<a name="l00095"></a>00095 <span class="keyword">const</span> QString& user, +<a name="l00096"></a>00096 <span class="keyword">const</span> QString& passwd, +<a name="l00097"></a>00097 <span class="keyword">const</span> QString& domain, +<a name="l00098"></a>00098 <span class="keywordtype">int</span> port = 5222, +<a name="l00099"></a>00099 <span class="keyword">const</span> <a class="code" href="classQXmppPresence.html" title="The QXmppPresence class represents an XMPP presence stanza.">QXmppPresence</a>& initialPresence = +<a name="l00100"></a>00100 <a class="code" href="classQXmppPresence.html" title="The QXmppPresence class represents an XMPP presence stanza.">QXmppPresence</a>()); +<a name="l00101"></a>00101 <span class="keywordtype">void</span> <a class="code" href="classQXmppClient.html#a8221c7a98bf2c31cf7ddcf6541388cca">connectToServer</a>(<span class="keyword">const</span> QString& host, +<a name="l00102"></a>00102 <span class="keyword">const</span> QString& bareJid, +<a name="l00103"></a>00103 <span class="keyword">const</span> QString& passwd, +<a name="l00104"></a>00104 <span class="keywordtype">int</span> port = 5222, +<a name="l00105"></a>00105 <span class="keyword">const</span> <a class="code" href="classQXmppPresence.html" title="The QXmppPresence class represents an XMPP presence stanza.">QXmppPresence</a>& initialPresence = +<a name="l00106"></a>00106 <a class="code" href="classQXmppPresence.html" title="The QXmppPresence class represents an XMPP presence stanza.">QXmppPresence</a>()); +<a name="l00107"></a>00107 <span class="keywordtype">void</span> <a class="code" href="classQXmppClient.html#a8221c7a98bf2c31cf7ddcf6541388cca">connectToServer</a>(<span class="keyword">const</span> <a class="code" href="classQXmppConfiguration.html" title="The QXmppConfiguration class holds configuration options.">QXmppConfiguration</a>&, +<a name="l00108"></a>00108 <span class="keyword">const</span> <a class="code" href="classQXmppPresence.html" title="The QXmppPresence class represents an XMPP presence stanza.">QXmppPresence</a>& initialPresence = +<a name="l00109"></a>00109 <a class="code" href="classQXmppPresence.html" title="The QXmppPresence class represents an XMPP presence stanza.">QXmppPresence</a>()); +<a name="l00110"></a>00110 <span class="keywordtype">void</span> <a class="code" href="classQXmppClient.html#a685f42452acbba55f3b15669fa76282d">disconnectFromServer</a>(); +<a name="l00111"></a>00111 <span class="keywordtype">bool</span> <a class="code" href="classQXmppClient.html#adf54b0085d8a7fc81c05973973fa4a04">isConnected</a>() <span class="keyword">const</span>; +<a name="l00112"></a>00112 +<a name="l00113"></a>00113 <a class="code" href="classQXmppPresence.html" title="The QXmppPresence class represents an XMPP presence stanza.">QXmppPresence</a> <a class="code" href="classQXmppClient.html#a2f7f555d11d5c45772d31d66834d7610">clientPresence</a>() <span class="keyword">const</span>; +<a name="l00114"></a>00114 <span class="keywordtype">void</span> <a class="code" href="classQXmppClient.html#ad47d8d9bd5e44dd2566ff0d726b1e71b">setClientPresence</a>(<span class="keyword">const</span> <a class="code" href="classQXmppPresence.html" title="The QXmppPresence class represents an XMPP presence stanza.">QXmppPresence</a> &presence); +<a name="l00115"></a>00115 +<a name="l00116"></a>00116 <a class="code" href="classQXmppConfiguration.html" title="The QXmppConfiguration class holds configuration options.">QXmppConfiguration</a> &<a class="code" href="classQXmppClient.html#a1cd44e6c54b54be4bf50cf3559786476">configuration</a>(); +<a name="l00117"></a>00117 <a class="code" href="classQXmppLogger.html" title="The QXmppLogger class represents a sink for logging messages.">QXmppLogger</a> *<a class="code" href="classQXmppClient.html#a449857024d10b08c017041b5f5ffe41b" title="Returns the QXmppLogger associated with the current QXmppClient.">logger</a>(); +<a name="l00118"></a>00118 <span class="keywordtype">void</span> <a class="code" href="classQXmppClient.html#aa799549089f2ecbe9796f53d0f7be6d2" title="Sets the QXmppLogger associated with the current QXmppClient.">setLogger</a>(<a class="code" href="classQXmppLogger.html" title="The QXmppLogger class represents a sink for logging messages.">QXmppLogger</a> *<a class="code" href="classQXmppClient.html#a449857024d10b08c017041b5f5ffe41b" title="Returns the QXmppLogger associated with the current QXmppClient.">logger</a>); +<a name="l00119"></a>00119 +<a name="l00120"></a>00120 QAbstractSocket::SocketError <a class="code" href="classQXmppClient.html#a2b044b37ce88a2f2e65833b3d6e57a9f">socketError</a>(); +<a name="l00121"></a>00121 QXmppStanza::Error::Condition <a class="code" href="classQXmppClient.html#af3a18178f3349e668f09ee46ba7d48db">xmppStreamError</a>(); +<a name="l00122"></a>00122 +<a name="l00123"></a>00123 <a class="code" href="classQXmppArchiveManager.html" title="The QXmppArchiveManager class makes it possible to access message archives as defined...">QXmppArchiveManager</a>& <a class="code" href="classQXmppClient.html#a07e34258b8348c50e5304a246440bb7e">archiveManager</a>(); +<a name="l00124"></a>00124 <a class="code" href="classQXmppCallManager.html" title="The QXmppCallManager class provides support for making and receiving voice calls...">QXmppCallManager</a>& <a class="code" href="classQXmppClient.html#af208295658cf758592f5f1973a00b713">callManager</a>(); +<a name="l00125"></a>00125 <a class="code" href="classQXmppMucManager.html" title="The QXmppMucManager class makes it possible to interact with multi-user chat rooms...">QXmppMucManager</a>& <a class="code" href="classQXmppClient.html#a7c98ef26efed422be5e051d5f9fb611f">mucManager</a>(); +<a name="l00126"></a>00126 <a class="code" href="classQXmppRosterManager.html" title="The QXmppRosterManager class provides access to a connected client&#39;s roster.">QXmppRosterManager</a>& <a class="code" href="classQXmppClient.html#a6a0bb409bad66a4f5ea91056ee190ad4">rosterManager</a>(); +<a name="l00127"></a>00127 <a class="code" href="classQXmppTransferManager.html" title="The QXmppTransferManager class provides support for sending and receiving files.">QXmppTransferManager</a>& <a class="code" href="classQXmppClient.html#a0c6d81a05ce970ce72fd74afe31b9c95">transferManager</a>(); +<a name="l00128"></a>00128 <a class="code" href="classQXmppVCardManager.html" title="The QXmppVCardManager gets/sets XMPP vCards. It is an implentation of XEP-0054: vcard-temp...">QXmppVCardManager</a>& <a class="code" href="classQXmppClient.html#ab0db5aa6c6727d606497d8e3e84a3bf4">vCardManager</a>(); +<a name="l00129"></a>00129 +<a name="l00130"></a>00130 QXmppReconnectionManager* <a class="code" href="classQXmppClient.html#a90b0733ffa8b3d8a3922cb54bc6426cc">reconnectionManager</a>(); +<a name="l00131"></a>00131 <span class="keywordtype">bool</span> <a class="code" href="classQXmppClient.html#ab1cdd29f5faeade87e097076125e6752">setReconnectionManager</a>(QXmppReconnectionManager*); +<a name="l00132"></a>00132 +<a name="l00134"></a>00134 <span class="comment">// FIXME: these methods are not in keeping with the "manager" approach,</span> +<a name="l00135"></a>00135 <span class="comment">// the whole RPC support either needs some love or should be pulled.</span> +<a name="l00136"></a>00136 <span class="keywordtype">void</span> addInvokableInterface( <a class="code" href="classQXmppInvokable.html">QXmppInvokable</a> *interface ); +<a name="l00137"></a>00137 QXmppRemoteMethodResult callRemoteMethod( <span class="keyword">const</span> QString &jid, +<a name="l00138"></a>00138 <span class="keyword">const</span> QString &interface, +<a name="l00139"></a>00139 <span class="keyword">const</span> QVariant &arg1 = QVariant(), +<a name="l00140"></a>00140 <span class="keyword">const</span> QVariant &arg2 = QVariant(), +<a name="l00141"></a>00141 <span class="keyword">const</span> QVariant &arg3 = QVariant(), +<a name="l00142"></a>00142 <span class="keyword">const</span> QVariant &arg4 = QVariant(), +<a name="l00143"></a>00143 <span class="keyword">const</span> QVariant &arg5 = QVariant(), +<a name="l00144"></a>00144 <span class="keyword">const</span> QVariant &arg6 = QVariant(), +<a name="l00145"></a>00145 <span class="keyword">const</span> QVariant &arg7 = QVariant(), +<a name="l00146"></a>00146 <span class="keyword">const</span> QVariant &arg8 = QVariant(), +<a name="l00147"></a>00147 <span class="keyword">const</span> QVariant &arg9 = QVariant(), +<a name="l00148"></a>00148 <span class="keyword">const</span> QVariant &arg10 = QVariant() ); +<a name="l00149"></a>00149 +<a name="l00150"></a>00150 <span class="comment">// deprecated accessors, use the form without "get" instead</span> +<a name="l00151"></a>00151 <span class="keyword">const</span> <a class="code" href="classQXmppPresence.html" title="The QXmppPresence class represents an XMPP presence stanza.">QXmppPresence</a> Q_DECL_DEPRECATED & getClientPresence() <span class="keyword">const</span>; +<a name="l00152"></a>00152 <a class="code" href="classQXmppConfiguration.html" title="The QXmppConfiguration class holds configuration options.">QXmppConfiguration</a> Q_DECL_DEPRECATED & getConfiguration(); +<a name="l00153"></a>00153 <span class="keyword">const</span> <a class="code" href="classQXmppConfiguration.html" title="The QXmppConfiguration class holds configuration options.">QXmppConfiguration</a> Q_DECL_DEPRECATED & getConfiguration() <span class="keyword">const</span>; +<a name="l00154"></a>00154 QXmppReconnectionManager* Q_DECL_DEPRECATED getReconnectionManager(); +<a name="l00155"></a>00155 <a class="code" href="classQXmppRosterManager.html" title="The QXmppRosterManager class provides access to a connected client&#39;s roster.">QXmppRosterManager</a> Q_DECL_DEPRECATED & getRoster(); +<a name="l00156"></a>00156 <a class="code" href="classQXmppVCardManager.html" title="The QXmppVCardManager gets/sets XMPP vCards. It is an implentation of XEP-0054: vcard-temp...">QXmppVCardManager</a> Q_DECL_DEPRECATED & getVCardManager(); +<a name="l00157"></a>00157 QAbstractSocket::SocketError Q_DECL_DEPRECATED getSocketError(); +<a name="l00158"></a>00158 QXmppStanza::Error::Condition Q_DECL_DEPRECATED getXmppStreamError(); +<a name="l00159"></a>00159 +<a name="l00161"></a>00161 <span class="keywordtype">void</span> Q_DECL_DEPRECATED disconnect(); +<a name="l00162"></a>00162 +<a name="l00163"></a>00163 <span class="comment">// deprecated methods, use setClientPresence(QXmppPresence) instead.</span> +<a name="l00164"></a>00164 <span class="keywordtype">void</span> Q_DECL_DEPRECATED <a class="code" href="classQXmppClient.html#ad47d8d9bd5e44dd2566ff0d726b1e71b">setClientPresence</a>(<span class="keyword">const</span> QString& statusText); +<a name="l00165"></a>00165 <span class="keywordtype">void</span> Q_DECL_DEPRECATED <a class="code" href="classQXmppClient.html#ad47d8d9bd5e44dd2566ff0d726b1e71b">setClientPresence</a>(QXmppPresence::Type presenceType); +<a name="l00166"></a>00166 <span class="keywordtype">void</span> Q_DECL_DEPRECATED <a class="code" href="classQXmppClient.html#ad47d8d9bd5e44dd2566ff0d726b1e71b">setClientPresence</a>(QXmppPresence::Status::Type statusType); +<a name="l00168"></a>00168 +<a name="l00169"></a>00169 signals: +<a name="l00170"></a>00170 +<a name="l00190"></a>00190 <span class="keywordtype">void</span> <a class="code" href="classQXmppClient.html#a46e84c5280564cdc2d60307309f97b92">connected</a>(); +<a name="l00191"></a>00191 +<a name="l00194"></a>00194 <span class="keywordtype">void</span> <a class="code" href="classQXmppClient.html#ad0451ed72955dba436c7b97ad2c9ac82">disconnected</a>(); +<a name="l00195"></a>00195 +<a name="l00201"></a>00201 <span class="keywordtype">void</span> <a class="code" href="classQXmppClient.html#a2bac100e40a909c860a3397643349937">error</a>(<a class="code" href="classQXmppClient.html#a7c2851d07cc33119752abc6ec8ffc47a">QXmppClient::Error</a>); +<a name="l00202"></a>00202 +<a name="l00213"></a>00213 <span class="keywordtype">void</span> <a class="code" href="classQXmppClient.html#a175cae14ccfa293659d6514d92401d64">elementReceived</a>(<span class="keyword">const</span> QDomElement &element, <span class="keywordtype">bool</span> &handled); +<a name="l00214"></a>00214 +<a name="l00219"></a>00219 <span class="keywordtype">void</span> <a class="code" href="classQXmppClient.html#a23ece134b6e4b6b37e7d4f2bd10425d4">messageReceived</a>(<span class="keyword">const</span> <a class="code" href="classQXmppMessage.html" title="The QXmppMessage class represents an XMPP message.">QXmppMessage</a>&); +<a name="l00220"></a>00220 +<a name="l00225"></a>00225 <span class="keywordtype">void</span> <a class="code" href="classQXmppClient.html#ad80d3cb7b9d53a69e0caa711e5558123">presenceReceived</a>(<span class="keyword">const</span> <a class="code" href="classQXmppPresence.html" title="The QXmppPresence class represents an XMPP presence stanza.">QXmppPresence</a>&); +<a name="l00226"></a>00226 +<a name="l00231"></a>00231 <span class="keywordtype">void</span> <a class="code" href="classQXmppClient.html#a5b1f500be64f6bd7e957fa9b80766e37">iqReceived</a>(<span class="keyword">const</span> <a class="code" href="classQXmppIq.html" title="The QXmppIq class is the base class for all IQs.">QXmppIq</a>&); +<a name="l00232"></a>00232 +<a name="l00234"></a>00234 <span class="keywordtype">void</span> <a class="code" href="classQXmppClient.html#a39e3779864a9dabf939a69ab1d24c81f" title="Notifies that an XMPP service discovery iq stanza is received.">discoveryIqReceived</a>(<span class="keyword">const</span> QXmppDiscoveryIq&); +<a name="l00235"></a>00235 +<a name="l00237"></a>00237 <span class="keywordtype">void</span> <a class="code" href="classQXmppClient.html#a2636ab4591d9b7ca3e03538893fcf29d" title="This signal is emitted to send logging messages.">logMessage</a>(<a class="code" href="classQXmppLogger.html#a932dbbd4f70a1e9c0ff8f452e61fc9b8" title="This enum describes a type of log message.">QXmppLogger::MessageType</a> type, <span class="keyword">const</span> QString &msg); +<a name="l00238"></a>00238 +<a name="l00239"></a>00239 <span class="keyword">public</span> slots: +<a name="l00240"></a>00240 <span class="keywordtype">bool</span> <a class="code" href="classQXmppClient.html#ae1c78c51b831a69ee0369ec66ce98d6f">sendPacket</a>(<span class="keyword">const</span> QXmppPacket&); +<a name="l00241"></a>00241 <span class="keywordtype">void</span> <a class="code" href="classQXmppClient.html#a44d230e24954da4a05e661318494fce4">sendMessage</a>(<span class="keyword">const</span> QString& bareJid, <span class="keyword">const</span> QString& message); +<a name="l00242"></a>00242 +<a name="l00243"></a>00243 <span class="keyword">private</span> slots: +<a name="l00244"></a>00244 <span class="keywordtype">void</span> invokeInterfaceMethod( <span class="keyword">const</span> <a class="code" href="classQXmppRpcInvokeIq.html" title="The QXmppRpcInvokeIq class represents an IQ used to carry an RPC invocation as specified...">QXmppRpcInvokeIq</a> &iq ); +<a name="l00245"></a>00245 <span class="keywordtype">void</span> xmppConnected(); +<a name="l00246"></a>00246 +<a name="l00247"></a>00247 <span class="keyword">private</span>: +<a name="l00248"></a>00248 QXmppClientPrivate * <span class="keyword">const</span> d; +<a name="l00249"></a>00249 }; +<a name="l00250"></a>00250 +<a name="l00251"></a>00251 <span class="preprocessor">#endif // QXMPPCLIENT_H</span> +</pre></div></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 size="1"/><address style="text-align: right;"><small>Generated on Sun Aug 22 00:44:23 2010 for QXmpp by +<a href="http://www.doxygen.org/index.html"> +<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address> +</body> +</html> |
