summaryrefslogtreecommitdiffstats
path: root/kmail/kmreaderwin.h
diff options
context:
space:
mode:
authorLuke Dashjr <luke-jr+git@utopios.org>2018-02-02 21:36:09 +0000
committerTDE Gitea <gitea@mirror.git.trinitydesktop.org>2019-05-02 11:18:05 +0000
commitc0e793908389b71c54ed0685b634609b5e1f71a3 (patch)
tree96fc00577604d84327ea96f206771d2f3e39244f /kmail/kmreaderwin.h
parentc467da63998be9accf09949f9bb2d229aba85bb4 (diff)
downloadtdepim-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.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/kmail/kmreaderwin.h b/kmail/kmreaderwin.h
index 81256e8c..0495041b 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;