aboutsummaryrefslogtreecommitdiffstats
path: root/mobile-widgets/qmlmanager.h
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2017-04-14 17:32:32 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2017-04-14 17:32:45 -0700
commit6a50efd80a09565181553dce3058ece53a528c67 (patch)
treefd83afc6d27732a04bb8546d59206668c570b852 /mobile-widgets/qmlmanager.h
parente42bf2cfa577a68d7f37dc1f4f78c58ce79536b2 (diff)
downloadsubsurface-6a50efd80a09565181553dce3058ece53a528c67.tar.gz
QML UI: create completion list for cylinders as well
We already have that for the other three fields where we offer auto completion (buddy, divemaster, suit). Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'mobile-widgets/qmlmanager.h')
-rw-r--r--mobile-widgets/qmlmanager.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/mobile-widgets/qmlmanager.h b/mobile-widgets/qmlmanager.h
index 04f4a40dd..f6b310575 100644
--- a/mobile-widgets/qmlmanager.h
+++ b/mobile-widgets/qmlmanager.h
@@ -33,6 +33,7 @@ class QMLManager : public QObject {
Q_PROPERTY(QStringList suitInit READ suitInit CONSTANT)
Q_PROPERTY(QStringList buddyInit READ buddyInit CONSTANT)
Q_PROPERTY(QStringList divemasterInit READ divemasterInit CONSTANT)
+ Q_PROPERTY(QStringList cylinderInit READ cylinderInit CONSTANT)
Q_PROPERTY(bool showPin READ showPin WRITE setShowPin NOTIFY showPinChanged)
public:
@@ -108,7 +109,7 @@ public:
QStringList suitInit() const;
QStringList buddyInit() const;
QStringList divemasterInit() const;
-
+ QStringList cylinderInit() const;
bool showPin() const;
void setShowPin(bool enable);