summaryrefslogtreecommitdiff
path: root/sapbtlistener.h
diff options
context:
space:
mode:
Diffstat (limited to 'sapbtlistener.h')
-rw-r--r--sapbtlistener.h35
1 files changed, 0 insertions, 35 deletions
diff --git a/sapbtlistener.h b/sapbtlistener.h
deleted file mode 100644
index 398eb1a..0000000
--- a/sapbtlistener.h
+++ /dev/null
@@ -1,35 +0,0 @@
-#ifndef SAPBTLISTENER_H
-#define SAPBTLISTENER_H
-
-#include <QtCore/QObject>
-#include <QtBluetooth/QBluetoothServer>
-#include <QtBluetooth/QBluetoothServiceInfo>
-
-class SAPBTListener : public QObject
-{
- Q_OBJECT
-public:
- explicit SAPBTListener(QObject *parent = 0);
- ~SAPBTListener();
-
-signals:
-
-public slots:
- void start();
- void stop();
-
- void nudge(const QBluetoothAddress &address);
-
-private:
-
-private slots:
- void acceptConnection();
- void handleNudgeConnected();
- void handleNudgeError(QBluetoothSocket::SocketError error);
-
-private:
- QBluetoothServer *_server;
- QBluetoothServiceInfo _service;
-};
-
-#endif // SAPBTLISTENER_H