-rw-r--r-- | kmicromail/mainwindow.h | 26 |
1 files changed, 15 insertions, 11 deletions
diff --git a/kmicromail/mainwindow.h b/kmicromail/mainwindow.h index f65f3b4..1ccadc2 100644 --- a/kmicromail/mainwindow.h +++ b/kmicromail/mainwindow.h | |||
@@ -4,10 +4,14 @@ | |||
4 | #define MAINWINDOW_H | 4 | #define MAINWINDOW_H |
5 | 5 | ||
6 | #include <qmainwindow.h> | 6 | #include <q3mainwindow.h> |
7 | //Added by qt3to4: | ||
8 | #include <Q3CString> | ||
9 | #include <Q3ValueList> | ||
10 | #include <Q3PopupMenu> | ||
7 | #include <klistview.h> | 11 | #include <klistview.h> |
8 | #include <qaction.h> | 12 | #include <qaction.h> |
9 | #include <qlineedit.h> | 13 | #include <qlineedit.h> |
10 | 14 | ||
11 | #include <qtoolbar.h> | 15 | #include <q3toolbar.h> |
12 | #ifdef DESKTOP_VERSION | 16 | #ifdef DESKTOP_VERSION |
13 | #include <qmenubar.h> | 17 | #include <qmenubar.h> |
@@ -25,10 +29,10 @@ | |||
25 | class RecMail; | 29 | class RecMail; |
26 | 30 | ||
27 | class MainWindow : public QMainWindow | 31 | class MainWindow : public Q3MainWindow |
28 | { | 32 | { |
29 | Q_OBJECT | 33 | Q_OBJECT |
30 | 34 | ||
31 | public: | 35 | public: |
32 | MainWindow( QWidget *parent = 0, const char *name = 0, WFlags flags = 0 ); | 36 | MainWindow( QWidget *parent = 0, const char *name = 0, Qt::WFlags flags = 0 ); |
33 | virtual ~MainWindow(); | 37 | virtual ~MainWindow(); |
34 | 38 | ||
@@ -36,13 +40,13 @@ public slots: | |||
36 | virtual void slotAdjustColumns(); | 40 | virtual void slotAdjustColumns(); |
37 | virtual void slotAdjustColumnsWide(); | 41 | virtual void slotAdjustColumnsWide(); |
38 | virtual void appMessage(const QCString &msg, const QByteArray &data); | 42 | virtual void appMessage(const Q3CString &msg, const QByteArray &data); |
39 | virtual void slotComposeMail(); | 43 | virtual void slotComposeMail(); |
40 | 44 | ||
41 | protected slots: | 45 | protected slots: |
42 | virtual void setInfoFields(QListViewItem* ); | 46 | virtual void setInfoFields(Q3ListViewItem* ); |
43 | virtual void slotSendQueued(); | 47 | virtual void slotSendQueued(); |
44 | virtual void slotEditAccounts(); | 48 | virtual void slotEditAccounts(); |
45 | virtual void slotShowFolders( bool show ); | 49 | virtual void slotShowFolders( bool show ); |
46 | virtual void refreshMailView(const QValueList<RecMailP>&); | 50 | virtual void refreshMailView(const Q3ValueList<RecMailP>&); |
47 | virtual void displayMail(); | 51 | virtual void displayMail(); |
48 | virtual void slotGetMail() = 0; | 52 | virtual void slotGetMail() = 0; |
@@ -51,9 +55,9 @@ protected slots: | |||
51 | virtual void slotDeleteAllMail() = 0; | 55 | virtual void slotDeleteAllMail() = 0; |
52 | virtual void slotSetCodec(int); | 56 | virtual void slotSetCodec(int); |
53 | virtual void mailHold(int, QListViewItem *,const QPoint&,int); | 57 | virtual void mailHold(int, Q3ListViewItem *,const QPoint&,int); |
54 | virtual void slotAdjustLayout(); | 58 | virtual void slotAdjustLayout(); |
55 | virtual void slotEditSettings(); | 59 | virtual void slotEditSettings(); |
56 | virtual void slotEditGlobalSettings(); | 60 | virtual void slotEditGlobalSettings(); |
57 | virtual void mailLeftClicked( QListViewItem * ); | 61 | virtual void mailLeftClicked( Q3ListViewItem * ); |
58 | void showLicence(); | 62 | void showLicence(); |
59 | void showAbout(); | 63 | void showAbout(); |
@@ -61,8 +65,8 @@ protected slots: | |||
61 | 65 | ||
62 | protected: | 66 | protected: |
63 | QToolBar *toolBar; | 67 | Q3ToolBar *toolBar; |
64 | StatusWidget *statusWidget; | 68 | StatusWidget *statusWidget; |
65 | QPEMenuBar *menuBar; | 69 | QPEMenuBar *menuBar; |
66 | QPopupMenu *mailMenu, *settingsMenu, *codecMenu; | 70 | Q3PopupMenu *mailMenu, *settingsMenu, *codecMenu; |
67 | QAction *composeMail, *sendQueued, *showFolders, *searchMails, *deleteMails, | 71 | QAction *composeMail, *sendQueued, *showFolders, *searchMails, *deleteMails, |
68 | *editSettings, *editAccounts, *syncFolders; | 72 | *editSettings, *editAccounts, *syncFolders; |