X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=HomeScreen%2Fsrc%2Fmainwindow.h;fp=HomeScreen%2Fsrc%2Fmainwindow.h;h=d984c3eb9548c0caed41adb241d5e653109986e9;hb=3478f65b39560b333ba189e7d86e2c2cebfc9c7a;hp=af725fdd7b77defb7df275295427b75a44c0cf6f;hpb=2513c5c6ed1c89ae3a0a6ae0263b9307d50046b2;p=staging%2FHomeScreen.git 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 -#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