Add two sample apps just to have some Qt based applications that can be launched.
[staging/HomeScreen.git] / SampleMediaApp / qtquick2applicationviewer / qtquick2applicationviewer.h
1 // checksum 0xfde6 version 0x90005
2 /*
3   This file was generated by the Qt Quick 2 Application wizard of Qt Creator.
4   QtQuick2ApplicationViewer is a convenience class containing mobile device specific
5   code such as screen orientation handling. Also QML paths and debugging are
6   handled here.
7   It is recommended not to modify this file, since newer versions of Qt Creator
8   may offer an updated version of it.
9 */
10
11 #ifndef QTQUICK2APPLICATIONVIEWER_H
12 #define QTQUICK2APPLICATIONVIEWER_H
13
14 #include <QtQuick/QQuickView>
15
16 class QtQuick2ApplicationViewer : public QQuickView
17 {
18     Q_OBJECT
19
20 public:
21     explicit QtQuick2ApplicationViewer(QWindow *parent = 0);
22     virtual ~QtQuick2ApplicationViewer();
23
24     void setMainQmlFile(const QString &file);
25     void addImportPath(const QString &path);
26
27     void showExpanded();
28
29 private:
30     class QtQuick2ApplicationViewerPrivate *d;
31 };
32
33 #endif // QTQUICK2APPLICATIONVIEWER_H