aboutsummaryrefslogtreecommitdiffstats
path: root/mobile-widgets/qmlmanager.h
diff options
context:
space:
mode:
Diffstat (limited to 'mobile-widgets/qmlmanager.h')
-rw-r--r--mobile-widgets/qmlmanager.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/mobile-widgets/qmlmanager.h b/mobile-widgets/qmlmanager.h
index f1ccf6403..f37389acd 100644
--- a/mobile-widgets/qmlmanager.h
+++ b/mobile-widgets/qmlmanager.h
@@ -25,6 +25,7 @@ class QMLManager : public QObject {
Q_PROPERTY(bool locationServiceAvailable READ locationServiceAvailable WRITE setLocationServiceAvailable NOTIFY locationServiceAvailableChanged)
Q_PROPERTY(int distanceThreshold READ distanceThreshold WRITE setDistanceThreshold NOTIFY distanceThresholdChanged)
Q_PROPERTY(int timeThreshold READ timeThreshold WRITE setTimeThreshold NOTIFY timeThresholdChanged)
+ Q_PROPERTY(QString theme READ theme WRITE setTheme NOTIFY themeChanged)
Q_PROPERTY(bool loadFromCloud READ loadFromCloud WRITE setLoadFromCloud NOTIFY loadFromCloudChanged)
Q_PROPERTY(QString startPageText READ startPageText WRITE setStartPageText NOTIFY startPageTextChanged)
Q_PROPERTY(bool verboseEnabled READ verboseEnabled WRITE setVerboseEnabled NOTIFY verboseEnabledChanged)
@@ -79,6 +80,9 @@ public:
int timeThreshold() const;
void setTimeThreshold(int time);
+ QString theme() const;
+ void setTheme(QString theme);
+
bool loadFromCloud() const;
void setLoadFromCloud(bool done);
void syncLoadFromCloud();
@@ -209,6 +213,7 @@ signals:
void verboseEnabledChanged();
void logTextChanged();
void timeThresholdChanged();
+ void themeChanged();
void distanceThresholdChanged();
void loadFromCloudChanged();
void startPageTextChanged();