summaryrefslogtreecommitdiffstats
path: root/src/bluetooth/qlowenergyserviceinfo.cpp
diff options
context:
space:
mode:
authorNedim Hadzic <nhadzic@blackberry.com>2014-02-19 15:59:53 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-02-21 22:57:03 +0100
commitcdc3ee8b00380ad208561e6c9bf575762fa398fb (patch)
tree768f63e371bdfd914943307d9b330d612d7a3329 /src/bluetooth/qlowenergyserviceinfo.cpp
parentf9a28bc6009d3f0eecc65df9da75faa8c4133fcf (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 'src/bluetooth/qlowenergyserviceinfo.cpp')
-rw-r--r--src/bluetooth/qlowenergyserviceinfo.cpp12
1 files changed, 2 insertions, 10 deletions
diff --git a/src/bluetooth/qlowenergyserviceinfo.cpp b/src/bluetooth/qlowenergyserviceinfo.cpp
index 618bd9c7..ca6df923 100644
--- a/src/bluetooth/qlowenergyserviceinfo.cpp
+++ b/src/bluetooth/qlowenergyserviceinfo.cpp
@@ -166,7 +166,7 @@ QLowEnergyServiceInfo::~QLowEnergyServiceInfo()
/*!
Returns the gatt service uuid.
*/
-QBluetoothUuid QLowEnergyServiceInfo::uuid() const
+QBluetoothUuid QLowEnergyServiceInfo::serviceUuid() const
{
return d_ptr->uuid;
}
@@ -183,7 +183,7 @@ QList<QLowEnergyCharacteristicInfo> QLowEnergyServiceInfo::characteristics() con
/*!
Returns the service name.
*/
-QString QLowEnergyServiceInfo::name() const
+QString QLowEnergyServiceInfo::serviceName() const
{
return d_ptr->serviceName;
}
@@ -234,14 +234,6 @@ void QLowEnergyServiceInfo::setRandomAddress()
}
/*!
- Returns an error string if error occurred.
- */
-QString QLowEnergyServiceInfo::errorString() const
-{
- return d_ptr->errorString;
-}
-
-/*!
Returns the address of the Bluetooth device that provides this service.
*/
QBluetoothDeviceInfo QLowEnergyServiceInfo::device() const