X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=HomeScreen%2Fsrc%2Fstatusbarwidget.h;h=29c236db65b919db77a69d9abe11da2c0e6d0c9c;hb=3478f65b39560b333ba189e7d86e2c2cebfc9c7a;hp=e17f13ee5192b9ab9ea5acda3553fa5aa0a5ca6d;hpb=2513c5c6ed1c89ae3a0a6ae0263b9307d50046b2;p=staging%2FHomeScreen.git diff --git a/HomeScreen/src/statusbarwidget.h b/HomeScreen/src/statusbarwidget.h index e17f13e..29c236d 100644 --- a/HomeScreen/src/statusbarwidget.h +++ b/HomeScreen/src/statusbarwidget.h @@ -18,9 +18,6 @@ #define STATUSBARWIDGET_H #include -#include "../interfaces/daynightmode.h" -#include "daynightmode_proxy.h" - #include "statusbar_adapter.h" namespace Ui { @@ -34,10 +31,8 @@ class StatusBarWidget : public QWidget public: explicit StatusBarWidget(QWidget *parent = 0); ~StatusBarWidget(); - -// day/night mode -public Q_SLOTS: - void dayNightModeSlot(int mode); +public slots: + void updateColorScheme(); // from statusbar_adapter.h public Q_SLOTS: // METHODS @@ -50,8 +45,6 @@ public Q_SLOTS: // METHODS private: Ui::StatusBarWidget *mp_ui; - SystemDayNight::eDayNightMode m_dayNightMode; - org::agl::daynightmode *mp_dayNightModeProxy; StatusbarAdaptor *mp_statusbarAdaptor; QMap *mp_statusbarIconURIs;