From 3cb4c3983ee738f3221ecb4cb154ea1252d69d64 Mon Sep 17 00:00:00 2001 From: alwin Date: Sat, 12 Mar 2005 22:14:03 +0000 Subject: 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. --- (limited to 'noncore/net/mail/accountview.h') diff --git a/noncore/net/mail/accountview.h b/noncore/net/mail/accountview.h index ae24dce..5c4b559 100644 --- a/noncore/net/mail/accountview.h +++ b/noncore/net/mail/accountview.h @@ -1,10 +1,11 @@ #ifndef ACCOUNTVIEW_H #define ACCOUNTVIEW_H +#include +#include #include #include -#include -#include +#include class Selectstore; class Folder; @@ -24,6 +25,8 @@ public: virtual RecBodyP fetchBody(const Opie::Core::OSmartPointer&aMail); virtual void downloadMails(const Opie::Core::OSmartPointer&fromFolder,AbstractMail*fromWrapper); virtual bool currentisDraft(); + QMap currentServerMenu()const; + QMap currentFolderMenu()const; public slots: virtual void refreshAll(); @@ -36,6 +39,7 @@ public slots: signals: void refreshMailview(const QValueList& ); void serverSelected(int); + void refreshMenues(int); protected: QListViewItem* m_currentItem; -- cgit v0.9.0.2