diff options
Diffstat (limited to 'examples/bluetooth/bttennis/tennisserver.h')
-rw-r--r-- | examples/bluetooth/bttennis/tennisserver.h | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/examples/bluetooth/bttennis/tennisserver.h b/examples/bluetooth/bttennis/tennisserver.h index ca9e542a..6bdb13cd 100644 --- a/examples/bluetooth/bttennis/tennisserver.h +++ b/examples/bluetooth/bttennis/tennisserver.h @@ -51,13 +51,11 @@ #include <QtCore/QTime> #include <QtCore/QTimer> -QT_BEGIN_NAMESPACE_BLUETOOTH -class QBluetoothServer; -class QBluetoothSocket; -class QBluetoothServiceInfo; -QT_END_NAMESPACE_BLUETOOTH +QT_FORWARD_DECLARE_CLASS(QBluetoothServer) +QT_FORWARD_DECLARE_CLASS(QBluetoothSocket) +QT_FORWARD_DECLARE_CLASS(QBluetoothServiceInfo) -QT_USE_NAMESPACE_BLUETOOTH +QT_USE_NAMESPACE //! [declaration] class TennisServer : public QObject |