Diffstat (limited to 'noncore/unsupported/mail2/mainwindowbase.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/unsupported/mail2/mainwindowbase.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/noncore/unsupported/mail2/mainwindowbase.cpp b/noncore/unsupported/mail2/mainwindowbase.cpp index c55bd90..24f030f 100644 --- a/noncore/unsupported/mail2/mainwindowbase.cpp +++ b/noncore/unsupported/mail2/mainwindowbase.cpp | |||
@@ -17,24 +17,27 @@ MainWindowBase::MainWindowBase(QWidget *parent, const char *name, WFlags fl) | |||
17 | : QMainWindow(parent, name, fl) | 17 | : QMainWindow(parent, name, fl) |
18 | { | 18 | { |
19 | setCaption(tr("E-Mail")); | 19 | setCaption(tr("E-Mail")); |
20 | setToolBarsMovable(false); | 20 | setToolBarsMovable(false); |
21 | 21 | ||
22 | toolbar = new QPEToolBar(this); | 22 | toolbar = new QPEToolBar(this); |
23 | addToolBar(toolbar); | 23 | addToolBar(toolbar); |
24 | toolbar->setHorizontalStretchable(true); | 24 | toolbar->setHorizontalStretchable(true); |
25 | 25 | ||
26 | compose = new QAction(tr("Compose new mail"), QIconSet(Resource::loadPixmap("mail/newmail")), 0, 0, this); | 26 | compose = new QAction(tr("Compose new mail"), QIconSet(Resource::loadPixmap("mail/newmail")), 0, 0, this); |
27 | compose->addTo(toolbar); | 27 | compose->addTo(toolbar); |
28 | 28 | ||
29 | sendQueue = new QAction(tr("Send queued mails"), QIconSet(Resource::loadPixmap("mail/sendqueue")), 0, 0, this); | ||
30 | sendQueue->addTo(toolbar); | ||
31 | |||
29 | folders = new QAction(tr("Show/hide folders"), QIconSet(Resource::loadPixmap("mail/folder")), 0, 0, this, 0, true); | 32 | folders = new QAction(tr("Show/hide folders"), QIconSet(Resource::loadPixmap("mail/folder")), 0, 0, this, 0, true); |
30 | folders->addTo(toolbar); | 33 | folders->addTo(toolbar); |
31 | connect(folders, SIGNAL(toggled(bool)), SLOT(slotFoldersToggled(bool))); | 34 | connect(folders, SIGNAL(toggled(bool)), SLOT(slotFoldersToggled(bool))); |
32 | 35 | ||
33 | findmails = new QAction(tr("Search mails"), QIconSet(Resource::loadPixmap("mail/find")), 0, 0, this); | 36 | findmails = new QAction(tr("Search mails"), QIconSet(Resource::loadPixmap("mail/find")), 0, 0, this); |
34 | findmails->addTo(toolbar); | 37 | findmails->addTo(toolbar); |
35 | 38 | ||
36 | configure = new QAction(tr("Configuration"), QIconSet(Resource::loadPixmap("mail/configure")), 0, 0, this); | 39 | configure = new QAction(tr("Configuration"), QIconSet(Resource::loadPixmap("mail/configure")), 0, 0, this); |
37 | configure->addTo(toolbar); | 40 | configure->addTo(toolbar); |
38 | 41 | ||
39 | QLabel *spacer = new QLabel(toolbar); | 42 | QLabel *spacer = new QLabel(toolbar); |
40 | spacer->setBackgroundMode(QWidget::PaletteButton); | 43 | spacer->setBackgroundMode(QWidget::PaletteButton); |