diff options
Diffstat (limited to 'src/bluetooth/qbluetoothserver_p.h')
-rw-r--r-- | src/bluetooth/qbluetoothserver_p.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/bluetooth/qbluetoothserver_p.h b/src/bluetooth/qbluetoothserver_p.h index 833c781b..4abadc72 100644 --- a/src/bluetooth/qbluetoothserver_p.h +++ b/src/bluetooth/qbluetoothserver_p.h @@ -57,7 +57,7 @@ #include "qbluetoothserver.h" #include "qbluetooth.h" -#ifdef QT_BLUEZ_BLUETOOTH +#if QT_CONFIG(bluez) QT_FORWARD_DECLARE_CLASS(QSocketNotifier) #endif @@ -92,7 +92,7 @@ public: QBluetoothServerPrivate(QBluetoothServiceInfo::Protocol serverType); ~QBluetoothServerPrivate(); -#ifdef QT_BLUEZ_BLUETOOTH +#if QT_CONFIG(bluez) void _q_newConnection(); void setSocketSecurityLevel(QBluetooth::SecurityFlags requestedSecLevel, int *errnoCode); QBluetooth::SecurityFlags socketSecurityLevel() const; @@ -110,7 +110,7 @@ protected: private: QBluetoothServer::Error m_lastError; -#if defined(QT_BLUEZ_BLUETOOTH) +#if QT_CONFIG(bluez) QSocketNotifier *socketNotifier; #elif defined(QT_ANDROID_BLUETOOTH) ServerAcceptanceThread *thread; |