X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=HomeScreen%2Fsrc%2Fpopupwidget.h;fp=src%2Fpopupwidget.h;h=a8765761bdef2b74b4f4e1ba0924ca9f7b1158a6;hb=ca3605ea664834acdf712e691be8f0358b1c6b6f;hp=201cbc36752ebc59c739a0bd0f9b267dc7a331ca;hpb=ff25a2a06428ffb0d6d8aeddb5faaa301b4201fe;p=staging%2FHomeScreen.git diff --git a/src/popupwidget.h b/HomeScreen/src/popupwidget.h similarity index 78% rename from src/popupwidget.h rename to HomeScreen/src/popupwidget.h index 201cbc3..a876576 100644 --- a/src/popupwidget.h +++ b/HomeScreen/src/popupwidget.h @@ -18,8 +18,11 @@ #define POPUPWIDGET_H #include -#include "include/popup.h" +#include "../interfaces/popup.h" #include "popup_adapter.h" +#include "../interfaces/daynightmode.h" +#include "daynightmode_proxy.h" + namespace Ui { class PopupWidget; @@ -33,7 +36,11 @@ public: explicit PopupWidget(QWidget *parent = 0); ~PopupWidget(); -// from popup_adapter.h +// day/night mode +public Q_SLOTS: + void dayNightModeSlot(int mode); + + // from popup_adapter.h public Q_SLOTS: // METHODS void showPopup(int type, const QString &text); @@ -43,6 +50,8 @@ private slots: private: Ui::PopupWidget *mp_ui; + SystemDayNight::eDayNightMode m_dayNightMode; + org::agl::daynightmode *mp_dayNightModeProxy; PopupAdaptor *mp_popupAdaptor; };