summaryrefslogtreecommitdiff
path: root/noncore/comm/keypebble/main.cpp
Side-by-side diff
Diffstat (limited to 'noncore/comm/keypebble/main.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/comm/keypebble/main.cpp11
1 files changed, 3 insertions, 8 deletions
diff --git a/noncore/comm/keypebble/main.cpp b/noncore/comm/keypebble/main.cpp
index bc7782c..11f67fc 100644
--- a/noncore/comm/keypebble/main.cpp
+++ b/noncore/comm/keypebble/main.cpp
@@ -1,15 +1,10 @@
-#include <qurl.h>
+
#include <qpe/qpeapplication.h>
#include "kvnc.h"
+#include <opie/oapplicationfactory.h>
-int main( int argc, char **argv )
-{
- QPEApplication app( argc, argv );
- KVNC *view = new KVNC( "Keypebble" );
- app.showMainWidget( view );
- return app.exec();
-}
+OPIE_EXPORT_APP( OApplicationFactory<KVNC> )