summaryrefslogtreecommitdiff
path: root/noncore/unsupported/mail2/mainwindowbase.cpp
Side-by-side diff
Diffstat (limited to 'noncore/unsupported/mail2/mainwindowbase.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/unsupported/mail2/mainwindowbase.cpp20
1 files changed, 2 insertions, 18 deletions
diff --git a/noncore/unsupported/mail2/mainwindowbase.cpp b/noncore/unsupported/mail2/mainwindowbase.cpp
index bffe8b3..e35d489 100644
--- a/noncore/unsupported/mail2/mainwindowbase.cpp
+++ b/noncore/unsupported/mail2/mainwindowbase.cpp
@@ -1,5 +1,3 @@
-#include <qprogressbar.h>
-#include <qtoolbutton.h>
#include <qpopupmenu.h>
#include <qaction.h>
#include <qheader.h>
@@ -11,6 +9,7 @@
#include <qpe/resource.h>
#include "mainwindowbase.h"
+#include "mailstatusbar.h"
#include "folderwidget.h"
#include "mailtable.h"
@@ -65,22 +64,7 @@ MainWindowBase::MainWindowBase(QWidget *parent, const char *name, WFlags fl)
mailView = new MailTable(view);
mailView->setMinimumHeight(50);
- QHBox *status = new QHBox(view);
-
- statusLabel = new QLabel(status);
- QFont tmpFont = statusLabel->font();
- tmpFont.setPixelSize(8);
- statusLabel->setFont(tmpFont);
-
- stopButton = new QToolButton(status);
- stopButton->setText(" X ");
- stopButton->setMaximumHeight(15);
- stopButton->setSizePolicy(QSizePolicy(QSizePolicy::Fixed, QSizePolicy::Fixed));
-
- statusProgress = new QProgressBar(status);
- statusProgress->setCenterIndicator(true);
- statusProgress->setMaximumHeight(15);
- statusProgress->setSizePolicy(QSizePolicy(QSizePolicy::Fixed, QSizePolicy::Fixed));
+ status = new MailStatusBar(view);
}
void MainWindowBase::slotFoldersToggled(bool toggled)