summaryrefslogtreecommitdiffstats
path: root/examples/bluetooth/btchat/chatclient.h
diff options
context:
space:
mode:
Diffstat (limited to 'examples/bluetooth/btchat/chatclient.h')
-rw-r--r--examples/bluetooth/btchat/chatclient.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/examples/bluetooth/btchat/chatclient.h b/examples/bluetooth/btchat/chatclient.h
index 4a029fe0..07f23164 100644
--- a/examples/bluetooth/btchat/chatclient.h
+++ b/examples/bluetooth/btchat/chatclient.h
@@ -45,11 +45,9 @@
#include <QtCore/QObject>
-QT_BEGIN_NAMESPACE_BLUETOOTH
-class QBluetoothSocket;
-QT_END_NAMESPACE_BLUETOOTH
+QT_FORWARD_DECLARE_CLASS(QBluetoothSocket)
-QT_USE_NAMESPACE_BLUETOOTH
+QT_USE_NAMESPACE
//! [declaration]
class ChatClient : public QObject