author | alwin <alwin> | 2005-03-12 22:14:03 (UTC) |
---|---|---|
committer | alwin <alwin> | 2005-03-12 22:14:03 (UTC) |
commit | 3cb4c3983ee738f3221ecb4cb154ea1252d69d64 (patch) (unidiff) | |
tree | 13357c046fd618b10546ad6d21992826eab3ad01 /noncore/net/mail/opiemail.h | |
parent | 9dddeb81d7db5da718f3f467bb1511b7e72b9caa (diff) | |
download | opie-3cb4c3983ee738f3221ecb4cb154ea1252d69d64.zip opie-3cb4c3983ee738f3221ecb4cb154ea1252d69d64.tar.gz opie-3cb4c3983ee738f3221ecb4cb154ea1252d69d64.tar.bz2 |
rework of the structure of the main menues, them depends now on state of current selected folder/server
on small screens some "Folder" and "Server" menu will get submenus of the menu-item "Mail" cause lack of space on screen - have no other idea.
-rw-r--r-- | noncore/net/mail/opiemail.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/noncore/net/mail/opiemail.h b/noncore/net/mail/opiemail.h index c9d758d..75a0b2d 100644 --- a/noncore/net/mail/opiemail.h +++ b/noncore/net/mail/opiemail.h | |||
@@ -3,9 +3,11 @@ | |||
3 | 3 | ||
4 | #include "mainwindow.h" | 4 | #include "mainwindow.h" |
5 | #include <libmailwrapper/settings.h> | 5 | #include <libmailwrapper/settings.h> |
6 | #include <libmailwrapper/mailtypes.h> | ||
6 | 7 | ||
7 | #include <opie2/osmartpointer.h> | 8 | #include <opie2/osmartpointer.h> |
8 | #include <libmailwrapper/mailtypes.h> | 9 | |
10 | #include <qmap.h> | ||
9 | 11 | ||
10 | class OpieMail : public MainWindow | 12 | class OpieMail : public MainWindow |
11 | { | 13 | { |
@@ -21,7 +23,7 @@ public slots: | |||
21 | virtual void slotComposeMail(); | 23 | virtual void slotComposeMail(); |
22 | virtual void appMessage(const QCString &msg, const QByteArray &data); | 24 | virtual void appMessage(const QCString &msg, const QByteArray &data); |
23 | void setDocument(const QString&); | 25 | void setDocument(const QString&); |
24 | 26 | ||
25 | protected slots: | 27 | protected slots: |
26 | virtual void slotSendQueued(); | 28 | virtual void slotSendQueued(); |
27 | virtual void slotSearchMails(); | 29 | virtual void slotSearchMails(); |
@@ -35,6 +37,8 @@ protected slots: | |||
35 | virtual void mailLeftClicked( int, QListViewItem *,const QPoint&,int ); | 37 | virtual void mailLeftClicked( int, QListViewItem *,const QPoint&,int ); |
36 | virtual void slotMoveCopyMail(); | 38 | virtual void slotMoveCopyMail(); |
37 | virtual void reEditMail(); | 39 | virtual void reEditMail(); |
40 | virtual void serverSelected(int); | ||
41 | virtual void refreshMenu(int); | ||
38 | 42 | ||
39 | protected: | 43 | protected: |
40 | void setup_signalblocking(); | 44 | void setup_signalblocking(); |