diff options
Diffstat (limited to 'mobile-widgets/qmlmanager.h')
-rw-r--r-- | mobile-widgets/qmlmanager.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/mobile-widgets/qmlmanager.h b/mobile-widgets/qmlmanager.h index 906e7b0b2..10ff0ba51 100644 --- a/mobile-widgets/qmlmanager.h +++ b/mobile-widgets/qmlmanager.h @@ -29,6 +29,9 @@ class QMLManager : public QObject { Q_PROPERTY(bool syncToCloud READ syncToCloud WRITE setSyncToCloud NOTIFY syncToCloudChanged) Q_PROPERTY(int updateSelectedDive READ updateSelectedDive WRITE setUpdateSelectedDive NOTIFY updateSelectedDiveChanged) Q_PROPERTY(int selectedDiveTimestamp READ selectedDiveTimestamp WRITE setSelectedDiveTimestamp NOTIFY selectedDiveTimestampChanged) + Q_PROPERTY(QStringList suitInit READ suitInit CONSTANT) + Q_PROPERTY(QStringList buddyInit READ buddyInit CONSTANT) + Q_PROPERTY(QStringList divemasterInit READ divemasterInit CONSTANT) public: QMLManager(); @@ -97,6 +100,10 @@ public: typedef void (QMLManager::*execute_function_type)(); DiveListSortModel *dlSortModel; + QStringList suitInit() const; + QStringList buddyInit() const; + QStringList divemasterInit() const; + public slots: void applicationStateChanged(Qt::ApplicationState state); void savePreferences(); |