summaryrefslogtreecommitdiffstats
path: root/mobile-widgets/qmlmanager.h
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2017-07-12 04:14:24 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2017-07-12 04:14:24 -0700
commit2c111bb4cc368a3ff1faed38e0d6fade3912d201 (patch)
tree3c9c30a9233bcc12009387c91722e9279d709f09 /mobile-widgets/qmlmanager.h
parentbec5f3c44f4c08a19700bce912c818c2d650a224 (diff)
downloadsubsurface-2c111bb4cc368a3ff1faed38e0d6fade3912d201.tar.gz
QML UI: make BT state available to QML
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'mobile-widgets/qmlmanager.h')
-rw-r--r--mobile-widgets/qmlmanager.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/mobile-widgets/qmlmanager.h b/mobile-widgets/qmlmanager.h
index e931fe238..33831d396 100644
--- a/mobile-widgets/qmlmanager.h
+++ b/mobile-widgets/qmlmanager.h
@@ -129,6 +129,8 @@ public:
bool showPin() const;
void setShowPin(bool enable);
Q_INVOKABLE void setStatusbarColor(QColor color);
+ Q_INVOKABLE bool btEnabled() const;
+
#if defined(Q_OS_ANDROID)
void writeToAppLogFile(QString logText);
#endif
@@ -216,6 +218,8 @@ private:
DCDeviceData *m_device_data;
QString m_progressMessage;
bool m_libdcLog;
+ bool m_btEnabled;
+
#if defined(Q_OS_ANDROID)
QString appLogFileName;
QFile appLogFile;