diff options
author | Andreas Buhr <andreas.buhr@qt.io> | 2021-06-01 12:21:41 +0200 |
---|---|---|
committer | Andreas Buhr <andreas.buhr@qt.io> | 2021-06-03 11:47:38 +0200 |
commit | bff824d67b0c183c96e6af998a3b3f54e0b6d951 (patch) | |
tree | f0579ca97b7a67bfa32bedc763a96b8743c6bb27 /examples | |
parent | 3b481365afa02d044b65b8f7bf1b5db4143ddcb7 (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.cpp | 5 | ||||
-rw-r--r-- | examples/bluetooth/lowenergyscanner/characteristicinfo.h | 2 |
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; |