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.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/noncore/unsupported/mail2/mainwindow.cpp b/noncore/unsupported/mail2/mainwindow.cpp
index 652db94..0044693 100644
--- a/noncore/unsupported/mail2/mainwindow.cpp
+++ b/noncore/unsupported/mail2/mainwindow.cpp
@@ -1,5 +1,6 @@
1#include <qprogressbar.h> 1#include <qprogressbar.h>
2#include <qmessagebox.h> 2#include <qmessagebox.h>
3#include <qtoolbutton.h>
3#include <qaction.h> 4#include <qaction.h>
4#include <qlabel.h> 5#include <qlabel.h>
5 6
@@ -15,7 +16,7 @@
15MainWindow::MainWindow(QWidget *parent, const char *name, WFlags fl) 16MainWindow::MainWindow(QWidget *parent, const char *name, WFlags fl)
16 : MainWindowBase(parent, name, fl) 17 : MainWindowBase(parent, name, fl)
17{ 18{
18 stop->setEnabled(false); 19 stopButton->setEnabled(false);
19 20
20 connect(folderView, SIGNAL(status(const QString &)), statusLabel, SLOT(setText(const QString &))); 21 connect(folderView, SIGNAL(status(const QString &)), statusLabel, SLOT(setText(const QString &)));
21 connect(folderView, SIGNAL(folderSelected(Folder)), mailView, SLOT(setFolder(Folder))); 22 connect(folderView, SIGNAL(folderSelected(Folder)), mailView, SLOT(setFolder(Folder)));
@@ -25,9 +26,9 @@ MainWindow::MainWindow(QWidget *parent, const char *name, WFlags fl)
25 connect(mailView, SIGNAL(totalSteps(int)), statusProgress, SLOT(setTotalSteps(int))); 26 connect(mailView, SIGNAL(totalSteps(int)), statusProgress, SLOT(setTotalSteps(int)));
26 connect(mailView, SIGNAL(progress(int)), statusProgress, SLOT(setProgress(int))); 27 connect(mailView, SIGNAL(progress(int)), statusProgress, SLOT(setProgress(int)));
27 connect(mailView, SIGNAL(resetProgress()), statusProgress, SLOT(reset())); 28 connect(mailView, SIGNAL(resetProgress()), statusProgress, SLOT(reset()));
28 connect(mailView, SIGNAL(stopEnabled(bool)), stop, SLOT(setEnabled(bool))); 29 connect(mailView, SIGNAL(stopEnabled(bool)), stopButton, SLOT(setEnabled(bool)));
29 30
30 connect(stop, SIGNAL(activated()), mailView, SLOT(stop())); 31 connect(stopButton, SIGNAL(clicked()), mailView, SLOT(stop()));
31 32
32 connect(compose, SIGNAL(activated()), SLOT(slotCompose())); 33 connect(compose, SIGNAL(activated()), SLOT(slotCompose()));
33 connect(sendQueue, SIGNAL(activated()), SLOT(slotSendQueued())); 34 connect(sendQueue, SIGNAL(activated()), SLOT(slotSendQueued()));