summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qdeclarativedebugobservermode/app/mainwindow.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/declarative/qdeclarativedebugobservermode/app/mainwindow.h')
-rw-r--r--tests/auto/declarative/qdeclarativedebugobservermode/app/mainwindow.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/tests/auto/declarative/qdeclarativedebugobservermode/app/mainwindow.h b/tests/auto/declarative/qdeclarativedebugobservermode/app/mainwindow.h
new file mode 100644
index 00000000..4eeba4ca
--- /dev/null
+++ b/tests/auto/declarative/qdeclarativedebugobservermode/app/mainwindow.h
@@ -0,0 +1,19 @@
+#ifndef MAINWINDOW_H
+#define MAINWINDOW_H
+
+#include <QMainWindow>
+#include <QDeclarativeView>
+
+class MainWindow : public QMainWindow
+{
+ Q_OBJECT
+public:
+ explicit MainWindow(QWidget *parent = 0);
+ ~MainWindow();
+ bool loadQML(const QUrl &source);
+
+private:
+ QDeclarativeView *m_view;
+};
+
+#endif // MAINWINDOW_H