-rw-r--r-- | noncore/net/mail/mainwindow.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/noncore/net/mail/mainwindow.h b/noncore/net/mail/mainwindow.h index 8d004c6..8cec888 100644 --- a/noncore/net/mail/mainwindow.h +++ b/noncore/net/mail/mainwindow.h | |||
@@ -6,51 +6,55 @@ | |||
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> | 14 | #include <libmailwrapper/mailtypes.h> |
15 | #include <opie2/osmartpointer.h> | 15 | #include <opie2/osmartpointer.h> |
16 | 16 | ||
17 | class RecMail; | 17 | class RecMail; |
18 | class QCopChannel; | ||
18 | 19 | ||
19 | class MainWindow : public QMainWindow | 20 | class MainWindow : public QMainWindow |
20 | { | 21 | { |
21 | Q_OBJECT | 22 | Q_OBJECT |
22 | 23 | ||
23 | public: | 24 | public: |
24 | MainWindow( QWidget *parent = 0, const char *name = 0, WFlags flags = 0 ); | 25 | MainWindow( QWidget *parent = 0, const char *name = 0, WFlags flags = 0 ); |
25 | virtual ~MainWindow(); | 26 | virtual ~MainWindow(); |
26 | 27 | ||
27 | public slots: | 28 | public slots: |
28 | virtual void slotAdjustColumns(); | 29 | virtual void slotAdjustColumns(); |
29 | virtual void appMessage(const QCString &msg, const QByteArray &data); | 30 | virtual void appMessage(const QCString &msg, const QByteArray &data); |
30 | virtual void slotComposeMail(); | 31 | virtual void slotComposeMail(); |
32 | virtual void systemMessage( const QCString&, const QByteArray& ); | ||
31 | 33 | ||
32 | protected slots: | 34 | protected slots: |
33 | virtual void slotSendQueued(); | 35 | virtual void slotSendQueued(); |
34 | virtual void slotEditAccounts(); | 36 | virtual void slotEditAccounts(); |
35 | virtual void slotShowFolders( bool show ); | 37 | virtual void slotShowFolders( bool show ); |
36 | virtual void refreshMailView(const QValueList<RecMailP>&); | 38 | virtual void refreshMailView(const QValueList<RecMailP>&); |
37 | virtual void displayMail(); | 39 | virtual void displayMail(); |
38 | virtual void slotDeleteMail(); | 40 | virtual void slotDeleteMail(); |
39 | virtual void mailHold(int, QListViewItem *,const QPoint&,int); | 41 | virtual void mailHold(int, QListViewItem *,const QPoint&,int); |
40 | virtual void slotAdjustLayout(); | 42 | virtual void slotAdjustLayout(); |
41 | virtual void slotEditSettings(); | 43 | virtual void slotEditSettings(); |
42 | virtual void mailLeftClicked( int, QListViewItem *,const QPoint&,int ); | 44 | virtual void mailLeftClicked( int, QListViewItem *,const QPoint&,int ); |
43 | 45 | ||
44 | protected: | 46 | protected: |
45 | QToolBar *toolBar; | 47 | QToolBar *toolBar; |
46 | StatusWidget *statusWidget; | 48 | StatusWidget *statusWidget; |
47 | QMenuBar *menuBar; | 49 | QMenuBar *menuBar; |
48 | QPopupMenu *mailMenu, *settingsMenu; | 50 | QPopupMenu *mailMenu, *settingsMenu; |
49 | QAction *composeMail, *sendQueued, *showFolders, *searchMails, *deleteMails, | 51 | QAction *composeMail, *sendQueued, *showFolders, *searchMails, *deleteMails, |
50 | *editSettings, *editAccounts, *syncFolders; | 52 | *editSettings, *editAccounts, *syncFolders; |
51 | AccountView *folderView; | 53 | AccountView *folderView; |
52 | QListView *mailView; | 54 | QListView *mailView; |
53 | QBoxLayout *layout; | 55 | QBoxLayout *layout; |
56 | int m_Rotate; | ||
57 | QCopChannel* m_sysChannel; | ||
54 | }; | 58 | }; |
55 | 59 | ||
56 | #endif | 60 | #endif |