kmail Library API Documentation

kmreadermainwin.h

00001 // -*- mode: C++; c-file-style: "gnu" -*- 00002 00003 #ifndef KMReaderMainWin_h 00004 #define KMReaderMainWin_h 00005 00006 #include <kurl.h> 00007 #include "kmtopwidget.h" 00008 00009 class QTextCodec; 00010 class KMReaderWin; 00011 class KMMessage; 00012 class KMMessagePart; 00013 class KAction; 00014 class KActionMenu; 00015 class KMFolderIndex; 00016 template <typename T, typename S> class QMap; 00017 00018 class KMReaderMainWin : public KMTopLevelWidget 00019 { 00020 Q_OBJECT 00021 00022 public: 00023 KMReaderMainWin( bool htmlOverride, char *name = 0 ); 00024 KMReaderMainWin( char *name = 0 ); 00025 KMReaderMainWin(KMMessagePart* aMsgPart, 00026 bool aHTML, const QString& aFileName, const QString& pname, 00027 const QTextCodec *codec, char *name = 0 ); 00028 virtual ~KMReaderMainWin(); 00029 // take ownership of and show @param msg 00030 void showMsg( const QTextCodec *codec, KMMessage *msg ); 00031 00032 private slots: 00033 void slotMsgPopup(KMMessage &aMsg, const KURL &aUrl, const QPoint& aPoint); 00034 00036 void copySelectedToFolder( int menuId ); 00037 void slotPrintMsg(); 00038 void slotReplyToMsg(); 00039 void slotReplyAllToMsg(); 00040 void slotReplyAuthorToMsg(); 00041 void slotReplyListToMsg(); 00042 void slotForwardMsg(); 00043 void slotForwardAttachedMsg(); 00044 void slotRedirectMsg(); 00045 void slotBounceMsg(); 00046 00047 void slotConfigChanged(); 00048 00049 private: 00050 void setupAccel(); 00051 00052 KMReaderWin *mReaderWin; 00053 KMMessage *mMsg; 00054 KURL mUrl; 00055 QMap<int,KMFolder*> mMenuToFolder; 00056 // a few actions duplicated from kmmainwidget 00057 KAction *mPrintAction, *mReplyAction, *mReplyAllAction, *mReplyAuthorAction, 00058 *mReplyListAction, *mForwardAction, 00059 *mForwardAttachedAction, *mRedirectAction, *mBounceAction; 00060 KActionMenu *mReplyActionMenu; 00061 KActionMenu *mForwardActionMenu; 00062 00063 }; 00064 00065 #endif /*KMReaderMainWin_h*/
KDE Logo
This file is part of the documentation for kmail Library Version 3.2.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Wed Jul 28 23:58:03 2004 by doxygen 1.3.7 written by Dimitri van Heesch, © 1997-2003