summaryrefslogtreecommitdiffstats
path: root/src/bluetooth/qlowenergyserviceinfo_p.h
diff options
context:
space:
mode:
authorNedim Hadzic <nhadzic@blackberry.com>2014-03-12 13:53:59 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-03-14 12:50:51 +0100
commit140e8172f7cb8b2482d626aaf3af2f1d032070ea (patch)
treea17debeace5a4901301f6bf1773c424a14bede4a /src/bluetooth/qlowenergyserviceinfo_p.h
parent4439541b05ae88a30159a5597d40f569328783ca (diff)
QNX BLE communication moved to controller class
Moving communication with device to QLowEnergyController class. Change-Id: Id783d3aac81c215fbda7c1390bb2abf8ecd2fb2a Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
Diffstat (limited to 'src/bluetooth/qlowenergyserviceinfo_p.h')
-rw-r--r--src/bluetooth/qlowenergyserviceinfo_p.h15
1 files changed, 1 insertions, 14 deletions
diff --git a/src/bluetooth/qlowenergyserviceinfo_p.h b/src/bluetooth/qlowenergyserviceinfo_p.h
index d033a613..cee55534 100644
--- a/src/bluetooth/qlowenergyserviceinfo_p.h
+++ b/src/bluetooth/qlowenergyserviceinfo_p.h
@@ -57,9 +57,8 @@ class QLowEnergyServiceInfo;
class QLowEnergyCharacteristicInfo;
class QLowEnergyProcess;
-class QLowEnergyServiceInfoPrivate: public QObject
+class QLowEnergyServiceInfoPrivate
{
- Q_OBJECT
friend class QLowEnergyControllerPrivate;
public:
@@ -69,8 +68,6 @@ public:
#endif
~QLowEnergyServiceInfoPrivate();
- void registerServiceWatcher();
- void unregisterServiceWatcher();
bool valid();
QString serviceName;
@@ -89,19 +86,9 @@ public:
#endif
#ifdef QT_QNX_BLUETOOTH
- static void serviceConnected(const char*, const char*, int, int, short unsigned int, short unsigned int, short unsigned int, void*);
- static void serviceUpdate(const char *, int , short unsigned int, short unsigned int, short unsigned int, void *);
- static void serviceDisconnected(const char *, const char *, int, int, void *);
static void serviceNotification(int, short unsigned int, const char unsigned *, short unsigned int, void *);
- //static void handleEvent(const int, const char *, const char *);
#endif
-Q_SIGNALS:
- void finished();
- void connectedToService(const QBluetoothUuid &);
- void error(const QBluetoothUuid &);
- void disconnectedFromService(const QBluetoothUuid &);
-
private:
QLowEnergyProcess *process;
#ifdef QT_BLUEZ_BLUETOOTH