From 99cf287037a0d9f99e4fc035d1b9f6db08bb6583 Mon Sep 17 00:00:00 2001 From: tille Date: Tue, 18 Jun 2002 13:49:13 +0000 Subject: added queue mail support --- (limited to 'noncore/unsupported/mail2/mainwindow.cpp') 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 @@ -30,6 +30,7 @@ MainWindow::MainWindow(QWidget *parent, const char *name, WFlags fl) connect(stop, SIGNAL(activated()), mailView, SLOT(stop())); connect(compose, SIGNAL(activated()), SLOT(slotCompose())); + connect(sendQueue, SIGNAL(activated()), SLOT(slotSendQueued())); connect(findmails, SIGNAL(activated()), SLOT(slotSearch())); connect(configure, SIGNAL(activated()), SLOT(slotConfigure())); } @@ -41,6 +42,15 @@ void MainWindow::slotCompose() composer.exec(); } +void MainWindow::slotSendQueued() +{ + Composer composer(this, 0, true, true); +// composer.sendQueue(); + composer.showMaximized(); + composer.exec(); +// composer.close(); +} + void MainWindow::slotSearch() { SearchDiag searchDiag(this, 0, true); -- cgit v0.9.0.2