Diffstat (limited to 'noncore/net/mail/mainwindow.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/mail/mainwindow.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/noncore/net/mail/mainwindow.cpp b/noncore/net/mail/mainwindow.cpp index 3f34fe7..bcf0866 100644 --- a/noncore/net/mail/mainwindow.cpp +++ b/noncore/net/mail/mainwindow.cpp | |||
@@ -1,33 +1,31 @@ | |||
1 | #include <qlabel.h> | 1 | #include <qlabel.h> |
2 | #include <qvbox.h> | 2 | #include <qvbox.h> |
3 | #include <qheader.h> | 3 | #include <qheader.h> |
4 | #include <qtimer.h> | 4 | #include <qtimer.h> |
5 | #include <qlayout.h> | 5 | #include <qlayout.h> |
6 | #include <qmessagebox.h> | ||
7 | 6 | ||
8 | #include <qpe/qpeapplication.h> | 7 | #include <qpe/qpeapplication.h> |
9 | #include <qpe/resource.h> | ||
10 | 8 | ||
11 | #include "defines.h" | 9 | #include "defines.h" |
12 | #include "mainwindow.h" | 10 | #include "mainwindow.h" |
13 | 11 | ||
14 | 12 | ||
15 | MainWindow::MainWindow( QWidget *parent, const char *name, WFlags flags ) | 13 | MainWindow::MainWindow( QWidget *parent, const char *name, WFlags flags ) |
16 | : QMainWindow( parent, name, flags ) | 14 | : QMainWindow( parent, name, flags ) |
17 | { | 15 | { |
18 | 16 | ||
19 | setCaption( tr( "Mail" ) ); | 17 | setCaption( tr( "Mail" ) ); |
20 | setToolBarsMovable( false ); | 18 | setToolBarsMovable( false ); |
21 | 19 | ||
22 | toolBar = new QToolBar( this ); | 20 | toolBar = new QToolBar( this ); |
23 | menuBar = new QMenuBar( toolBar ); | 21 | menuBar = new QMenuBar( toolBar ); |
24 | mailMenu = new QPopupMenu( menuBar ); | 22 | mailMenu = new QPopupMenu( menuBar ); |
25 | menuBar->insertItem( tr( "Mail" ), mailMenu ); | 23 | menuBar->insertItem( tr( "Mail" ), mailMenu ); |
26 | settingsMenu = new QPopupMenu( menuBar ); | 24 | settingsMenu = new QPopupMenu( menuBar ); |
27 | menuBar->insertItem( tr( "Settings" ), settingsMenu ); | 25 | menuBar->insertItem( tr( "Settings" ), settingsMenu ); |
28 | 26 | ||
29 | addToolBar( toolBar ); | 27 | addToolBar( toolBar ); |
30 | toolBar->setHorizontalStretchable( true ); | 28 | toolBar->setHorizontalStretchable( true ); |
31 | 29 | ||
32 | QLabel *spacer = new QLabel( toolBar ); | 30 | QLabel *spacer = new QLabel( toolBar ); |
33 | spacer->setBackgroundMode( QWidget::PaletteButton ); | 31 | spacer->setBackgroundMode( QWidget::PaletteButton ); |