summaryrefslogtreecommitdiff
path: root/noncore/unsupported/mail2/mainwindow.cpp
authorconber <conber>2002-07-10 15:58:52 (UTC)
committer conber <conber>2002-07-10 15:58:52 (UTC)
commitc182d037fe82b7a7fc8adbc493eff9057d29a02d (patch) (side-by-side diff)
tree6553b5138914978000ed1286b2f588037d6d92e4 /noncore/unsupported/mail2/mainwindow.cpp
parent0439137e4c18ad7d10002e2da6bea20b57ae1dec (diff)
downloadopie-c182d037fe82b7a7fc8adbc493eff9057d29a02d.zip
opie-c182d037fe82b7a7fc8adbc493eff9057d29a02d.tar.gz
opie-c182d037fe82b7a7fc8adbc493eff9057d29a02d.tar.bz2
ui improvements
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 @@
#include <qprogressbar.h>
#include <qmessagebox.h>
+#include <qtoolbutton.h>
#include <qaction.h>
#include <qlabel.h>
@@ -15,7 +16,7 @@
MainWindow::MainWindow(QWidget *parent, const char *name, WFlags fl)
: MainWindowBase(parent, name, fl)
{
- stop->setEnabled(false);
+ stopButton->setEnabled(false);
connect(folderView, SIGNAL(status(const QString &)), statusLabel, SLOT(setText(const QString &)));
connect(folderView, SIGNAL(folderSelected(Folder)), mailView, SLOT(setFolder(Folder)));
@@ -25,9 +26,9 @@ MainWindow::MainWindow(QWidget *parent, const char *name, WFlags fl)
connect(mailView, SIGNAL(totalSteps(int)), statusProgress, SLOT(setTotalSteps(int)));
connect(mailView, SIGNAL(progress(int)), statusProgress, SLOT(setProgress(int)));
connect(mailView, SIGNAL(resetProgress()), statusProgress, SLOT(reset()));
- connect(mailView, SIGNAL(stopEnabled(bool)), stop, SLOT(setEnabled(bool)));
+ connect(mailView, SIGNAL(stopEnabled(bool)), stopButton, SLOT(setEnabled(bool)));
- connect(stop, SIGNAL(activated()), mailView, SLOT(stop()));
+ connect(stopButton, SIGNAL(clicked()), mailView, SLOT(stop()));
connect(compose, SIGNAL(activated()), SLOT(slotCompose()));
connect(sendQueue, SIGNAL(activated()), SLOT(slotSendQueued()));