Diffstat (limited to 'noncore/net/mail/mainwindow.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/mail/mainwindow.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/noncore/net/mail/mainwindow.cpp b/noncore/net/mail/mainwindow.cpp index 3689352..b587424 100644 --- a/noncore/net/mail/mainwindow.cpp +++ b/noncore/net/mail/mainwindow.cpp | |||
@@ -63,11 +63,17 @@ MainWindow::MainWindow( QWidget *parent, const char *name, WFlags flags ) | |||
63 | spacer->setBackgroundMode( QWidget::PaletteButton ); | 63 | spacer->setBackgroundMode( QWidget::PaletteButton ); |
64 | toolBar->setStretchableWidget( spacer ); | 64 | toolBar->setStretchableWidget( spacer ); |
65 | 65 | ||
66 | readMail = new QAction(tr("Read current mail"),ICON_READMAIL,0,0,this); | ||
67 | readMail->addTo(toolBar); | ||
68 | readMail->addTo(mailMenu); | ||
69 | connect(readMail,SIGNAL(activated()),this,SLOT(displayMail())); | ||
70 | |||
66 | composeMail = new QAction( tr( "Compose new mail" ), ICON_COMPOSEMAIL, | 71 | composeMail = new QAction( tr( "Compose new mail" ), ICON_COMPOSEMAIL, |
67 | 0, 0, this ); | 72 | 0, 0, this ); |
68 | composeMail->addTo( toolBar ); | 73 | composeMail->addTo( toolBar ); |
69 | composeMail->addTo( mailMenu ); | 74 | composeMail->addTo( mailMenu ); |
70 | 75 | ||
76 | |||
71 | sendQueued = new QAction( tr( "Send queued mails" ), ICON_SENDQUEUED, | 77 | sendQueued = new QAction( tr( "Send queued mails" ), ICON_SENDQUEUED, |
72 | 0, 0, this ); | 78 | 0, 0, this ); |
73 | sendQueued->addTo( toolBar ); | 79 | sendQueued->addTo( toolBar ); |
@@ -122,6 +128,7 @@ MainWindow::MainWindow( QWidget *parent, const char *name, WFlags flags ) | |||
122 | connect(folderView,SIGNAL(serverSelected(int)),this,SLOT(serverSelected(int))); | 128 | connect(folderView,SIGNAL(serverSelected(int)),this,SLOT(serverSelected(int))); |
123 | connect(serverMenu,SIGNAL(activated(int)),folderView,SLOT(slotContextMenu(int))); | 129 | connect(serverMenu,SIGNAL(activated(int)),folderView,SLOT(slotContextMenu(int))); |
124 | connect(folderMenu,SIGNAL(activated(int)),folderView,SLOT(slotContextMenu(int))); | 130 | connect(folderMenu,SIGNAL(activated(int)),folderView,SLOT(slotContextMenu(int))); |
131 | connect(this,SIGNAL(settingsChanged()),folderView,SLOT(readSettings())); | ||
125 | 132 | ||
126 | 133 | ||
127 | layout->addWidget( folderView ); | 134 | layout->addWidget( folderView ); |