summaryrefslogtreecommitdiff
path: root/noncore/unsupported/mail2/mainwindow.cpp
Unidiff
Diffstat (limited to 'noncore/unsupported/mail2/mainwindow.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/unsupported/mail2/mainwindow.cpp10
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
@@ -21,35 +21,45 @@ MainWindow::MainWindow(QWidget *parent, const char *name, WFlags fl)
21 connect(folderView, SIGNAL(folderSelected(Folder)), mailView, SLOT(setFolder(Folder))); 21 connect(folderView, SIGNAL(folderSelected(Folder)), mailView, SLOT(setFolder(Folder)));
22 22
23 connect(mailView, SIGNAL(mailClicked(IMAPResponseFETCH, IMAPHandler *)), SLOT(mailClicked(IMAPResponseFETCH, IMAPHandler *))); 23 connect(mailView, SIGNAL(mailClicked(IMAPResponseFETCH, IMAPHandler *)), SLOT(mailClicked(IMAPResponseFETCH, IMAPHandler *)));
24 connect(mailView, SIGNAL(status(const QString &)), statusLabel, SLOT(setText(const QString &))); 24 connect(mailView, SIGNAL(status(const QString &)), statusLabel, SLOT(setText(const QString &)));
25 connect(mailView, SIGNAL(totalSteps(int)), statusProgress, SLOT(setTotalSteps(int))); 25 connect(mailView, SIGNAL(totalSteps(int)), statusProgress, SLOT(setTotalSteps(int)));
26 connect(mailView, SIGNAL(progress(int)), statusProgress, SLOT(setProgress(int))); 26 connect(mailView, SIGNAL(progress(int)), statusProgress, SLOT(setProgress(int)));
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
37void MainWindow::slotCompose() 38void 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
45void MainWindow::slotSendQueued()
46{
47 Composer composer(this, 0, true, true);
48 // composer.sendQueue();
49 composer.showMaximized();
50 composer.exec();
51 //composer.close();
52}
53
44void MainWindow::slotSearch() 54void 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}
50 60
51void MainWindow::slotConfigure() 61void MainWindow::slotConfigure()
52{ 62{
53 ConfigDiag configDiag(this, 0, true); 63 ConfigDiag configDiag(this, 0, true);
54 configDiag.showMaximized(); 64 configDiag.showMaximized();
55 configDiag.exec(); 65 configDiag.exec();