diff options
author | Javier <dev.git@javispedro.com> | 2015-12-13 03:18:09 +0100 |
---|---|---|
committer | Javier <dev.git@javispedro.com> | 2015-12-13 03:18:09 +0100 |
commit | 3340aa0ef68eb735c36185959c8dbd11178575bf (patch) | |
tree | cf424e206eb60b7ca9f99bf135ed8dae54d25259 /sapbtlistener.h | |
parent | f45294559f976258831821ada062c73965201150 (diff) | |
download | sapd-3340aa0ef68eb735c36185959c8dbd11178575bf.tar.gz sapd-3340aa0ef68eb735c36185959c8dbd11178575bf.zip |
Bump min Qt requirement to 5.2, bump libwatchfish version
Diffstat (limited to 'sapbtlistener.h')
-rw-r--r-- | sapbtlistener.h | 17 |
1 files changed, 1 insertions, 16 deletions
diff --git a/sapbtlistener.h b/sapbtlistener.h index 3fe821d..398eb1a 100644 --- a/sapbtlistener.h +++ b/sapbtlistener.h @@ -2,19 +2,8 @@ #define SAPBTLISTENER_H #include <QtCore/QObject> - -#if QT_VERSION >= QT_VERSION_CHECK(5,2,0) #include <QtBluetooth/QBluetoothServer> #include <QtBluetooth/QBluetoothServiceInfo> -#elif QT_VERSION >= QT_VERSION_CHECK(5,0,0) -#include <QtBluetooth/QRfcommServer> -#include <QtBluetooth/QBluetoothServiceInfo> -QT_USE_NAMESPACE_BLUETOOTH -#else -#include <QtConnectivity/QRfcommServer> -#include <QtConnectivity/QBluetoothServiceInfo> -QTM_USE_NAMESPACE -#endif class SAPBTListener : public QObject { @@ -35,15 +24,11 @@ private: private slots: void acceptConnection(); + void handleNudgeConnected(); void handleNudgeError(QBluetoothSocket::SocketError error); - private: -#if QT_VERSION >= QT_VERSION_CHECK(5,2,0) QBluetoothServer *_server; -#else - QRfcommServer *_server; -#endif QBluetoothServiceInfo _service; }; |