Diffstat (limited to 'noncore/net/mail/mainwindow.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/mail/mainwindow.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/noncore/net/mail/mainwindow.h b/noncore/net/mail/mainwindow.h index 1ba6299..8d004c6 100644 --- a/noncore/net/mail/mainwindow.h +++ b/noncore/net/mail/mainwindow.h | |||
@@ -1,53 +1,56 @@ | |||
1 | #ifndef MAINWINDOW_H | 1 | #ifndef MAINWINDOW_H |
2 | #define MAINWINDOW_H | 2 | #define MAINWINDOW_H |
3 | 3 | ||
4 | #include <qmainwindow.h> | 4 | #include <qmainwindow.h> |
5 | #include <qlistview.h> | 5 | #include <qlistview.h> |
6 | #include <qaction.h> | 6 | #include <qaction.h> |
7 | 7 | ||
8 | #include <qtoolbar.h> | 8 | #include <qtoolbar.h> |
9 | #include <qmenubar.h> | 9 | #include <qmenubar.h> |
10 | 10 | ||
11 | #include "accountview.h" | 11 | #include "accountview.h" |
12 | #include "statuswidget.h" | 12 | #include "statuswidget.h" |
13 | 13 | ||
14 | #include <libmailwrapper/mailtypes.h> | ||
15 | #include <opie2/osmartpointer.h> | ||
16 | |||
14 | class RecMail; | 17 | class RecMail; |
15 | 18 | ||
16 | class MainWindow : public QMainWindow | 19 | class MainWindow : public QMainWindow |
17 | { | 20 | { |
18 | Q_OBJECT | 21 | Q_OBJECT |
19 | 22 | ||
20 | public: | 23 | public: |
21 | MainWindow( QWidget *parent = 0, const char *name = 0, WFlags flags = 0 ); | 24 | MainWindow( QWidget *parent = 0, const char *name = 0, WFlags flags = 0 ); |
22 | virtual ~MainWindow(); | 25 | virtual ~MainWindow(); |
23 | 26 | ||
24 | public slots: | 27 | public slots: |
25 | virtual void slotAdjustColumns(); | 28 | virtual void slotAdjustColumns(); |
26 | virtual void appMessage(const QCString &msg, const QByteArray &data); | 29 | virtual void appMessage(const QCString &msg, const QByteArray &data); |
27 | virtual void slotComposeMail(); | 30 | virtual void slotComposeMail(); |
28 | 31 | ||
29 | protected slots: | 32 | protected slots: |
30 | virtual void slotSendQueued(); | 33 | virtual void slotSendQueued(); |
31 | virtual void slotEditAccounts(); | 34 | virtual void slotEditAccounts(); |
32 | virtual void slotShowFolders( bool show ); | 35 | virtual void slotShowFolders( bool show ); |
33 | virtual void refreshMailView(QList<RecMail>*); | 36 | virtual void refreshMailView(const QValueList<RecMailP>&); |
34 | virtual void displayMail(); | 37 | virtual void displayMail(); |
35 | virtual void slotDeleteMail(); | 38 | virtual void slotDeleteMail(); |
36 | virtual void mailHold(int, QListViewItem *,const QPoint&,int); | 39 | virtual void mailHold(int, QListViewItem *,const QPoint&,int); |
37 | virtual void slotAdjustLayout(); | 40 | virtual void slotAdjustLayout(); |
38 | virtual void slotEditSettings(); | 41 | virtual void slotEditSettings(); |
39 | virtual void mailLeftClicked( int, QListViewItem *,const QPoint&,int ); | 42 | virtual void mailLeftClicked( int, QListViewItem *,const QPoint&,int ); |
40 | 43 | ||
41 | protected: | 44 | protected: |
42 | QToolBar *toolBar; | 45 | QToolBar *toolBar; |
43 | StatusWidget *statusWidget; | 46 | StatusWidget *statusWidget; |
44 | QMenuBar *menuBar; | 47 | QMenuBar *menuBar; |
45 | QPopupMenu *mailMenu, *settingsMenu; | 48 | QPopupMenu *mailMenu, *settingsMenu; |
46 | QAction *composeMail, *sendQueued, *showFolders, *searchMails, *deleteMails, | 49 | QAction *composeMail, *sendQueued, *showFolders, *searchMails, *deleteMails, |
47 | *editSettings, *editAccounts, *syncFolders; | 50 | *editSettings, *editAccounts, *syncFolders; |
48 | AccountView *folderView; | 51 | AccountView *folderView; |
49 | QListView *mailView; | 52 | QListView *mailView; |
50 | QBoxLayout *layout; | 53 | QBoxLayout *layout; |
51 | }; | 54 | }; |
52 | 55 | ||
53 | #endif | 56 | #endif |