summaryrefslogtreecommitdiffstats
path: root/languages/cpp/app_templates/qtopiaapp/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'languages/cpp/app_templates/qtopiaapp/main.cpp')
-rw-r--r--languages/cpp/app_templates/qtopiaapp/main.cpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/languages/cpp/app_templates/qtopiaapp/main.cpp b/languages/cpp/app_templates/qtopiaapp/main.cpp
new file mode 100644
index 00000000..0311a32e
--- /dev/null
+++ b/languages/cpp/app_templates/qtopiaapp/main.cpp
@@ -0,0 +1,13 @@
+
+#include "%{APPNAMELC}.h"
+#include <qpe/qpeapplication.h>
+
+int main( int argc, char ** argv )
+{
+ QPEApplication a( argc, argv );
+
+ %{APPNAME} mw;
+ a.showMainWidget( &mw );
+
+ return a.exec();
+}