diff options
Diffstat (limited to 'HomeScreen/src/mainwindow.h')
-rw-r--r-- | HomeScreen/src/mainwindow.h | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/HomeScreen/src/mainwindow.h b/HomeScreen/src/mainwindow.h index af725fd..d984c3e 100644 --- a/HomeScreen/src/mainwindow.h +++ b/HomeScreen/src/mainwindow.h @@ -18,13 +18,13 @@ #define MAINWINDOW_H #include <QMainWindow> -#include "../interfaces/daynightmode.h" #include "daynightmode_proxy.h" -#include "popupwidget.h" - #include "statusbarwidget.h" #include "controlbarwidget.h" +#include "settingswidget.h" +#include "popupwidget.h" + namespace Ui { class MainWindow; @@ -42,6 +42,9 @@ public: public Q_SLOTS: void dayNightModeSlot(int mode); +public slots: + void updateColorScheme(); + protected: // called when the translator loaded a new language set void changeEvent(QEvent* event); @@ -53,11 +56,10 @@ private: org::agl::daynightmode *mp_dBusDayNightMode_StatusBarWidget; ControlBarWidget *mp_controlBarWidget; org::agl::daynightmode *mp_dBusDayNightMode_ControlBarWidget; + SettingsWidget *mp_settingsWidget; + PopupWidget *mp_popupWidget; - SystemDayNight::eDayNightMode m_dayNightMode; org::agl::daynightmode *mp_dayNightModeProxy; - - PopupWidget *mp_popupWidget; }; #endif // MAINWINDOW_H |