aboutsummaryrefslogtreecommitdiff
path: root/examples/example_4_callHandling/example_4_callHandling.h
diff options
context:
space:
mode:
Diffstat (limited to 'examples/example_4_callHandling/example_4_callHandling.h')
-rw-r--r--examples/example_4_callHandling/example_4_callHandling.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/examples/example_4_callHandling/example_4_callHandling.h b/examples/example_4_callHandling/example_4_callHandling.h
index 788d932c..e1287016 100644
--- a/examples/example_4_callHandling/example_4_callHandling.h
+++ b/examples/example_4_callHandling/example_4_callHandling.h
@@ -27,6 +27,9 @@
#include "QXmppCallManager.h"
#include "QXmppClient.h"
+#include "qdnslookup.h"
+
+class QHostInfo;
class xmppClient : public QXmppClient
{
@@ -40,11 +43,16 @@ private slots:
void slotAudioModeChanged(QIODevice::OpenMode mode);
void slotCallReceived(QXmppCall *call);
void slotCallStateChanged(QXmppCall::State state);
+ void slotConnected();
+ void slotDnsLookupFinished();
+ void slotHostInfoFinished(const QHostInfo &hostInfo);
void slotPresenceReceived(const QXmppPresence &presence);
private:
QXmppCallManager *callManager;
+ QDnsLookup m_dns;
QString m_recipient;
+ quint16 m_turnPort;
};
#endif // IBBCLIENT_H