summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mobile-widgets/themeinterface.cpp13
-rw-r--r--mobile-widgets/themeinterface.h3
2 files changed, 15 insertions, 1 deletions
diff --git a/mobile-widgets/themeinterface.cpp b/mobile-widgets/themeinterface.cpp
index 21c189618..edb998922 100644
--- a/mobile-widgets/themeinterface.cpp
+++ b/mobile-widgets/themeinterface.cpp
@@ -107,4 +107,17 @@ void themeInterface::update_theme()
m_textColor = m_darkTextColor;
m_iconStyle = ":/icons-dark";
}
+ emit backgroundColorChanged(m_backgroundColor);
+ emit contrastAccentColorChanged(m_contrastAccentColor);
+ emit darkerPrimaryColorChanged(m_darkerPrimaryColor);
+ emit darkerPrimaryTextColorChanged(m_darkerPrimaryTextColor);
+ emit drawerColorChanged(m_drawerColor);
+ emit lightDrawerColorChanged(m_lightDrawerColor);
+ emit lightPrimaryColorChanged(m_lightPrimaryColor);
+ emit lightPrimaryTextColorChanged(m_lightPrimaryTextColor);
+ emit primaryColorChanged(m_primaryColor);
+ emit primaryTextColorChanged(m_primaryTextColor);
+ emit secondaryTextColorChanged(m_secondaryTextColor);
+ emit textColorChanged(m_textColor);
+ emit iconStyleChanged(m_iconStyle);
}
diff --git a/mobile-widgets/themeinterface.h b/mobile-widgets/themeinterface.h
index f06d834da..7ef26d7f9 100644
--- a/mobile-widgets/themeinterface.h
+++ b/mobile-widgets/themeinterface.h
@@ -33,7 +33,7 @@ class themeInterface : public QObject {
// Support
Q_PROPERTY(QString currentTheme MEMBER m_currentTheme WRITE set_currentTheme NOTIFY currentThemeChanged)
- Q_PROPERTY(QString iconStyle MEMBER m_iconStyle CONSTANT)
+ Q_PROPERTY(QString iconStyle MEMBER m_iconStyle NOTIFY iconStyleChanged)
// Compatibility existing code
Q_PROPERTY(QColor blueBackgroundColor MEMBER m_blueBackgroundColor CONSTANT)
@@ -107,6 +107,7 @@ signals:
void currentScaleChanged(double);
void currentThemeChanged(const QString &);
+ void iconStyleChanged(const QString &);
private:
themeInterface() {}