author | zautrix <zautrix> | 2004-10-30 11:40:54 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2004-10-30 11:40:54 (UTC) |
commit | 632b43950f1ac2980c281eb8901d797deb0ba971 (patch) (unidiff) | |
tree | 72534bf865fbef61a29d5e8b2e65672c15b432c0 /kmicromail/mainwindow.h | |
parent | 0057c2a8e90346583f606491730cae819d2313ac (diff) | |
download | kdepimpi-632b43950f1ac2980c281eb8901d797deb0ba971.zip kdepimpi-632b43950f1ac2980c281eb8901d797deb0ba971.tar.gz kdepimpi-632b43950f1ac2980c281eb8901d797deb0ba971.tar.bz2 |
made ompi compiling on desktop
-rw-r--r-- | kmicromail/mainwindow.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kmicromail/mainwindow.h b/kmicromail/mainwindow.h index 35b9c8c..f5ab69b 100644 --- a/kmicromail/mainwindow.h +++ b/kmicromail/mainwindow.h | |||
@@ -1,67 +1,68 @@ | |||
1 | 1 | ||
2 | // CHANGED 2004-08-06 Lutz Rogowski | 2 | // CHANGED 2004-08-06 Lutz Rogowski |
3 | #ifndef MAINWINDOW_H | 3 | #ifndef MAINWINDOW_H |
4 | #define MAINWINDOW_H | 4 | #define MAINWINDOW_H |
5 | 5 | ||
6 | #include <qmainwindow.h> | 6 | #include <qmainwindow.h> |
7 | #include <qlistview.h> | 7 | #include <qlistview.h> |
8 | #include <qaction.h> | 8 | #include <qaction.h> |
9 | 9 | ||
10 | #include <qtoolbar.h> | 10 | #include <qtoolbar.h> |
11 | #ifdef DESKTOP_VERSION | 11 | #ifdef DESKTOP_VERSION |
12 | #include <qmenubar.h> | 12 | #include <qmenubar.h> |
13 | #define QPEMenuBar QMenuBar | ||
13 | #else | 14 | #else |
14 | #include <qpe/qpemenubar.h> | 15 | #include <qpe/qpemenubar.h> |
15 | #endif | 16 | #endif |
16 | 17 | ||
17 | #include "accountview.h" | 18 | #include "accountview.h" |
18 | #include "statuswidget.h" | 19 | #include "statuswidget.h" |
19 | 20 | ||
20 | #include <libmailwrapper/mailtypes.h> | 21 | #include <libmailwrapper/mailtypes.h> |
21 | #include <opie2/osmartpointer.h> | 22 | #include <opie2/osmartpointer.h> |
22 | 23 | ||
23 | class RecMail; | 24 | class RecMail; |
24 | 25 | ||
25 | class MainWindow : public QMainWindow | 26 | class MainWindow : public QMainWindow |
26 | { | 27 | { |
27 | Q_OBJECT | 28 | Q_OBJECT |
28 | 29 | ||
29 | public: | 30 | public: |
30 | MainWindow( QWidget *parent = 0, const char *name = 0, WFlags flags = 0 ); | 31 | MainWindow( QWidget *parent = 0, const char *name = 0, WFlags flags = 0 ); |
31 | virtual ~MainWindow(); | 32 | virtual ~MainWindow(); |
32 | 33 | ||
33 | public slots: | 34 | public slots: |
34 | virtual void slotAdjustColumns(); | 35 | virtual void slotAdjustColumns(); |
35 | virtual void appMessage(const QCString &msg, const QByteArray &data); | 36 | virtual void appMessage(const QCString &msg, const QByteArray &data); |
36 | virtual void slotComposeMail(); | 37 | virtual void slotComposeMail(); |
37 | 38 | ||
38 | protected slots: | 39 | protected slots: |
39 | virtual void slotSendQueued(); | 40 | virtual void slotSendQueued(); |
40 | virtual void slotEditAccounts(); | 41 | virtual void slotEditAccounts(); |
41 | virtual void slotShowFolders( bool show ); | 42 | virtual void slotShowFolders( bool show ); |
42 | virtual void refreshMailView(const QValueList<RecMailP>&); | 43 | virtual void refreshMailView(const QValueList<RecMailP>&); |
43 | virtual void displayMail(); | 44 | virtual void displayMail(); |
44 | virtual void slotGetMail() = 0; | 45 | virtual void slotGetMail() = 0; |
45 | virtual void slotGetAllMail() = 0; | 46 | virtual void slotGetAllMail() = 0; |
46 | virtual void slotDeleteMail(); | 47 | virtual void slotDeleteMail(); |
47 | virtual void mailHold(int, QListViewItem *,const QPoint&,int); | 48 | virtual void mailHold(int, QListViewItem *,const QPoint&,int); |
48 | virtual void slotAdjustLayout(); | 49 | virtual void slotAdjustLayout(); |
49 | virtual void slotEditSettings(); | 50 | virtual void slotEditSettings(); |
50 | virtual void mailLeftClicked( QListViewItem * ); | 51 | virtual void mailLeftClicked( QListViewItem * ); |
51 | void showLicence(); | 52 | void showLicence(); |
52 | void showAbout(); | 53 | void showAbout(); |
53 | void showEtpanLicence(); | 54 | void showEtpanLicence(); |
54 | 55 | ||
55 | protected: | 56 | protected: |
56 | QToolBar *toolBar; | 57 | QToolBar *toolBar; |
57 | StatusWidget *statusWidget; | 58 | StatusWidget *statusWidget; |
58 | QPEMenuBar *menuBar; | 59 | QPEMenuBar *menuBar; |
59 | QPopupMenu *mailMenu, *settingsMenu; | 60 | QPopupMenu *mailMenu, *settingsMenu; |
60 | QAction *composeMail, *sendQueued, *showFolders, *searchMails, *deleteMails, | 61 | QAction *composeMail, *sendQueued, *showFolders, *searchMails, *deleteMails, |
61 | *editSettings, *editAccounts, *syncFolders; | 62 | *editSettings, *editAccounts, *syncFolders; |
62 | AccountView *folderView; | 63 | AccountView *folderView; |
63 | QListView *mailView; | 64 | QListView *mailView; |
64 | //QBoxLayout *layout; | 65 | //QBoxLayout *layout; |
65 | }; | 66 | }; |
66 | 67 | ||
67 | #endif | 68 | #endif |