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
|
<!-- 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>
|