32 #ifndef __KMAIL_URLHANDLERMANAGER_H__
33 #define __KMAIL_URLHANDLERMANAGER_H__
35 #include <tqvaluevector.h>
48 class BodyPartURLHandler;
68 void registerHandler(
const URLHandler * handler );
69 void unregisterHandler(
const URLHandler * handler );
74 bool handleClick(
const KURL & url,
KMReaderWin * w=0 )
const;
75 bool handleShiftClick(
const KURL &url,
KMReaderWin *window = 0 )
const;
76 bool handleContextMenuRequest(
const KURL & url,
const TQPoint & p,
KMReaderWin * w=0 )
const;
77 bool willHandleDrag(
const KURL &url,
const TQString& imagePath,
KMReaderWin *window = 0 )
const;
78 bool handleDrag(
const KURL &url,
const TQString& imagePath,
KMReaderWin *window = 0 )
const;
79 TQString statusBarMessage(
const KURL & url,
KMReaderWin * w=0 )
const;
82 typedef TQValueVector<const URLHandler*> HandlerList;
83 HandlerList mHandlers;
84 class BodyPartURLHandlerManager;
85 BodyPartURLHandlerManager * mBodyPartURLHandlerManager;
90 #endif // __KMAIL_URLHANDLERMANAGER_H__
An interface to reader link handlers.
Singleton to manage the list of URLHandlers.
This class implements a "reader window", that is a window used for reading or viewing messages.
An interface to body part reader link handlers.