Diffstat (limited to 'noncore/unsupported/mail2/mainwindow.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/unsupported/mail2/mainwindow.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/noncore/unsupported/mail2/mainwindow.cpp b/noncore/unsupported/mail2/mainwindow.cpp index 2230dc0..652db94 100644 --- a/noncore/unsupported/mail2/mainwindow.cpp +++ b/noncore/unsupported/mail2/mainwindow.cpp | |||
@@ -27,23 +27,33 @@ MainWindow::MainWindow(QWidget *parent, const char *name, WFlags fl) | |||
27 | connect(mailView, SIGNAL(resetProgress()), statusProgress, SLOT(reset())); | 27 | connect(mailView, SIGNAL(resetProgress()), statusProgress, SLOT(reset())); |
28 | connect(mailView, SIGNAL(stopEnabled(bool)), stop, SLOT(setEnabled(bool))); | 28 | connect(mailView, SIGNAL(stopEnabled(bool)), stop, SLOT(setEnabled(bool))); |
29 | 29 | ||
30 | connect(stop, SIGNAL(activated()), mailView, SLOT(stop())); | 30 | connect(stop, SIGNAL(activated()), mailView, SLOT(stop())); |
31 | 31 | ||
32 | connect(compose, SIGNAL(activated()), SLOT(slotCompose())); | 32 | connect(compose, SIGNAL(activated()), SLOT(slotCompose())); |
33 | connect(sendQueue, SIGNAL(activated()), SLOT(slotSendQueued())); | ||
33 | connect(findmails, SIGNAL(activated()), SLOT(slotSearch())); | 34 | connect(findmails, SIGNAL(activated()), SLOT(slotSearch())); |
34 | connect(configure, SIGNAL(activated()), SLOT(slotConfigure())); | 35 | connect(configure, SIGNAL(activated()), SLOT(slotConfigure())); |
35 | } | 36 | } |
36 | 37 | ||
37 | void MainWindow::slotCompose() | 38 | void MainWindow::slotCompose() |
38 | { | 39 | { |
39 | Composer composer(this, 0, true); | 40 | Composer composer(this, 0, true); |
40 | composer.showMaximized(); | 41 | composer.showMaximized(); |
41 | composer.exec(); | 42 | composer.exec(); |
42 | } | 43 | } |
43 | 44 | ||
45 | void MainWindow::slotSendQueued() | ||
46 | { | ||
47 | Composer composer(this, 0, true, true); | ||
48 | // composer.sendQueue(); | ||
49 | composer.showMaximized(); | ||
50 | composer.exec(); | ||
51 | //composer.close(); | ||
52 | } | ||
53 | |||
44 | void MainWindow::slotSearch() | 54 | void MainWindow::slotSearch() |
45 | { | 55 | { |
46 | SearchDiag searchDiag(this, 0, true); | 56 | SearchDiag searchDiag(this, 0, true); |
47 | searchDiag.showMaximized(); | 57 | searchDiag.showMaximized(); |
48 | searchDiag.exec(); | 58 | searchDiag.exec(); |
49 | } | 59 | } |