From 6a50efd80a09565181553dce3058ece53a528c67 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Fri, 14 Apr 2017 17:32:32 -0700 Subject: 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 --- mobile-widgets/qmlmanager.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'mobile-widgets/qmlmanager.h') 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); -- cgit v1.2.3-70-g09d2