author | mickeyl <mickeyl> | 2003-03-30 01:51:14 (UTC) |
---|---|---|
committer | mickeyl <mickeyl> | 2003-03-30 01:51:14 (UTC) |
commit | d11a0154e2d9732854c9a3d598857bc20f359849 (patch) (unidiff) | |
tree | af0e0273d01f4f6c64c9f230f22bb91a7a8a21d8 /noncore/net/wellenreiter/gui/main.cpp | |
parent | 99899abc80a8aa05044eeecd8a061b0a8efaa713 (diff) | |
download | opie-d11a0154e2d9732854c9a3d598857bc20f359849.zip opie-d11a0154e2d9732854c9a3d598857bc20f359849.tar.gz opie-d11a0154e2d9732854c9a3d598857bc20f359849.tar.bz2 |
- the network work for libopie2 pays off...
- good bye to wellenreiterd, t'was fun but always too unstable and too hard to maintain
- good bye to libwellenreiter
Diffstat (limited to 'noncore/net/wellenreiter/gui/main.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/wellenreiter/gui/main.cpp | 30 |
1 files changed, 7 insertions, 23 deletions
diff --git a/noncore/net/wellenreiter/gui/main.cpp b/noncore/net/wellenreiter/gui/main.cpp index 270ce06..96a8c1c 100644 --- a/noncore/net/wellenreiter/gui/main.cpp +++ b/noncore/net/wellenreiter/gui/main.cpp | |||
@@ -14,30 +14,14 @@ | |||
14 | **********************************************************************/ | 14 | **********************************************************************/ |
15 | 15 | ||
16 | #include "mainwindow.h" | 16 | #include "mainwindow.h" |
17 | 17 | #include <opie2/oapplication.h> | |
18 | #ifdef QWS | ||
19 | #include <qpe/qpeapplication.h> | ||
20 | #else | ||
21 | #include <qapplication.h> | ||
22 | #endif | ||
23 | 18 | ||
24 | int main( int argc, char **argv ) | 19 | int main( int argc, char **argv ) |
25 | { | 20 | { |
26 | #ifdef QWS | 21 | OApplication a( argc, argv, "Wellenreiter II" ); |
27 | QPEApplication a( argc, argv ); | 22 | WellenreiterMainWindow* w = new WellenreiterMainWindow(); |
28 | #else | 23 | a.showMainWidget( w ); |
29 | QApplication a( argc, argv ); | 24 | a.exec(); |
30 | #endif | 25 | delete w; |
31 | 26 | return 0; | |
32 | WellenreiterMainWindow w; | ||
33 | |||
34 | w.setCaption( "Wellenreiter/Opie" ); | ||
35 | #ifdef QWS | ||
36 | a.showMainWidget(&w); | ||
37 | #else | ||
38 | a.setMainWidget(&w); | ||
39 | w.show(); | ||
40 | #endif | ||
41 | |||
42 | return a.exec(); | ||
43 | } | 27 | } |