author | conber <conber> | 2002-06-19 13:58:18 (UTC) |
---|---|---|
committer | conber <conber> | 2002-06-19 13:58:18 (UTC) |
commit | dee5f6c5a3bd982913d0b234fb9392ce68d5df63 (patch) (side-by-side diff) | |
tree | 8a3c2d374d622234b7cf67648c8c4e31a2b530b6 /noncore/unsupported/mail2/composerbase.cpp | |
parent | 230cdc6fd89f9e52859633816f554512cd2121e0 (diff) | |
download | opie-dee5f6c5a3bd982913d0b234fb9392ce68d5df63.zip opie-dee5f6c5a3bd982913d0b234fb9392ce68d5df63.tar.gz opie-dee5f6c5a3bd982913d0b234fb9392ce68d5df63.tar.bz2 |
some small fixes
Diffstat (limited to 'noncore/unsupported/mail2/composerbase.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/unsupported/mail2/composerbase.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/noncore/unsupported/mail2/composerbase.cpp b/noncore/unsupported/mail2/composerbase.cpp index ff00a73..c456ae5 100644 --- a/noncore/unsupported/mail2/composerbase.cpp +++ b/noncore/unsupported/mail2/composerbase.cpp @@ -24,12 +24,16 @@ ComposerBase::ComposerBase(QWidget *parent, const char *name, WFlags fl) menubar = new QPEMenuBar( toolbar ); mailmenu = new QPopupMenu( menubar ); menubar->insertItem( tr( "Mail" ), mailmenu ); addToolBar(toolbar); toolbar->setHorizontalStretchable(true); + QLabel *spacer = new QLabel(toolbar); + spacer->setBackgroundMode(QWidget::PaletteButton); + toolbar->setStretchableWidget(spacer); + sendmail = new QAction(tr("Send the mail"), QIconSet(Resource::loadPixmap("mail/sendmail")), 0, 0, this); sendmail->addTo(toolbar); sendmail->addTo(mailmenu); queuemail = new QAction(tr("Queue the mail"), QIconSet(Resource::loadPixmap("mail/sendall")), 0, 0, this); queuemail->addTo(toolbar); @@ -41,16 +45,12 @@ ComposerBase::ComposerBase(QWidget *parent, const char *name, WFlags fl) connect(attachfile, SIGNAL(toggled(bool)), SLOT(slotAttachfileChanged(bool))); addressbook = new QAction(tr("Addressbook"), QIconSet(Resource::loadPixmap("mail/addbook")), 0, 0, this); addressbook->addTo(toolbar); addressbook->addTo(mailmenu); - QLabel *spacer = new QLabel(toolbar); - spacer->setBackgroundMode(QWidget::PaletteButton); - toolbar->setStretchableWidget(spacer); - abort = new QAction(tr("Abort sending"), QIconSet(Resource::loadPixmap("mail/abort")), 0, 0, this); abort->addTo(toolbar); abort->addTo(mailmenu); QWidget *main = new QWidget(this); setCentralWidget(main); |