Diffstat (limited to 'noncore/comm/keypebble/main.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/comm/keypebble/main.cpp | 18 |
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 @@ | |||
1 | |||
2 | |||
3 | #include <qurl.h> | ||
4 | #include <qpe/qpeapplication.h> | ||
5 | #include "kvnc.h" | ||
6 | |||
7 | int main( int argc, char **argv ) | ||
8 | { | ||
9 | QPEApplication app( argc, argv ); | ||
10 | KVNC *view = new KVNC( "Keypebble" ); | ||
11 | app.showMainWidget( view ); | ||
12 | |||
13 | if ( argc > 1 ) | ||
14 | view->openURL( QUrl(argv[1]) ); | ||
15 | |||
16 | return app.exec(); | ||
17 | } | ||
18 | |||