X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=HomeScreen%2Fsrc%2Fstatusbarwidget.h;h=cac856d71d483f4f09e07d07a5f6fb162902b845;hb=f775180abd5e6adb58763bec74aa250bf4657341;hp=e17f13ee5192b9ab9ea5acda3553fa5aa0a5ca6d;hpb=ca3605ea664834acdf712e691be8f0358b1c6b6f;p=staging%2FHomeScreen.git diff --git a/HomeScreen/src/statusbarwidget.h b/HomeScreen/src/statusbarwidget.h index e17f13e..cac856d 100644 --- a/HomeScreen/src/statusbarwidget.h +++ b/HomeScreen/src/statusbarwidget.h @@ -18,10 +18,7 @@ #define STATUSBARWIDGET_H #include -#include "../interfaces/daynightmode.h" -#include "daynightmode_proxy.h" - -#include "statusbar_adapter.h" +#include "statusbar_adaptor.h" namespace Ui { class StatusBarWidget; @@ -34,12 +31,10 @@ class StatusBarWidget : public QWidget public: explicit StatusBarWidget(QWidget *parent = 0); ~StatusBarWidget(); +public slots: + void updateColorScheme(); -// day/night mode -public Q_SLOTS: - void dayNightModeSlot(int mode); - -// from statusbar_adapter.h +// from statusbar_adaptor.h public Q_SLOTS: // METHODS QList getAvailablePlaceholders(); QString getStatusIcon(int placeholderIndex); @@ -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;