author | zautrix <zautrix> | 2004-07-05 18:01:38 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2004-07-05 18:01:38 (UTC) |
commit | 6a826e654102e78abb6d14f80a3679575e5d3c9a (patch) (side-by-side diff) | |
tree | 0dbc28b69c3b7614bd7c528034e8c1ef4b815de0 /kmicromail/mainwindow.cpp | |
parent | 9a90061115ee2cac8adc5b2d21e607b6c5c9b890 (diff) | |
download | kdepimpi-6a826e654102e78abb6d14f80a3679575e5d3c9a.zip kdepimpi-6a826e654102e78abb6d14f80a3679575e5d3c9a.tar.gz kdepimpi-6a826e654102e78abb6d14f80a3679575e5d3c9a.tar.bz2 |
WSTYLE changes in mail
-rw-r--r-- | kmicromail/mainwindow.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kmicromail/mainwindow.cpp b/kmicromail/mainwindow.cpp index a500dec..cd32c72 100644 --- a/kmicromail/mainwindow.cpp +++ b/kmicromail/mainwindow.cpp @@ -1,68 +1,68 @@ #include <qlabel.h> #include <qvbox.h> #include <qheader.h> #include <qtimer.h> #include <qlayout.h> #include <kdialog.h> #include <kiconloader.h> #ifndef DESKTOP_VERSION #include <qpe/qpeapplication.h> #endif #include "defines.h" #include "mainwindow.h" #include <KDGanttMinimizeSplitter.h> #include <kabc/stdaddressbook.h> MainWindow::MainWindow( QWidget *parent, const char *name, WFlags flags ) - : QMainWindow( parent, name, flags ) + : QMainWindow( parent, name ) //, flags ) { setCaption( tr( "KMicroMail" ) ); setToolBarsMovable( false ); KABC::StdAddressBook::self(); toolBar = new QToolBar( this ); menuBar = new QMenuBar( toolBar ); mailMenu = new QPopupMenu( menuBar ); menuBar->insertItem( tr( "Mail" ), mailMenu ); settingsMenu = new QPopupMenu( menuBar ); menuBar->insertItem( tr( "Settings" ), settingsMenu ); addToolBar( toolBar ); toolBar->setHorizontalStretchable( true ); composeMail = new QAction( tr( "Compose new mail" ), SmallIcon("composemail"), 0, 0, this ); composeMail->addTo( toolBar ); composeMail->addTo( mailMenu ); sendQueued = new QAction( tr( "Send queued mails" ), SmallIcon("sendqueued") , 0, 0, this ); sendQueued->addTo( toolBar ); sendQueued->addTo( mailMenu ); /* syncFolders = new QAction( tr( "Sync mailfolders" ), ICON_SYNC, 0, 0, this ); syncFolders->addTo( toolBar ); syncFolders->addTo( mailMenu ); */ showFolders = new QAction( tr( "Show/Hide folders" ), SmallIcon("showfolders") , 0, 0, this, 0, true ); showFolders->addTo( toolBar ); showFolders->addTo( mailMenu ); showFolders->setOn( true ); connect(showFolders, SIGNAL( toggled(bool) ), SLOT( slotShowFolders(bool) ) ); /* searchMails = new QAction( tr( "Search mails" ), SmallIcon("find") ), 0, 0, this ); searchMails->addTo( toolBar ); searchMails->addTo( mailMenu ); */ |