diff options
author | Luke Dashjr <luke-jr+git@utopios.org> | 2018-02-02 21:36:09 +0000 |
---|---|---|
committer | TDE Gitea <gitea@mirror.git.trinitydesktop.org> | 2019-05-02 11:18:05 +0000 |
commit | c0e793908389b71c54ed0685b634609b5e1f71a3 (patch) | |
tree | 96fc00577604d84327ea96f206771d2f3e39244f /kmail/kmreaderwin.h | |
parent | c467da63998be9accf09949f9bb2d229aba85bb4 (diff) | |
download | tdepim-c0e793908389b71c54ed0685b634609b5e1f71a3.tar.gz tdepim-c0e793908389b71c54ed0685b634609b5e1f71a3.zip |
KMail: Menu options to toggle "Show Message Structure"
Subtly different from the same feature in KDE:
KDE's menu items toggle the default behaviour between always/never, and the menu item is disabled if smart is set.
For Trinity, the option is always available, and only toggles visibility of the structure for the current session.
Signed-off-by: Luke Dashjr <luke-jr+git@utopios.org>
Diffstat (limited to 'kmail/kmreaderwin.h')
-rw-r--r-- | kmail/kmreaderwin.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/kmail/kmreaderwin.h b/kmail/kmreaderwin.h index 81256e8c5..0495041b6 100644 --- a/kmail/kmreaderwin.h +++ b/kmail/kmreaderwin.h @@ -5,6 +5,7 @@ #ifndef KMREADERWIN_H #define KMREADERWIN_H +#include <tdeactionclasses.h> #include <tqwidget.h> #include <tqtimer.h> #include <tqstringlist.h> @@ -256,6 +257,7 @@ public: TDEAction *urlOpenAction() { return mUrlOpenAction; } TDEAction *urlSaveAsAction() { return mUrlSaveAsAction; } TDEAction *addBookmarksAction() { return mAddBookmarksAction;} + TDEAction *toggleMimePartTreeAction() { return mToggleMimePartTreeAction; } TDEAction *startImChatAction() { return mStartIMChatAction; } // This function returns the complete data that were in this // message parts - *after* all encryption has been removed that @@ -398,6 +400,8 @@ public slots: /** The user toggled the "Fixed Font" flag from the view menu. */ void slotToggleFixedFont(); + void slotToggleMimePartTree(); + /** Copy the selected text to the clipboard */ void slotCopySelectedText(); @@ -594,6 +598,7 @@ private: TDEToggleAction *mHeaderOnlyAttachmentsAction; TDESelectAction *mSelectEncodingAction; TDEToggleAction *mToggleFixFontAction; + TDEToggleAction *mToggleMimePartTreeAction; KURL mHoveredUrl; KURL mClickedUrl; |