author | tille <tille> | 2002-04-23 11:16:45 (UTC) |
---|---|---|
committer | tille <tille> | 2002-04-23 11:16:45 (UTC) |
commit | a3205d9bf5570af8441ed81cd6d9eeadf22319c9 (patch) (unidiff) | |
tree | e2403e5dcc46906570cb070b852ee83d9a8af0b8 /noncore/unsupported/oipkg/main.cpp | |
parent | 7e8db7f310d7a43326337a7960e59d9e313b8534 (diff) | |
download | opie-a3205d9bf5570af8441ed81cd6d9eeadf22319c9.zip opie-a3205d9bf5570af8441ed81cd6d9eeadf22319c9.tar.gz opie-a3205d9bf5570af8441ed81cd6d9eeadf22319c9.tar.bz2 |
... mostly rewritten.
Diffstat (limited to 'noncore/unsupported/oipkg/main.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/unsupported/oipkg/main.cpp | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/noncore/unsupported/oipkg/main.cpp b/noncore/unsupported/oipkg/main.cpp new file mode 100644 index 0000000..264fd55 --- a/dev/null +++ b/noncore/unsupported/oipkg/main.cpp | |||
@@ -0,0 +1,19 @@ | |||
1 | |||
2 | #include "mainwindow.h" | ||
3 | |||
4 | #include <qpe/qpeapplication.h> | ||
5 | #include <qstring.h> | ||
6 | int debugLevel; | ||
7 | |||
8 | int main( int argc, char ** argv ) | ||
9 | { | ||
10 | debugLevel = 1; | ||
11 | if (argc > 2) | ||
12 | { | ||
13 | debugLevel = QString ( argv[1] ).toInt(); | ||
14 | } | ||
15 | QPEApplication a( argc, argv ); | ||
16 | MainWindow mw; | ||
17 | a.showMainDocumentWidget( &mw ); | ||
18 | return a.exec(); | ||
19 | } | ||