diff options
author | Nedim Hadzic <nhadzic@blackberry.com> | 2014-02-26 12:09:23 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-02-27 14:56:08 +0100 |
commit | eb632012c2cf13922b08f4e2606d1452da9aaacb (patch) | |
tree | 78433495f7811e6f89054afe38b125a4e96c671b /examples/bluetooth/lowenergyscanner/deviceinfo.h | |
parent | 6de4ff7b44d32d2f0fea277d856ce4d3fe321c7e (diff) |
Lowenergyscanner example improved
Error handling improved, code styling improved.
Change-Id: I1f35c6a6ef9641cb445fdbe55e0127b554e50ebc
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
Diffstat (limited to 'examples/bluetooth/lowenergyscanner/deviceinfo.h')
-rw-r--r-- | examples/bluetooth/lowenergyscanner/deviceinfo.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/bluetooth/lowenergyscanner/deviceinfo.h b/examples/bluetooth/lowenergyscanner/deviceinfo.h index 9d4116b4..383ecfac 100644 --- a/examples/bluetooth/lowenergyscanner/deviceinfo.h +++ b/examples/bluetooth/lowenergyscanner/deviceinfo.h @@ -55,8 +55,8 @@ class DeviceInfo: public QObject public: DeviceInfo(); DeviceInfo(const QBluetoothDeviceInfo &d); - QString getAddress(); - QString getName(); + QString getAddress() const; + QString getName() const; QBluetoothDeviceInfo getDevice(); void setDevice(const QBluetoothDeviceInfo &dev); |