Code Review
/
staging
/
HomeScreen.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
v0.1.0
[staging/HomeScreen.git]
/
HomeScreen
/
src
/
popupwidget.h
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
(file)
--- a/
src/popupwidget.h
+++ b/
HomeScreen/src/popupwidget.h
@@
-18,8
+18,11
@@
#define POPUPWIDGET_H
#include <QWidget>
#define POPUPWIDGET_H
#include <QWidget>
-#include "
include
/popup.h"
+#include "
../interfaces
/popup.h"
#include "popup_adapter.h"
#include "popup_adapter.h"
+#include "../interfaces/daynightmode.h"
+#include "daynightmode_proxy.h"
+
namespace Ui {
class PopupWidget;
namespace Ui {
class PopupWidget;
@@
-33,7
+36,11
@@
public:
explicit PopupWidget(QWidget *parent = 0);
~PopupWidget();
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);
public Q_SLOTS: // METHODS
void showPopup(int type, const QString &text);
@@
-43,6
+50,8
@@
private slots:
private:
Ui::PopupWidget *mp_ui;
private:
Ui::PopupWidget *mp_ui;
+ SystemDayNight::eDayNightMode m_dayNightMode;
+ org::agl::daynightmode *mp_dayNightModeProxy;
PopupAdaptor *mp_popupAdaptor;
};
PopupAdaptor *mp_popupAdaptor;
};