X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=HomeScreen%2Fsrc%2Fmainwindow.h;h=ebcfea29963d6401adc139f98ce6d9ebe517b7bb;hb=09f2f0036f122e49aa49e6c446d723850192a725;hp=cb2243e40a0b27932940958fa88956225a009a05;hpb=0a468d9b5ae7b3e5ba106facf17698d89b1ce200;p=staging%2FHomeScreen.git diff --git a/HomeScreen/src/mainwindow.h b/HomeScreen/src/mainwindow.h index cb2243e..ebcfea2 100644 --- a/HomeScreen/src/mainwindow.h +++ b/HomeScreen/src/mainwindow.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 2016 Mentor Graphics Development (Deutschland) GmbH + * Copyright (C) 2016, 2017 Mentor Graphics Development (Deutschland) GmbH * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -19,15 +19,18 @@ #include #include "daynightmode_proxy.h" +#include "proximity_adaptor.h" #include "homescreencontrolinterface.h" #include "statusbarwidget.h" #include "controlbarwidget.h" #include "settingswidget.h" -#include "applauncherwidget.h" +//#include "applauncher.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; @@ -64,11 +68,15 @@ private: ControlBarWidget *mp_controlBarWidget; org::agl::daynightmode *mp_dBusDayNightMode_ControlBarWidget; SettingsWidget *mp_settingsWidget; - AppLauncherWidget *mp_applauncherwidget; + //AppLauncherWidget *mp_applauncherwidget; PopupWidget *mp_popupWidget; + LayoutHandler *mp_layoutHandler; + org::agl::daynightmode *mp_dBusDayNightModeProxy; + ProximityAdaptor *mp_proximityAdaptor; + HomeScreenControlInterface *mp_homeScreenControlInterface; };