diff options
author | Nedim Hadzic <nhadzic@blackberry.com> | 2014-02-19 15:59:53 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-02-21 22:57:03 +0100 |
commit | cdc3ee8b00380ad208561e6c9bf575762fa398fb (patch) | |
tree | 768f63e371bdfd914943307d9b330d612d7a3329 /examples/bluetooth/lowenergyscanner/serviceinfo.cpp | |
parent | f9a28bc6009d3f0eecc65df9da75faa8c4133fcf (diff) |
Renaming QLowEnergyServiceInfo methods
Ensures that QLowEnergyServiceInfo and QBluetoothServiceInfo are more alike.
Tests and examples updated as well.
Change-Id: I0f6a97900891a9673f99578bdc8d156a8c403513
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
Diffstat (limited to 'examples/bluetooth/lowenergyscanner/serviceinfo.cpp')
-rw-r--r-- | examples/bluetooth/lowenergyscanner/serviceinfo.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/bluetooth/lowenergyscanner/serviceinfo.cpp b/examples/bluetooth/lowenergyscanner/serviceinfo.cpp index 471fb40a..d1223bdc 100644 --- a/examples/bluetooth/lowenergyscanner/serviceinfo.cpp +++ b/examples/bluetooth/lowenergyscanner/serviceinfo.cpp @@ -59,10 +59,10 @@ QLowEnergyServiceInfo ServiceInfo::getLeService() const QString ServiceInfo::getName() { - return m_serviceLe.name(); + return m_serviceLe.serviceName(); } QString ServiceInfo::getUuid() { - return m_serviceLe.uuid().toString().remove(QLatin1Char('{')).remove(QLatin1Char('}')); + return m_serviceLe.serviceUuid().toString().remove(QLatin1Char('{')).remove(QLatin1Char('}')); } |