19 #ifndef KMAIL_MESSAGEACTIONS_H
20 #define KMAIL_MESSAGEACTIONS_H
22 #include "kmcommands.h"
23 #include "kmreaderwin.h"
26 #include <tqvaluelist.h>
31 class TDEActionCollection;
48 void setSelectedSernums(
const TQValueList<TQ_UINT32> &sernums );
49 void setSelectedVisibleSernums(
const TQValueList<TQ_UINT32> &sernums );
51 TDEActionMenu* replyMenu()
const {
return mReplyActionMenu; }
52 TDEAction* replyListAction()
const {
return mReplyListAction; }
53 TDEAction* createTodoAction()
const {
return mCreateTodoAction; }
55 TDEActionMenu* messageStatusMenu()
const {
return mStatusMenu; }
57 TDEAction* editAction()
const {
return mEditAction; }
65 void replyActionFinished();
68 void editCurrentMessage();
72 template<
typename T>
void replyCommand();
73 void setMessageStatus( KMMsgStatus status,
bool toggle =
false );
76 void slotReplyToMsg();
77 void slotReplyAuthorToMsg();
78 void slotReplyListToMsg();
79 void slotReplyAllToMsg();
80 void slotNoQuoteReplyToMsg();
81 void slotCreateTodo();
82 void slotSetMsgStatusNew();
83 void slotSetMsgStatusUnread();
84 void slotSetMsgStatusRead();
85 void slotSetMsgStatusTodo();
86 void slotSetMsgStatusFlag();
90 TDEActionCollection *mActionCollection;
92 TQValueList<TQ_UINT32> mSelectedSernums;
93 TQValueList<TQ_UINT32> mVisibleSernums;
96 TDEActionMenu *mReplyActionMenu;
97 TDEAction *mReplyAction, *mReplyAllAction, *mReplyAuthorAction,
98 *mReplyListAction, *mNoQuoteReplyAction;
99 TDEAction *mCreateTodoAction;
100 TDEActionMenu *mStatusMenu;
101 TDEToggleAction *mToggleFlagAction, *mToggleTodoAction;
102 TDEAction *mEditAction;
This class implements a "reader window", that is a window used for reading or viewing messages.
Manages common actions that can be performed on one or more messages.