Diffstat (limited to 'noncore/net/wellenreiter/gui/mainwindow.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/wellenreiter/gui/mainwindow.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/noncore/net/wellenreiter/gui/mainwindow.cpp b/noncore/net/wellenreiter/gui/mainwindow.cpp index 5cc0daf..7add6cd 100644 --- a/noncore/net/wellenreiter/gui/mainwindow.cpp +++ b/noncore/net/wellenreiter/gui/mainwindow.cpp | |||
@@ -42,24 +42,29 @@ | |||
42 | #ifdef QWS | 42 | #ifdef QWS |
43 | #include <qpe/resource.h> | 43 | #include <qpe/resource.h> |
44 | #include <opie2/ofiledialog.h> | 44 | #include <opie2/ofiledialog.h> |
45 | using namespace Opie; | 45 | using namespace Opie; |
46 | #else | 46 | #else |
47 | #include "resource.h" | 47 | #include "resource.h" |
48 | #include <qapplication.h> | 48 | #include <qapplication.h> |
49 | #include <qfiledialog.h> | 49 | #include <qfiledialog.h> |
50 | #endif | 50 | #endif |
51 | 51 | ||
52 | #include <unistd.h> | 52 | #include <unistd.h> |
53 | 53 | ||
54 | using namespace Opie::Ui; | ||
55 | using namespace Opie::Net; | ||
56 | using namespace Opie::Ui; | ||
57 | using namespace Opie::Net; | ||
58 | using namespace Opie::Net; | ||
54 | WellenreiterMainWindow::WellenreiterMainWindow( QWidget * parent, const char * name, WFlags f ) | 59 | WellenreiterMainWindow::WellenreiterMainWindow( QWidget * parent, const char * name, WFlags f ) |
55 | :QMainWindow( parent, name, f ) | 60 | :QMainWindow( parent, name, f ) |
56 | { | 61 | { |
57 | cw = new WellenreiterConfigWindow( this ); | 62 | cw = new WellenreiterConfigWindow( this ); |
58 | mw = new Wellenreiter( this ); | 63 | mw = new Wellenreiter( this ); |
59 | mw->setConfigWindow( cw ); | 64 | mw->setConfigWindow( cw ); |
60 | setCentralWidget( mw ); | 65 | setCentralWidget( mw ); |
61 | 66 | ||
62 | // setup application icon | 67 | // setup application icon |
63 | 68 | ||
64 | setIcon( Resource::loadPixmap( "wellenreiter/appicon-trans" ) ); | 69 | setIcon( Resource::loadPixmap( "wellenreiter/appicon-trans" ) ); |
65 | #ifndef QWS | 70 | #ifndef QWS |