diff options
author | alex <alex.blasche@nokia.com> | 2012-06-27 13:59:25 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-07-02 00:52:36 +0200 |
commit | 5ba88d4d52e559a58a8349afdc30f06e55aa7f39 (patch) | |
tree | d6aa2244710ef6d288783bcaceaebf7df4f9b830 /src/bluetooth/qbluetoothhostinfo.cpp | |
parent | 0bd051858ee996caa14180ebcdca75e402c2bd93 (diff) |
Rename getter functions for QBluetoothHostInfo
The previous name was not compliant with Qt naming standard.
QBluetoothHostInfo::getAddress() -> address()
QBluetoothHostInfo::getName() -> name()
Change-Id: Ia130687c456e3ded398e685846a41de7ebb908e9
Reviewed-by: Andrew Stanley-Jones <andrew.stanley-jones@nokia.com>
Reviewed-by: Michael Zanetti <michael.zanetti@nokia.com>
Diffstat (limited to 'src/bluetooth/qbluetoothhostinfo.cpp')
-rw-r--r-- | src/bluetooth/qbluetoothhostinfo.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/bluetooth/qbluetoothhostinfo.cpp b/src/bluetooth/qbluetoothhostinfo.cpp index d85f87c3..9057c23f 100644 --- a/src/bluetooth/qbluetoothhostinfo.cpp +++ b/src/bluetooth/qbluetoothhostinfo.cpp @@ -86,7 +86,7 @@ QBluetoothHostInfo::~QBluetoothHostInfo() /*! Returns the Bluetooth address as a QBluetoothAddress. */ -QBluetoothAddress QBluetoothHostInfo::getAddress() const +QBluetoothAddress QBluetoothHostInfo::address() const { Q_D(const QBluetoothHostInfo); return d->m_address; @@ -102,9 +102,9 @@ void QBluetoothHostInfo::setAddress(const QBluetoothAddress &address) } /*! - Returns the name of the host info object. + Returns the user visible name of the host info object. */ -QString QBluetoothHostInfo::getName() const +QString QBluetoothHostInfo::name() const { Q_D(const QBluetoothHostInfo); return d->m_name; |