summaryrefslogtreecommitdiff
path: root/core/apps/textedit/main.cpp
Side-by-side diff
Diffstat (limited to 'core/apps/textedit/main.cpp') (more/less context) (show whitespace changes)
-rw-r--r--core/apps/textedit/main.cpp13
1 files changed, 2 insertions, 11 deletions
diff --git a/core/apps/textedit/main.cpp b/core/apps/textedit/main.cpp
index f80c5d8..edab73d 100644
--- a/core/apps/textedit/main.cpp
+++ b/core/apps/textedit/main.cpp
@@ -21,15 +21,6 @@
#include "textedit.h"
#include <qpe/qpeapplication.h>
+#include <opie/oapplicationfactory.h>
-int main( int argc, char **argv )
-{
- QPEApplication a( argc, argv );
-
- TextEdit e;
- a.showMainDocumentWidget(&e);
-// if ( argc == 3 && argv[1] == QCString("-f") )
-// e.openFile(argv[2]);
-
- return a.exec();
-}
+OPIE_EXPORT_APP( OApplicationFactory<TextEdit> )