X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=HomeScreen%2Fsrc%2Fpopupwidget.h;h=7a73b920619e992901525fece3f82eb2fa8846b2;hb=0a468d9b5ae7b3e5ba106facf17698d89b1ce200;hp=a8765761bdef2b74b4f4e1ba0924ca9f7b1158a6;hpb=ca3605ea664834acdf712e691be8f0358b1c6b6f;p=staging%2FHomeScreen.git diff --git a/HomeScreen/src/popupwidget.h b/HomeScreen/src/popupwidget.h index a876576..7a73b92 100644 --- a/HomeScreen/src/popupwidget.h +++ b/HomeScreen/src/popupwidget.h @@ -18,11 +18,8 @@ #define POPUPWIDGET_H #include -#include "../interfaces/popup.h" +#include #include "popup_adapter.h" -#include "../interfaces/daynightmode.h" -#include "daynightmode_proxy.h" - namespace Ui { class PopupWidget; @@ -35,14 +32,12 @@ class PopupWidget : public QWidget public: explicit PopupWidget(QWidget *parent = 0); ~PopupWidget(); - -// day/night mode -public Q_SLOTS: - void dayNightModeSlot(int mode); +public slots: + void updateColorScheme(); // from popup_adapter.h public Q_SLOTS: // METHODS - void showPopup(int type, const QString &text); + void showPopup(int /*type*/, const QString &text); private slots: void on_pushButton_OK_clicked(); @@ -50,9 +45,9 @@ private slots: private: Ui::PopupWidget *mp_ui; - SystemDayNight::eDayNightMode m_dayNightMode; - org::agl::daynightmode *mp_dayNightModeProxy; PopupAdaptor *mp_popupAdaptor; + // for showPupupFor LayoutSelection + //QList m_pushButtons; }; #endif // POPUPWIDGET_H