summaryrefslogtreecommitdiff
path: root/noncore/apps/opie-sheet/main.cpp
authorthufir <thufir>2002-07-04 16:58:16 (UTC)
committer thufir <thufir>2002-07-04 16:58:16 (UTC)
commitd2b982a38091cbc7cd4eba0994ab6c5e3c7f7189 (patch) (side-by-side diff)
treed1e0a5fa80a12717b46257936ee3f8bb1b3ef89e /noncore/apps/opie-sheet/main.cpp
parenta53847b7d27938551bb4f1c8891e7bacc93143ee (diff)
downloadopie-d2b982a38091cbc7cd4eba0994ab6c5e3c7f7189.zip
opie-d2b982a38091cbc7cd4eba0994ab6c5e3c7f7189.tar.gz
opie-d2b982a38091cbc7cd4eba0994ab6c5e3c7f7189.tar.bz2
added opie-sheet
Diffstat (limited to 'noncore/apps/opie-sheet/main.cpp') (more/less context) (show whitespace changes)
-rw-r--r--noncore/apps/opie-sheet/main.cpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/noncore/apps/opie-sheet/main.cpp b/noncore/apps/opie-sheet/main.cpp
new file mode 100644
index 0000000..236a579
--- a/dev/null
+++ b/noncore/apps/opie-sheet/main.cpp
@@ -0,0 +1,14 @@
+#include <qpe/qpeapplication.h>
+
+#include "mainwindow.h"
+
+int main(int argc, char **argv)
+{
+ QPEApplication application(argc, argv);
+
+ MainWindow windowMain;
+ windowMain.setHelpFile(application.qpeDir()+"/help/html/"+QString(argv[0])+".html");
+ application.showMainDocumentWidget(&windowMain);
+
+ return application.exec();
+}