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