summaryrefslogtreecommitdiff
path: root/bootstrap.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'bootstrap.hxx')
-rw-r--r--bootstrap.hxx12
1 files changed, 4 insertions, 8 deletions
diff --git a/bootstrap.hxx b/bootstrap.hxx
index 2297be0..b1c3f9c 100644
--- a/bootstrap.hxx
+++ b/bootstrap.hxx
@@ -16,8 +16,6 @@ class Bootstrap : public QObject
Q_PROPERTY(Mode mode READ mode WRITE setMode NOTIFY modeChanged)
Q_PROPERTY(Theme theme READ theme WRITE setTheme NOTIFY themeChanged)
Q_PROPERTY(QColor bodyBg READ bodyBg NOTIFY bodyBgChanged)
- Q_PROPERTY(QColor lightBodyBg WRITE setLightBodyBg)
- Q_PROPERTY(QColor darkBodyBg WRITE setDarkBodyBg)
QML_ELEMENT
QML_UNCREATABLE("Bootstrap is an attached property")
@@ -49,8 +47,6 @@ class Bootstrap : public QObject
Theme theme() const;
void setTheme(Theme theme);
QColor bodyBg() const;
- void setLightBodyBg(QColor lightBodyBg);
- void setDarkBodyBg(QColor darkBodyBg);
signals:
void modeChanged();
@@ -58,10 +54,10 @@ class Bootstrap : public QObject
void bodyBgChanged();
private:
- Mode bs_mode;
- Theme bs_theme;
- QColor bs_lightBodyBg;
- QColor bs_darkBodyBg;
+ Mode bsMode;
+ Theme bsTheme;
+ QColor bsLightBodyBg;
+ QColor bsDarkBodyBg;
};
QML_DECLARE_TYPEINFO(Bootstrap, QML_HAS_ATTACHED_PROPERTIES)