summaryrefslogtreecommitdiffstats
path: root/examples/widgets/orientation/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/widgets/orientation/main.cpp')
-rw-r--r--examples/widgets/orientation/main.cpp15
1 files changed, 15 insertions, 0 deletions
diff --git a/examples/widgets/orientation/main.cpp b/examples/widgets/orientation/main.cpp
new file mode 100644
index 0000000..34b05d6
--- /dev/null
+++ b/examples/widgets/orientation/main.cpp
@@ -0,0 +1,15 @@
+#include <QtGui/QApplication>
+#include "mainwindow.h"
+
+//! [0]
+int main(int argc, char *argv[])
+{
+ QApplication a(argc, argv);
+
+ MainWindow w;
+ w.showFullScreen();
+
+ return a.exec();
+}
+//! [0]
+