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
Implementing app launch and app surface control workflow. Using WindowManager to...
[staging/HomeScreen.git]
/
HomeScreen
/
src
/
mainwindow.h
diff --git
a/HomeScreen/src/mainwindow.h
b/HomeScreen/src/mainwindow.h
index
af725fd
..
d94546a
100644
(file)
--- a/
HomeScreen/src/mainwindow.h
+++ b/
HomeScreen/src/mainwindow.h
@@
-18,13
+18,18
@@
#define MAINWINDOW_H
#include <QMainWindow>
#define MAINWINDOW_H
#include <QMainWindow>
-#include "../interfaces/daynightmode.h"
#include "daynightmode_proxy.h"
#include "daynightmode_proxy.h"
-#include "
popupwidget
.h"
+#include "
homescreencontrolinterface
.h"
#include "statusbarwidget.h"
#include "controlbarwidget.h"
#include "statusbarwidget.h"
#include "controlbarwidget.h"
+#include "settingswidget.h"
+#include "applauncherwidget.h"
+#include "popupwidget.h"
+
+#include "layouthandler.h"
+
namespace Ui {
class MainWindow;
namespace Ui {
class MainWindow;
@@
-42,10
+47,15
@@
public:
public Q_SLOTS:
void dayNightModeSlot(int mode);
public Q_SLOTS:
void dayNightModeSlot(int mode);
+
+public slots:
+ void updateColorScheme();
+
protected:
// called when the translator loaded a new language set
void changeEvent(QEvent* event);
protected:
// called when the translator loaded a new language set
void changeEvent(QEvent* event);
+
private:
Ui::MainWindow *mp_ui;
private:
Ui::MainWindow *mp_ui;
@@
-53,11
+63,15
@@
private:
org::agl::daynightmode *mp_dBusDayNightMode_StatusBarWidget;
ControlBarWidget *mp_controlBarWidget;
org::agl::daynightmode *mp_dBusDayNightMode_ControlBarWidget;
org::agl::daynightmode *mp_dBusDayNightMode_StatusBarWidget;
ControlBarWidget *mp_controlBarWidget;
org::agl::daynightmode *mp_dBusDayNightMode_ControlBarWidget;
+ SettingsWidget *mp_settingsWidget;
+ AppLauncherWidget *mp_applauncherwidget;
+ PopupWidget *mp_popupWidget;
- SystemDayNight::eDayNightMode m_dayNightMode;
- org::agl::daynightmode *mp_dayNightModeProxy;
+ LayoutHandler *mp_layoutHandler;
- PopupWidget *mp_popupWidget;
+ org::agl::daynightmode *mp_dBusDayNightModeProxy;
+
+ HomeScreenControlInterface *mp_homeScreenControlInterface;
};
#endif // MAINWINDOW_H
};
#endif // MAINWINDOW_H