author | mickeyl <mickeyl> | 2003-03-04 14:24:58 (UTC) |
---|---|---|
committer | mickeyl <mickeyl> | 2003-03-04 14:24:58 (UTC) |
commit | 8642232f4435bc5341037527d1eb12d1f39781f4 (patch) (unidiff) | |
tree | 495a20be66433317753e7b98aec57a0de8ca53b3 /noncore/net/wellenreiter/gui/mainwindow.cpp | |
parent | 3adca473d5440b00e15781627e00465350e9118b (diff) | |
download | opie-8642232f4435bc5341037527d1eb12d1f39781f4.zip opie-8642232f4435bc5341037527d1eb12d1f39781f4.tar.gz opie-8642232f4435bc5341037527d1eb12d1f39781f4.tar.bz2 |
add missing header for x11 standalone build
Diffstat (limited to 'noncore/net/wellenreiter/gui/mainwindow.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/wellenreiter/gui/mainwindow.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/noncore/net/wellenreiter/gui/mainwindow.cpp b/noncore/net/wellenreiter/gui/mainwindow.cpp index 1185f84..d4988af 100644 --- a/noncore/net/wellenreiter/gui/mainwindow.cpp +++ b/noncore/net/wellenreiter/gui/mainwindow.cpp | |||
@@ -16,48 +16,49 @@ | |||
16 | #include "configwindow.h" | 16 | #include "configwindow.h" |
17 | #include "logwindow.h" | 17 | #include "logwindow.h" |
18 | #include "mainwindow.h" | 18 | #include "mainwindow.h" |
19 | #include "wellenreiter.h" | 19 | #include "wellenreiter.h" |
20 | 20 | ||
21 | #include "scanlist.h" | 21 | #include "scanlist.h" |
22 | 22 | ||
23 | #include <qcombobox.h> | 23 | #include <qcombobox.h> |
24 | #include <qdatastream.h> | 24 | #include <qdatastream.h> |
25 | #include <qfile.h> | 25 | #include <qfile.h> |
26 | #include <qfileinfo.h> | 26 | #include <qfileinfo.h> |
27 | #include <qiconset.h> | 27 | #include <qiconset.h> |
28 | #include <qmenubar.h> | 28 | #include <qmenubar.h> |
29 | #include <qmessagebox.h> | 29 | #include <qmessagebox.h> |
30 | #include <qpopupmenu.h> | 30 | #include <qpopupmenu.h> |
31 | #include <qstatusbar.h> | 31 | #include <qstatusbar.h> |
32 | #include <qtextstream.h> | 32 | #include <qtextstream.h> |
33 | #include <qtoolbutton.h> | 33 | #include <qtoolbutton.h> |
34 | 34 | ||
35 | #ifdef QWS | 35 | #ifdef QWS |
36 | #include <qpe/resource.h> | 36 | #include <qpe/resource.h> |
37 | #include <opie/ofiledialog.h> | 37 | #include <opie/ofiledialog.h> |
38 | #else | 38 | #else |
39 | #include "resource.h" | 39 | #include "resource.h" |
40 | #include <qapplication.h> | ||
40 | #include <qfiledialog.h> | 41 | #include <qfiledialog.h> |
41 | #endif | 42 | #endif |
42 | 43 | ||
43 | WellenreiterMainWindow::WellenreiterMainWindow( QWidget * parent, const char * name, WFlags f ) | 44 | WellenreiterMainWindow::WellenreiterMainWindow( QWidget * parent, const char * name, WFlags f ) |
44 | :QMainWindow( parent, name, f ) | 45 | :QMainWindow( parent, name, f ) |
45 | { | 46 | { |
46 | cw = new WellenreiterConfigWindow( this ); | 47 | cw = new WellenreiterConfigWindow( this ); |
47 | mw = new Wellenreiter( this ); | 48 | mw = new Wellenreiter( this ); |
48 | mw->setConfigWindow( cw ); | 49 | mw->setConfigWindow( cw ); |
49 | setCentralWidget( mw ); | 50 | setCentralWidget( mw ); |
50 | 51 | ||
51 | // setup application icon | 52 | // setup application icon |
52 | 53 | ||
53 | #ifndef QWS | 54 | #ifndef QWS |
54 | setIcon( Resource::loadPixmap( "wellenreiter/appicon-trans" ) ); | 55 | setIcon( Resource::loadPixmap( "wellenreiter/appicon-trans" ) ); |
55 | setIconText( "Wellenreiter/X11" ); | 56 | setIconText( "Wellenreiter/X11" ); |
56 | #endif | 57 | #endif |
57 | 58 | ||
58 | // setup icon sets | 59 | // setup icon sets |
59 | 60 | ||
60 | infoIconSet = new QIconSet( Resource::loadPixmap( "wellenreiter/InfoIcon" ) ); | 61 | infoIconSet = new QIconSet( Resource::loadPixmap( "wellenreiter/InfoIcon" ) ); |
61 | settingsIconSet = new QIconSet( Resource::loadPixmap( "wellenreiter/SettingsIcon" ) ); | 62 | settingsIconSet = new QIconSet( Resource::loadPixmap( "wellenreiter/SettingsIcon" ) ); |
62 | #ifdef QWS | 63 | #ifdef QWS |
63 | searchIconSet = new QIconSet( Resource::loadPixmap( "wellenreiter/SearchIcon" ) ); | 64 | searchIconSet = new QIconSet( Resource::loadPixmap( "wellenreiter/SearchIcon" ) ); |