summaryrefslogtreecommitdiffstats
path: root/mobile-widgets/qmlmanager.h
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2018-12-21 14:52:02 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2018-12-21 14:52:02 -0800
commitef8656998a5c68d4e6806e83da42ea0f3e3ee484 (patch)
tree86befca5d6fef59bd9ca12245fa29a12fee23011 /mobile-widgets/qmlmanager.h
parent6ba1cf8cf78bc52cac45f3588801e916f7753fb2 (diff)
downloadsubsurface-ef8656998a5c68d4e6806e83da42ea0f3e3ee484.tar.gz
Mobile: add helper function to fill in the BT name
For some devices the BT device name is different from the product name. Make sure that name is available to the mobile UI. This helper fills it in from the scan data (based on the device address). Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'mobile-widgets/qmlmanager.h')
-rw-r--r--mobile-widgets/qmlmanager.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/mobile-widgets/qmlmanager.h b/mobile-widgets/qmlmanager.h
index 7d14b9eb9..2812ae08f 100644
--- a/mobile-widgets/qmlmanager.h
+++ b/mobile-widgets/qmlmanager.h
@@ -62,6 +62,8 @@ public:
QString DC_devName() const;
void DC_setDevName(const QString& devName);
+ Q_INVOKABLE void retrieveBluetoothName();
+
QString DC_devBluetoothName() const;
void DC_setDevBluetoothName(const QString& devBluetoothName);