summaryrefslogtreecommitdiffstats
path: root/src/bluetooth/qlowenergyserviceinfo_p.h
diff options
context:
space:
mode:
authorAlex Blasche <alexander.blasche@digia.com>2014-03-14 15:59:26 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-03-15 20:59:25 +0100
commit8ba83c809febcc38d72f69d8ca206ba5402e5f4d (patch)
tree0b92b792f65cba44582339167e673094be2a57cb /src/bluetooth/qlowenergyserviceinfo_p.h
parent946db397b2cbbaca7880a804dac6aa3b2dddd87f (diff)
Cleanup of BtLE code
1.) Remove dead pieces of code 2.) Fix warnings 3.) Optimize some code lines Change-Id: I952fe34e8966a501a54c9ef42e9624c1fc46a2a1 Reviewed-by: Nedim Hadzic <nhadzic@blackberry.com> Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
Diffstat (limited to 'src/bluetooth/qlowenergyserviceinfo_p.h')
-rw-r--r--src/bluetooth/qlowenergyserviceinfo_p.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/bluetooth/qlowenergyserviceinfo_p.h b/src/bluetooth/qlowenergyserviceinfo_p.h
index cee55534..56a35ef6 100644
--- a/src/bluetooth/qlowenergyserviceinfo_p.h
+++ b/src/bluetooth/qlowenergyserviceinfo_p.h
@@ -46,10 +46,6 @@
#include "qlowenergycharacteristicinfo.h"
#include <QPointer>
-#ifdef QT_BLUEZ_BLUETOOTH
-class OrgBluezCharacteristicInterface;
-#endif
-
QT_BEGIN_NAMESPACE
class QBluetoothUuid;
@@ -63,9 +59,6 @@ class QLowEnergyServiceInfoPrivate
public:
QLowEnergyServiceInfoPrivate();
-#ifdef QT_BLUEZ_BLUETOOTH
- QLowEnergyServiceInfoPrivate(const QString &servicePath);
-#endif
~QLowEnergyServiceInfoPrivate();
bool valid();
@@ -81,7 +74,6 @@ public:
#ifdef QT_BLUEZ_BLUETOOTH
QString startingHandle;
QString endingHandle;
- QString path;
QBluetoothAddress adapterAddress;
#endif
@@ -90,14 +82,11 @@ public:
#endif
private:
- QLowEnergyProcess *process;
#ifdef QT_BLUEZ_BLUETOOTH
- OrgBluezCharacteristicInterface *characteristic;
int m_step;
int m_valueCounter;
int m_readCounter;
#endif
- int m_instance;
};
QT_END_NAMESPACE