summaryrefslogtreecommitdiff
path: root/noncore/unsupported/mail2/mainwindowbase.cpp
Unidiff
Diffstat (limited to 'noncore/unsupported/mail2/mainwindowbase.cpp') (more/less context) (show whitespace changes)
-rw-r--r--noncore/unsupported/mail2/mainwindowbase.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/noncore/unsupported/mail2/mainwindowbase.cpp b/noncore/unsupported/mail2/mainwindowbase.cpp
index 4054af6..c55bd90 100644
--- a/noncore/unsupported/mail2/mainwindowbase.cpp
+++ b/noncore/unsupported/mail2/mainwindowbase.cpp
@@ -1,34 +1,34 @@
1#include <qprogressbar.h> 1#include <qprogressbar.h>
2#include <qtoolbutton.h> 2#include <qtoolbutton.h>
3#include <qpopupmenu.h> 3#include <qpopupmenu.h>
4#include <qtoolbar.h>
5#include <qaction.h> 4#include <qaction.h>
6#include <qheader.h> 5#include <qheader.h>
7#include <qlabel.h> 6#include <qlabel.h>
8#include <qvbox.h> 7#include <qvbox.h>
9 8
9#include <qpe/qpetoolbar.h>
10#include <qpe/resource.h> 10#include <qpe/resource.h>
11 11
12#include "mainwindowbase.h" 12#include "mainwindowbase.h"
13#include "folderwidget.h" 13#include "folderwidget.h"
14#include "mailtable.h" 14#include "mailtable.h"
15 15
16MainWindowBase::MainWindowBase(QWidget *parent, const char *name, WFlags fl) 16MainWindowBase::MainWindowBase(QWidget *parent, const char *name, WFlags fl)
17 : QMainWindow(parent, name, fl) 17 : QMainWindow(parent, name, fl)
18{ 18{
19 setCaption(tr("E-Mail")); 19 setCaption(tr("E-Mail"));
20 setToolBarsMovable(false); 20 setToolBarsMovable(false);
21 21
22 toolbar = new QToolBar(this); 22 toolbar = new QPEToolBar(this);
23 addToolBar(toolbar); 23 addToolBar(toolbar);
24 toolbar->setHorizontalStretchable(true); 24 toolbar->setHorizontalStretchable(true);
25 25
26 compose = new QAction(tr("Compose new mail"), QIconSet(Resource::loadPixmap("mail/newmail")), 0, 0, this); 26 compose = new QAction(tr("Compose new mail"), QIconSet(Resource::loadPixmap("mail/newmail")), 0, 0, this);
27 compose->addTo(toolbar); 27 compose->addTo(toolbar);
28 28
29 folders = new QAction(tr("Show/hide folders"), QIconSet(Resource::loadPixmap("mail/folder")), 0, 0, this, 0, true); 29 folders = new QAction(tr("Show/hide folders"), QIconSet(Resource::loadPixmap("mail/folder")), 0, 0, this, 0, true);
30 folders->addTo(toolbar); 30 folders->addTo(toolbar);
31 connect(folders, SIGNAL(toggled(bool)), SLOT(slotFoldersToggled(bool))); 31 connect(folders, SIGNAL(toggled(bool)), SLOT(slotFoldersToggled(bool)));
32 32
33 findmails = new QAction(tr("Search mails"), QIconSet(Resource::loadPixmap("mail/find")), 0, 0, this); 33 findmails = new QAction(tr("Search mails"), QIconSet(Resource::loadPixmap("mail/find")), 0, 0, this);
34 findmails->addTo(toolbar); 34 findmails->addTo(toolbar);