X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=HomeScreen%2Fsrc%2Fcontrolbarwidget.h;h=0ab382bdfc692209f5aeaf4c86b9c0624286324f;hb=3478f65b39560b333ba189e7d86e2c2cebfc9c7a;hp=618fa35f7c34f0f460c119037898e2d8aa4bd758;hpb=2513c5c6ed1c89ae3a0a6ae0263b9307d50046b2;p=staging%2FHomeScreen.git diff --git a/HomeScreen/src/controlbarwidget.h b/HomeScreen/src/controlbarwidget.h index 618fa35..0ab382b 100644 --- a/HomeScreen/src/controlbarwidget.h +++ b/HomeScreen/src/controlbarwidget.h @@ -18,9 +18,6 @@ #define CONTROLBARWIDGET_H #include -#include "../interfaces/daynightmode.h" -#include "daynightmode_proxy.h" -#include "settingswidget.h" namespace Ui { class ControlBarWidget; @@ -33,24 +30,18 @@ class ControlBarWidget : public QWidget public: explicit ControlBarWidget(QWidget *parent = 0); ~ControlBarWidget(); - -// day/night mode -public Q_SLOTS: - void dayNightModeSlot(int mode); +public slots: + void updateColorScheme(); +signals: + void settingsButtonPressed(); + void homeButtonPressed(); private slots: void on_pushButton_Settings_clicked(); - void on_pushButton_Home_clicked(); private: Ui::ControlBarWidget *mp_ui; - SettingsWidget *mp_settingsWidget; - org::agl::daynightmode *mp_dBusDayNightMode_SettingsWidget; - - // D-Bus day/night - SystemDayNight::eDayNightMode m_dayNightMode; - org::agl::daynightmode *mp_dayNightModeProxy; }; #endif // CONTROLBARWIDGET_H