Kindfield
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties Friends Pages
qtquick2applicationviewer.h
Go to the documentation of this file.
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);
23 
24  void setMainQmlFile(const QString &file);
25  void addImportPath(const QString &path);
26 
27  void showExpanded();
28 
29 private:
31 };
32 
33 #endif // QTQUICK2APPLICATIONVIEWER_H