summaryrefslogtreecommitdiffstats
path: root/examples/bluetooth/lowenergyscanner/characteristicinfo.cpp
diff options
context:
space:
mode:
authorAlex Blasche <alexander.blasche@digia.com>2014-06-03 16:08:31 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-06-04 13:42:03 +0200
commit7abb1f0464e4ba6ffba07f8e9ec71aa4d14b85ca (patch)
tree89bc2aa41aec326071e924680ff8e48674c08b78 /examples/bluetooth/lowenergyscanner/characteristicinfo.cpp
parentb1bc27b0db23107d721e4f9411861db9b954e670 (diff)
Rename permission related API in QLowEnergyCharacteristicInfo
1.) Rename QLowEnergyCharacteristicInfo::Property to QLowEnergyCharacteristicInfo::PropertyType 2.) Rename permissions() to properties() 3.) Return PropertyTypes as return value for permissions()/properties() Change-Id: I5c4037876047354fd691cadc54d3ac6098db4522 Reviewed-by: Lars Knoll <lars.knoll@digia.com> Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
Diffstat (limited to 'examples/bluetooth/lowenergyscanner/characteristicinfo.cpp')
-rw-r--r--examples/bluetooth/lowenergyscanner/characteristicinfo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/bluetooth/lowenergyscanner/characteristicinfo.cpp b/examples/bluetooth/lowenergyscanner/characteristicinfo.cpp
index 18b9e282..10b8fad6 100644
--- a/examples/bluetooth/lowenergyscanner/characteristicinfo.cpp
+++ b/examples/bluetooth/lowenergyscanner/characteristicinfo.cpp
@@ -88,7 +88,7 @@ QString CharacteristicInfo::getHandle() const
QString CharacteristicInfo::getPermission() const
{
QString properties = "Properties:";
- int permission = m_characteristic.permissions();
+ int permission = m_characteristic.properties();
if (permission & QLowEnergyCharacteristicInfo::Read)
properties = properties + QStringLiteral(" Read");
if (permission & QLowEnergyCharacteristicInfo::Write)