author | alwin <alwin> | 2005-03-05 17:46:46 (UTC) |
---|---|---|
committer | alwin <alwin> | 2005-03-05 17:46:46 (UTC) |
commit | a287cf7aad0660d4c7a573ff4da8ef35c78bb712 (patch) (unidiff) | |
tree | df6b26dca01f4b41710197b1653225c52b4b287b /noncore/net/mail/mainwindow.h | |
parent | c017febf6f4092bb968d12df5a30a0af30066048 (diff) | |
download | opie-a287cf7aad0660d4c7a573ff4da8ef35c78bb712.zip opie-a287cf7aad0660d4c7a573ff4da8ef35c78bb712.tar.gz opie-a287cf7aad0660d4c7a573ff4da8ef35c78bb712.tar.bz2 |
change the layoutdirection of main window when display is rotating
(LeftToRight when 0 rotation, TopToButtom when 90)
-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 | |||
@@ -12,12 +12,13 @@ | |||
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: |
@@ -25,12 +26,13 @@ public: | |||
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>&); |
@@ -48,9 +50,11 @@ protected: | |||
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 |