summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorAndreas Buhr <andreas.buhr@qt.io>2021-06-01 12:21:41 +0200
committerAndreas Buhr <andreas.buhr@qt.io>2021-06-03 11:47:38 +0200
commitbff824d67b0c183c96e6af998a3b3f54e0b6d951 (patch)
treef0579ca97b7a67bfa32bedc763a96b8743c6bb27 /examples
parent3b481365afa02d044b65b8f7bf1b5db4143ddcb7 (diff)
Make QLECharacteristic::handle() and QLEDescriptor::handle() private
Task-number: QTBUG-62877 Task-number: QTBUG-94138 Change-Id: Id8c98e267c9b16f77a63f63f41638efbe627acaa Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
Diffstat (limited to 'examples')
-rw-r--r--examples/bluetooth/lowenergyscanner/characteristicinfo.cpp5
-rw-r--r--examples/bluetooth/lowenergyscanner/characteristicinfo.h2
2 files changed, 0 insertions, 7 deletions
diff --git a/examples/bluetooth/lowenergyscanner/characteristicinfo.cpp b/examples/bluetooth/lowenergyscanner/characteristicinfo.cpp
index 61cfa044..e58aab73 100644
--- a/examples/bluetooth/lowenergyscanner/characteristicinfo.cpp
+++ b/examples/bluetooth/lowenergyscanner/characteristicinfo.cpp
@@ -119,11 +119,6 @@ QString CharacteristicInfo::getValue() const
return result;
}
-QString CharacteristicInfo::getHandle() const
-{
- return QStringLiteral("0x") + QString::number(m_characteristic.handle(), 16);
-}
-
QString CharacteristicInfo::getPermission() const
{
QString properties = "( ";
diff --git a/examples/bluetooth/lowenergyscanner/characteristicinfo.h b/examples/bluetooth/lowenergyscanner/characteristicinfo.h
index 3f3600ab..b834ec69 100644
--- a/examples/bluetooth/lowenergyscanner/characteristicinfo.h
+++ b/examples/bluetooth/lowenergyscanner/characteristicinfo.h
@@ -61,7 +61,6 @@ class CharacteristicInfo: public QObject
Q_PROPERTY(QString characteristicName READ getName NOTIFY characteristicChanged)
Q_PROPERTY(QString characteristicUuid READ getUuid NOTIFY characteristicChanged)
Q_PROPERTY(QString characteristicValue READ getValue NOTIFY characteristicChanged)
- Q_PROPERTY(QString characteristicHandle READ getHandle NOTIFY characteristicChanged)
Q_PROPERTY(QString characteristicPermission READ getPermission NOTIFY characteristicChanged)
public:
@@ -71,7 +70,6 @@ public:
QString getName() const;
QString getUuid() const;
QString getValue() const;
- QString getHandle() const;
QString getPermission() const;
QLowEnergyCharacteristic getCharacteristic() const;