1 #ifndef KMReaderMainWin_h
2 #define KMReaderMainWin_h
4 #include "secondarywindow.h"
16 class TDEFontSizeAction;
17 template < typename T, typename S> class TQMap;
29 KMReaderMainWin( bool htmlOverride, bool htmlLoadExtDefault, char *name = 0 );
30 KMReaderMainWin( char *name = 0 );
31 KMReaderMainWin(KMMessagePart* aMsgPart,
32 bool aHTML, const TQString& aFileName, const TQString& pname,
33 const TQString & encoding, char *name = 0 );
34 virtual ~KMReaderMainWin();
36 void setUseFixedFont( bool useFixedFont );
46 void showMsg( const TQString & encoding, KMMessage *msg,
47 unsigned long serNumOfOriginalMessage = 0, int nodeIdOffset = -1 );
52 void setupForwardingActionsList();
55 void slotMsgPopup( KMMessage &aMsg, const KURL &aUrl, const TQPoint& aPoint);
58 void copySelectedToFolder( int menuId );
61 void slotForwardInlineMsg();
62 void slotForwardAttachedMsg();
63 void slotForwardDigestMsg();
64 void slotRedirectMsg();
65 void slotShowMsgSrc();
70 void slotFontAction( const TQString &);
71 void slotSizeAction( int);
72 void slotCreateTodo();
73 void slotEditToolbars();
75 void slotConfigChanged();
76 void slotUpdateToolbars();
78 void slotFolderRemoved( TQObject* folderPtr );
82 void slotReplyOrForwardFinished();
85 void initKMReaderMainWin();
91 void setupForwardActions();
96 TQMap<int,KMFolder*> mMenuToFolder;
98 TDEAction *mTrashAction, *mPrintAction, *mSaveAsAction, *mForwardInlineAction,
99 *mForwardAttachedAction, *mForwardDigestAction, *mRedirectAction,
101 TDEActionMenu *mForwardActionMenu;
102 TDEFontAction *fontAction;
103 TDEFontSizeAction *fontSizeAction;
A FolderStorage with an index for faster access to often used message properties.
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.
Window class for secondary KMail window like the composer window and the separate message window.
|