aboutsummaryrefslogtreecommitdiff
path: root/examples/example_4_callHandling/xmppClient.h
diff options
context:
space:
mode:
authorJeremy Lainé <jeremy.laine@m4x.org>2011-05-03 11:06:02 +0000
committerJeremy Lainé <jeremy.laine@m4x.org>2011-05-03 11:06:02 +0000
commit249aaaf51d866f1949b41849e4f3f43af522d8a0 (patch)
treea706b55aef3b72038a97333dac33c2575c575cd8 /examples/example_4_callHandling/xmppClient.h
parentcb5db292aacff60c134c1c7e1f844a9842de5132 (diff)
downloadqxmpp-249aaaf51d866f1949b41849e4f3f43af522d8a0.tar.gz
update calls example
Diffstat (limited to 'examples/example_4_callHandling/xmppClient.h')
-rw-r--r--examples/example_4_callHandling/xmppClient.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/examples/example_4_callHandling/xmppClient.h b/examples/example_4_callHandling/xmppClient.h
index 6733164b..bc097430 100644
--- a/examples/example_4_callHandling/xmppClient.h
+++ b/examples/example_4_callHandling/xmppClient.h
@@ -25,11 +25,9 @@
#ifndef XMPPCLIENT_H
#define XMPPCLIENT_H
+#include "QXmppCallManager.h"
#include "QXmppClient.h"
-class QXmppCall;
-class QXmppCallManager;
-
class xmppClient : public QXmppClient
{
Q_OBJECT
@@ -38,9 +36,9 @@ public:
xmppClient(QObject *parent = 0);
private slots:
+ void slotAudioModeChanged(QIODevice::OpenMode mode);
void slotCallReceived(QXmppCall *call);
- void slotConnected();
- void slotFinished();
+ void slotCallStateChanged(QXmppCall::State state);
void slotPresenceReceived(const QXmppPresence &presence);
private: