author | zautrix <zautrix> | 2005-01-23 16:22:03 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-01-23 16:22:03 (UTC) |
commit | ec69f34e62250f95a1f8757c5d58da0bf330678a (patch) (unidiff) | |
tree | a487425ea28b2dfe706dbca22c1351baddc52549 /kmicromail/mainwindow.h | |
parent | abe5f73892c123110faec5648b484628b3265fd6 (diff) | |
download | kdepimpi-ec69f34e62250f95a1f8757c5d58da0bf330678a.zip kdepimpi-ec69f34e62250f95a1f8757c5d58da0bf330678a.tar.gz kdepimpi-ec69f34e62250f95a1f8757c5d58da0bf330678a.tar.bz2 |
xxx
-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 d0a5caf..016e44c 100644 --- a/kmicromail/mainwindow.h +++ b/kmicromail/mainwindow.h | |||
@@ -1,69 +1,70 @@ | |||
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 | #define QPEMenuBar QMenuBar |
14 | #else | 14 | #else |
15 | #include <qpe/qpemenubar.h> | 15 | #include <qpe/qpemenubar.h> |
16 | #endif | 16 | #endif |
17 | 17 | ||
18 | #include "accountview.h" | 18 | #include "accountview.h" |
19 | #include "statuswidget.h" | 19 | #include "statuswidget.h" |
20 | 20 | ||
21 | #include <libmailwrapper/mailtypes.h> | 21 | #include <libmailwrapper/mailtypes.h> |
22 | #include <opie2/osmartpointer.h> | 22 | #include <opie2/osmartpointer.h> |
23 | 23 | ||
24 | class RecMail; | 24 | class RecMail; |
25 | 25 | ||
26 | class MainWindow : public QMainWindow | 26 | class MainWindow : public QMainWindow |
27 | { | 27 | { |
28 | Q_OBJECT | 28 | Q_OBJECT |
29 | 29 | ||
30 | public: | 30 | public: |
31 | MainWindow( QWidget *parent = 0, const char *name = 0, WFlags flags = 0 ); | 31 | MainWindow( QWidget *parent = 0, const char *name = 0, WFlags flags = 0 ); |
32 | virtual ~MainWindow(); | 32 | virtual ~MainWindow(); |
33 | 33 | ||
34 | public slots: | 34 | public slots: |
35 | virtual void slotAdjustColumns(); | 35 | virtual void slotAdjustColumns(); |
36 | virtual void appMessage(const QCString &msg, const QByteArray &data); | 36 | virtual void appMessage(const QCString &msg, const QByteArray &data); |
37 | virtual void slotComposeMail(); | 37 | virtual void slotComposeMail(); |
38 | 38 | ||
39 | protected slots: | 39 | protected slots: |
40 | virtual void slotSendQueued(); | 40 | virtual void slotSendQueued(); |
41 | virtual void slotEditAccounts(); | 41 | virtual void slotEditAccounts(); |
42 | virtual void slotShowFolders( bool show ); | 42 | virtual void slotShowFolders( bool show ); |
43 | virtual void refreshMailView(const QValueList<RecMailP>&); | 43 | virtual void refreshMailView(const QValueList<RecMailP>&); |
44 | virtual void displayMail(); | 44 | virtual void displayMail(); |
45 | virtual void slotGetMail() = 0; | 45 | virtual void slotGetMail() = 0; |
46 | virtual void slotGetAllMail() = 0; | 46 | virtual void slotGetAllMail() = 0; |
47 | virtual void slotDeleteMail(); | 47 | virtual void slotDeleteMail(); |
48 | virtual void slotDeleteAllMail() = 0; | ||
48 | virtual void slotSetCodec(int); | 49 | virtual void slotSetCodec(int); |
49 | virtual void mailHold(int, QListViewItem *,const QPoint&,int); | 50 | virtual void mailHold(int, QListViewItem *,const QPoint&,int); |
50 | virtual void slotAdjustLayout(); | 51 | virtual void slotAdjustLayout(); |
51 | virtual void slotEditSettings(); | 52 | virtual void slotEditSettings(); |
52 | virtual void mailLeftClicked( QListViewItem * ); | 53 | virtual void mailLeftClicked( QListViewItem * ); |
53 | void showLicence(); | 54 | void showLicence(); |
54 | void showAbout(); | 55 | void showAbout(); |
55 | void showEtpanLicence(); | 56 | void showEtpanLicence(); |
56 | 57 | ||
57 | protected: | 58 | protected: |
58 | QToolBar *toolBar; | 59 | QToolBar *toolBar; |
59 | StatusWidget *statusWidget; | 60 | StatusWidget *statusWidget; |
60 | QPEMenuBar *menuBar; | 61 | QPEMenuBar *menuBar; |
61 | QPopupMenu *mailMenu, *settingsMenu, *codecMenu; | 62 | QPopupMenu *mailMenu, *settingsMenu, *codecMenu; |
62 | QAction *composeMail, *sendQueued, *showFolders, *searchMails, *deleteMails, | 63 | QAction *composeMail, *sendQueued, *showFolders, *searchMails, *deleteMails, |
63 | *editSettings, *editAccounts, *syncFolders; | 64 | *editSettings, *editAccounts, *syncFolders; |
64 | AccountView *folderView; | 65 | AccountView *folderView; |
65 | QListView *mailView; | 66 | QListView *mailView; |
66 | //QBoxLayout *layout; | 67 | //QBoxLayout *layout; |
67 | }; | 68 | }; |
68 | 69 | ||
69 | #endif | 70 | #endif |