summaryrefslogtreecommitdiff
path: root/doc/src/snippets/signalmapper/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'doc/src/snippets/signalmapper/main.cpp')
-rw-r--r--doc/src/snippets/signalmapper/main.cpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/doc/src/snippets/signalmapper/main.cpp b/doc/src/snippets/signalmapper/main.cpp
new file mode 100644
index 0000000000..ebc601b7b0
--- /dev/null
+++ b/doc/src/snippets/signalmapper/main.cpp
@@ -0,0 +1,13 @@
+#include <QtGui>
+#include "filereader.h"
+
+int main(int argc, char *argv[])
+{
+ QApplication app(argc, argv);
+
+ FileReader *reader = new FileReader;
+ reader->show();
+
+ return app.exec();
+}
+