author | conber <conber> | 2002-06-15 16:05:38 (UTC) |
---|---|---|
committer | conber <conber> | 2002-06-15 16:05:38 (UTC) |
commit | f2f238ad06ce87e644bf56d0c6950a2aeae35ed4 (patch) (unidiff) | |
tree | 82a465db09f4fa05a7af710492fe6c953f4a8e0f | |
parent | 3e9adfcfcc674ad9b329fcb17880ea24789dbcde (diff) | |
download | opie-f2f238ad06ce87e644bf56d0c6950a2aeae35ed4.zip opie-f2f238ad06ce87e644bf56d0c6950a2aeae35ed4.tar.gz opie-f2f238ad06ce87e644bf56d0c6950a2aeae35ed4.tar.bz2 |
changed QToolBar to QPEToolBar
-rw-r--r-- | noncore/unsupported/mail2/composerbase.cpp | 6 | ||||
-rw-r--r-- | noncore/unsupported/mail2/composerbase.h | 4 | ||||
-rw-r--r-- | noncore/unsupported/mail2/mainwindowbase.cpp | 4 | ||||
-rw-r--r-- | noncore/unsupported/mail2/mainwindowbase.h | 4 | ||||
-rw-r--r-- | noncore/unsupported/mail2/viewmailbase.cpp | 4 | ||||
-rw-r--r-- | noncore/unsupported/mail2/viewmailbase.h | 4 |
6 files changed, 13 insertions, 13 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,14 +1,14 @@ | |||
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" |
@@ -18,9 +18,9 @@ ComposerBase::ComposerBase(QWidget *parent, const char *name, WFlags 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); |
@@ -115,9 +115,9 @@ ComposerBase::ComposerBase(QWidget *parent, const char *name, WFlags fl) | |||
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); |
diff --git a/noncore/unsupported/mail2/composerbase.h b/noncore/unsupported/mail2/composerbase.h index e5fab67..75b77f4 100644 --- a/noncore/unsupported/mail2/composerbase.h +++ b/noncore/unsupported/mail2/composerbase.h | |||
@@ -5,11 +5,11 @@ | |||
5 | 5 | ||
6 | class QMultiLineEdit; | 6 | class QMultiLineEdit; |
7 | class ListViewPlus; | 7 | class ListViewPlus; |
8 | class QPopupMenu; | 8 | class QPopupMenu; |
9 | class QPEToolBar; | ||
9 | class QComboBox; | 10 | class QComboBox; |
10 | class QLineEdit; | 11 | class QLineEdit; |
11 | class QToolBar; | ||
12 | class QAction; | 12 | class QAction; |
13 | class QLabel; | 13 | class QLabel; |
14 | 14 | ||
15 | class ComposerBase : public QMainWindow | 15 | class ComposerBase : public QMainWindow |
@@ -37,11 +37,11 @@ protected: | |||
37 | QMultiLineEdit *message; | 37 | QMultiLineEdit *message; |
38 | ListViewPlus *attachView; | 38 | ListViewPlus *attachView; |
39 | QMainWindow *attachWindow; | 39 | QMainWindow *attachWindow; |
40 | QPopupMenu *attachPopup; | 40 | QPopupMenu *attachPopup; |
41 | QPEToolBar *toolbar, *attachToolbar; | ||
41 | QComboBox *fromBox, *from, *receiversBox, *subjectBox, *priority; | 42 | QComboBox *fromBox, *from, *receiversBox, *subjectBox, *priority; |
42 | QLineEdit *replyto, *to, *cc, *bcc, *subject; | 43 | QLineEdit *replyto, *to, *cc, *bcc, *subject; |
43 | QToolBar *toolbar, *attachToolbar; | ||
44 | QAction *sendmail, *attachfile, *addressbook, *abort, *addattach, *delattach; | 44 | QAction *sendmail, *attachfile, *addressbook, *abort, *addattach, *delattach; |
45 | QLabel *fromLabel, *status; | 45 | QLabel *fromLabel, *status; |
46 | 46 | ||
47 | protected slots: | 47 | protected slots: |
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,13 +1,13 @@ | |||
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" |
@@ -18,9 +18,9 @@ MainWindowBase::MainWindowBase(QWidget *parent, const char *name, WFlags 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); |
diff --git a/noncore/unsupported/mail2/mainwindowbase.h b/noncore/unsupported/mail2/mainwindowbase.h index cf23f4f..0776f02 100644 --- a/noncore/unsupported/mail2/mainwindowbase.h +++ b/noncore/unsupported/mail2/mainwindowbase.h | |||
@@ -5,10 +5,10 @@ | |||
5 | 5 | ||
6 | class ServerConnection; | 6 | class ServerConnection; |
7 | class QProgressBar; | 7 | class QProgressBar; |
8 | class FolderWidget; | 8 | class FolderWidget; |
9 | class QPEToolBar; | ||
9 | class MailTable; | 10 | class MailTable; |
10 | class QToolBar; | ||
11 | class QAction; | 11 | class QAction; |
12 | class QLabel; | 12 | class QLabel; |
13 | 13 | ||
14 | class MainWindowBase : public QMainWindow | 14 | class MainWindowBase : public QMainWindow |
@@ -24,10 +24,10 @@ protected slots: | |||
24 | protected: | 24 | protected: |
25 | ServerConnection *serverConnection; | 25 | ServerConnection *serverConnection; |
26 | QProgressBar *statusProgress; | 26 | QProgressBar *statusProgress; |
27 | FolderWidget *folderView; | 27 | FolderWidget *folderView; |
28 | QPEToolBar *toolbar; | ||
28 | MailTable *mailView; | 29 | MailTable *mailView; |
29 | QToolBar *toolbar; | ||
30 | QAction *compose, *folders, *findmails, *configure, *stop; | 30 | QAction *compose, *folders, *findmails, *configure, *stop; |
31 | QLabel *statusLabel; | 31 | QLabel *statusLabel; |
32 | 32 | ||
33 | }; | 33 | }; |
diff --git a/noncore/unsupported/mail2/viewmailbase.cpp b/noncore/unsupported/mail2/viewmailbase.cpp index 134e5cb..b650c88 100644 --- a/noncore/unsupported/mail2/viewmailbase.cpp +++ b/noncore/unsupported/mail2/viewmailbase.cpp | |||
@@ -1,11 +1,11 @@ | |||
1 | #include <qtextbrowser.h> | 1 | #include <qtextbrowser.h> |
2 | #include <qlistview.h> | 2 | #include <qlistview.h> |
3 | #include <qtoolbar.h> | ||
4 | #include <qaction.h> | 3 | #include <qaction.h> |
5 | #include <qlabel.h> | 4 | #include <qlabel.h> |
6 | #include <qvbox.h> | 5 | #include <qvbox.h> |
7 | 6 | ||
7 | #include <qpe/qpetoolbar.h> | ||
8 | #include <qpe/resource.h> | 8 | #include <qpe/resource.h> |
9 | 9 | ||
10 | #include "viewmailbase.h" | 10 | #include "viewmailbase.h" |
11 | #include "opendiag.h" | 11 | #include "opendiag.h" |
@@ -15,9 +15,9 @@ ViewMailBase::ViewMailBase(QWidget *parent, const char *name, WFlags fl) | |||
15 | { | 15 | { |
16 | setCaption(tr("E-Mail by %1")); | 16 | setCaption(tr("E-Mail by %1")); |
17 | setToolBarsMovable(false); | 17 | setToolBarsMovable(false); |
18 | 18 | ||
19 | toolbar = new QToolBar(this); | 19 | toolbar = new QPEToolBar(this); |
20 | toolbar->setHorizontalStretchable(true); | 20 | toolbar->setHorizontalStretchable(true); |
21 | addToolBar(toolbar); | 21 | addToolBar(toolbar); |
22 | 22 | ||
23 | reply = new QAction(tr("Reply"), QIconSet(Resource::loadPixmap("mail/reply")), 0, 0, this); | 23 | reply = new QAction(tr("Reply"), QIconSet(Resource::loadPixmap("mail/reply")), 0, 0, this); |
diff --git a/noncore/unsupported/mail2/viewmailbase.h b/noncore/unsupported/mail2/viewmailbase.h index 183bb04..9ddf2aa 100644 --- a/noncore/unsupported/mail2/viewmailbase.h +++ b/noncore/unsupported/mail2/viewmailbase.h | |||
@@ -4,10 +4,10 @@ | |||
4 | #include <qmainwindow.h> | 4 | #include <qmainwindow.h> |
5 | 5 | ||
6 | class QAction; | 6 | class QAction; |
7 | class OpenDiag; | 7 | class OpenDiag; |
8 | class QToolBar; | ||
9 | class QListView; | 8 | class QListView; |
9 | class QPEToolBar; | ||
10 | class QTextBrowser; | 10 | class QTextBrowser; |
11 | 11 | ||
12 | class ViewMailBase : public QMainWindow | 12 | class ViewMailBase : public QMainWindow |
13 | { | 13 | { |
@@ -18,9 +18,9 @@ public: | |||
18 | 18 | ||
19 | protected: | 19 | protected: |
20 | QAction *reply, *forward, *attachbutton, *deleteMail; | 20 | QAction *reply, *forward, *attachbutton, *deleteMail; |
21 | QListView *attachments; | 21 | QListView *attachments; |
22 | QToolBar *toolbar; | 22 | QPEToolBar *toolbar; |
23 | QTextBrowser *browser; | 23 | QTextBrowser *browser; |
24 | OpenDiag *openDiag; | 24 | OpenDiag *openDiag; |
25 | 25 | ||
26 | protected slots: | 26 | protected slots: |