First integration of new HMI design
[staging/HomeScreen.git] / HomeScreen / src / applauncher.h
similarity index 73%
rename from HomeScreen/src/applauncherwidget.h
rename to HomeScreen/src/applauncher.h
index d6bc615..a67c804 100644 (file)
  * limitations under the License.
  */
 
-#ifndef APPLAUNCHERWIDGET_H
-#define APPLAUNCHERWIDGET_H
+#ifndef APPLAUNCHER_H
+#define APPLAUNCHER_H
 
-#include <QWidget>
-#include <QList>
-#include <QTableWidget>
 #include <include/appframework.hpp>
 #include <appframework_proxy.h>
 
-namespace Ui {
-class AppLauncherWidget;
-}
-
-class AppLauncherWidget : public QWidget
+class AppLauncher : public QObject
 {
     Q_OBJECT
 
 public:
-    explicit AppLauncherWidget(QWidget *parent = 0);
-    ~AppLauncherWidget();
+    explicit AppLauncher(QObject *parent);
+    ~AppLauncher();
 
     void populateAppList();
 
@@ -48,10 +41,8 @@ signals:
     void showAppLayer();
 
 private:
-    Ui::AppLauncherWidget *mp_ui;
     QList<AppInfo> m_appList;
-    QTableWidget *mp_appTable;
     org::agl::appframework *mp_dBusAppFrameworkProxy;
 };
 
-#endif // APPLAUNCHERWIDGET_H
+#endif // APPLAUNCHER_H