summaryrefslogtreecommitdiff
path: root/noncore/unsupported/mail2/composerbase.cpp
Unidiff
Diffstat (limited to 'noncore/unsupported/mail2/composerbase.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/unsupported/mail2/composerbase.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/noncore/unsupported/mail2/composerbase.cpp b/noncore/unsupported/mail2/composerbase.cpp
index 7754863..10d567d 100644
--- a/noncore/unsupported/mail2/composerbase.cpp
+++ b/noncore/unsupported/mail2/composerbase.cpp
@@ -1,28 +1,28 @@
1#include <qmultilineedit.h> 1#include <qmultilineedit.h>
2#include <qpopupmenu.h> 2#include <qpopupmenu.h>
3#include <qcombobox.h> 3#include <qcombobox.h>
4#include <qlineedit.h> 4#include <qlineedit.h>
5#include <qtoolbar.h>
6#include <qlayout.h> 5#include <qlayout.h>
7#include <qaction.h> 6#include <qaction.h>
8#include <qlabel.h> 7#include <qlabel.h>
9#include <qvbox.h> 8#include <qvbox.h>
10 9
10#include <qpe/qpetoolbar.h>
11#include <qpe/resource.h> 11#include <qpe/resource.h>
12 12
13#include "listviewplus.h" 13#include "listviewplus.h"
14#include "composerbase.h" 14#include "composerbase.h"
15 15
16ComposerBase::ComposerBase(QWidget *parent, const char *name, WFlags fl) 16ComposerBase::ComposerBase(QWidget *parent, const char *name, WFlags fl)
17 : QMainWindow(parent, name, fl) 17 : QMainWindow(parent, name, fl)
18{ 18{
19 setCaption(tr("Compose Message")); 19 setCaption(tr("Compose Message"));
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 sendmail = new QAction(tr("Send the mail"), QIconSet(Resource::loadPixmap("mail/sendmail")), 0, 0, this); 26 sendmail = new QAction(tr("Send the mail"), QIconSet(Resource::loadPixmap("mail/sendmail")), 0, 0, this);
27 sendmail->addTo(toolbar); 27 sendmail->addTo(toolbar);
28 28
@@ -113,13 +113,13 @@ ComposerBase::ComposerBase(QWidget *parent, const char *name, WFlags fl)
113 attachWindow = new QMainWindow(view, 0, 0); 113 attachWindow = new QMainWindow(view, 0, 0);
114 attachWindow->setMinimumHeight(100); 114 attachWindow->setMinimumHeight(100);
115 attachWindow->setMaximumHeight(100); 115 attachWindow->setMaximumHeight(100);
116 attachWindow->setToolBarsMovable(false); 116 attachWindow->setToolBarsMovable(false);
117 attachWindow->hide(); 117 attachWindow->hide();
118 118
119 attachToolbar = new QToolBar(attachWindow); 119 attachToolbar = new QPEToolBar(attachWindow);
120 attachToolbar->setVerticalStretchable(true); 120 attachToolbar->setVerticalStretchable(true);
121 121
122 addattach = new QAction(tr("Add an Attachement"), QIconSet(Resource::loadPixmap("mail/newmail")), 0, 0, this); 122 addattach = new QAction(tr("Add an Attachement"), QIconSet(Resource::loadPixmap("mail/newmail")), 0, 0, this);
123 addattach->addTo(attachToolbar); 123 addattach->addTo(attachToolbar);
124 124
125 delattach = new QAction(tr("Remove Attachement"), QIconSet(Resource::loadPixmap("mail/delete")), 0, 0, this); 125 delattach = new QAction(tr("Remove Attachement"), QIconSet(Resource::loadPixmap("mail/delete")), 0, 0, this);