author | zautrix <zautrix> | 2004-07-03 18:47:04 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2004-07-03 18:47:04 (UTC) |
commit | 55413f404aa7a59bfbf38f9f91fabb595eca57ad (patch) (side-by-side diff) | |
tree | 72cba78a4fd3c2caf23d39ce257762ace4726e30 /kmicromail/viewmailbase.cpp | |
parent | 5e6a0e28ecc7c4bf1eb7ad8637c99e1689623ed5 (diff) | |
download | kdepimpi-55413f404aa7a59bfbf38f9f91fabb595eca57ad.zip kdepimpi-55413f404aa7a59bfbf38f9f91fabb595eca57ad.tar.gz kdepimpi-55413f404aa7a59bfbf38f9f91fabb595eca57ad.tar.bz2 |
Fix of caption
-rw-r--r-- | kmicromail/viewmailbase.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kmicromail/viewmailbase.cpp b/kmicromail/viewmailbase.cpp index c761815..2590481 100644 --- a/kmicromail/viewmailbase.cpp +++ b/kmicromail/viewmailbase.cpp @@ -1,42 +1,42 @@ #include <qtextbrowser.h> #include <qlistview.h> #include <qaction.h> #include <qlabel.h> #include <qvbox.h> #include <qtoolbar.h> #include <qmenubar.h> #include <kiconloader.h> //#include <qpe/resource.h> #include "viewmailbase.h" //#include "opendiag.h" ViewMailBase::ViewMailBase(QWidget *parent, const char *name, WFlags fl) : QMainWindow(parent, name, fl) { - setCaption(tr("E-Mail by %1")); + setToolBarsMovable(false); toolbar = new QToolBar(this); menubar = new QMenuBar( toolbar ); mailmenu = new QPopupMenu( menubar ); menubar->insertItem( tr( "Mail" ), mailmenu ); toolbar->setHorizontalStretchable(true); addToolBar(toolbar); QLabel *spacer = new QLabel(toolbar); spacer->setBackgroundMode(QWidget::PaletteButton); toolbar->setStretchableWidget(spacer); reply = new QAction(tr("Reply"),SmallIcon("reply"), 0, 0, this); reply->addTo(toolbar); reply->addTo(mailmenu); forward = new QAction(tr("Forward"),SmallIcon("forward"), 0, 0, this); forward->addTo(toolbar); forward->addTo(mailmenu); attachbutton = new QAction(tr("Attachments"),SmallIcon("attach"), 0, 0, this, 0, true); attachbutton->addTo(toolbar); |