fix typo
[staging/HomeScreen.git] / HomeScreen / src / mainwindow.h
index cb2243e..28471a0 100644 (file)
@@ -19,6 +19,7 @@
 
 #include <QMainWindow>
 #include "daynightmode_proxy.h"
+#include "proximity_adaptor.h"
 
 #include "homescreencontrolinterface.h"
 
@@ -28,6 +29,8 @@
 #include "applauncherwidget.h"
 #include "popupwidget.h"
 
+#include "layouthandler.h"
+
 
 namespace Ui {
 class MainWindow;
@@ -45,6 +48,9 @@ public:
 public Q_SLOTS:
     void dayNightModeSlot(int mode);
 
+// from proximity_adaptor.h
+public Q_SLOTS:
+    void setObjectDetected(bool detected);
 
 public slots:
     void updateColorScheme();
@@ -53,8 +59,6 @@ protected:
     // called when the translator loaded a new language set
     void changeEvent(QEvent* event);
 
-private slots:
-    void on_pushButton_clicked();
 
 private:
     Ui::MainWindow *mp_ui;
@@ -67,8 +71,12 @@ private:
     AppLauncherWidget *mp_applauncherwidget;
     PopupWidget *mp_popupWidget;
 
+    LayoutHandler *mp_layoutHandler;
+
     org::agl::daynightmode *mp_dBusDayNightModeProxy;
 
+    ProximityAdaptor *mp_proximityAdaptor;
+
     HomeScreenControlInterface *mp_homeScreenControlInterface;
 };