summaryrefslogtreecommitdiff
path: root/noncore/net/wellenreiter/gui/main.cpp
authormickeyl <mickeyl>2003-02-20 00:00:22 (UTC)
committer mickeyl <mickeyl>2003-02-20 00:00:22 (UTC)
commitd25a16d1fd34374e4d2815dec4d11b25b2049432 (patch) (unidiff)
tree51f8fe7f32a891e3a1f5c579b15734bd784f8142 /noncore/net/wellenreiter/gui/main.cpp
parentc815825a0368257defb64d5f8ce5e2a2f2da93c6 (diff)
downloadopie-d25a16d1fd34374e4d2815dec4d11b25b2049432.zip
opie-d25a16d1fd34374e4d2815dec4d11b25b2049432.tar.gz
opie-d25a16d1fd34374e4d2815dec4d11b25b2049432.tar.bz2
- add mainwindow as central window
- add menubar and some toolbuttons
Diffstat (limited to 'noncore/net/wellenreiter/gui/main.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/wellenreiter/gui/main.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/noncore/net/wellenreiter/gui/main.cpp b/noncore/net/wellenreiter/gui/main.cpp
index 3307d49..270ce06 100644
--- a/noncore/net/wellenreiter/gui/main.cpp
+++ b/noncore/net/wellenreiter/gui/main.cpp
@@ -13,7 +13,7 @@
13** 13**
14**********************************************************************/ 14**********************************************************************/
15 15
16#include "wellenreiter.h" 16#include "mainwindow.h"
17 17
18#ifdef QWS 18#ifdef QWS
19#include <qpe/qpeapplication.h> 19#include <qpe/qpeapplication.h>
@@ -29,14 +29,14 @@ int main( int argc, char **argv )
29 QApplication a( argc, argv ); 29 QApplication a( argc, argv );
30#endif 30#endif
31 31
32 Wellenreiter e; 32 WellenreiterMainWindow w;
33 33
34 e.setCaption( Wellenreiter::tr("Wellenreiter") ); 34 w.setCaption( "Wellenreiter/Opie" );
35#ifdef QWS 35#ifdef QWS
36 a.showMainWidget(&e); 36 a.showMainWidget(&w);
37#else 37#else
38 a.setMainWidget(&e); 38 a.setMainWidget(&w);
39 e.show(); 39 w.show();
40#endif 40#endif
41 41
42 return a.exec(); 42 return a.exec();