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.cpp18
1 files changed, 18 insertions, 0 deletions
diff --git a/noncore/comm/keypebble/main.cpp b/noncore/comm/keypebble/main.cpp
new file mode 100644
index 0000000..a32a368
--- a/dev/null
+++ b/noncore/comm/keypebble/main.cpp
@@ -0,0 +1,18 @@
+
+
+#include <qurl.h>
+#include <qpe/qpeapplication.h>
+#include "kvnc.h"
+
+int main( int argc, char **argv )
+{
+ QPEApplication app( argc, argv );
+ KVNC *view = new KVNC( "Keypebble" );
+ app.showMainWidget( view );
+
+ if ( argc > 1 )
+ view->openURL( QUrl(argv[1]) );
+
+ return app.exec();
+}
+