MessageViewer::URLHandlerManager
#include <urlhandlermanager.h>
Public Member Functions | |
bool | handleClick (const QUrl &url, ViewerPrivate *w=nullptr) const |
bool | handleContextMenuRequest (const QUrl &url, const QPoint &p, ViewerPrivate *w=nullptr) const |
bool | handleDrag (const QUrl &url, ViewerPrivate *window=nullptr) const |
bool | handleShiftClick (const QUrl &url, ViewerPrivate *window=nullptr) const |
void | registerHandler (const Interface::BodyPartURLHandler *handler, const QString &mimeType) |
void | registerHandler (const MimeTreeParser::URLHandler *handler) |
QString | statusBarMessage (const QUrl &url, ViewerPrivate *w=nullptr) const |
void | unregisterHandler (const Interface::BodyPartURLHandler *handler) |
void | unregisterHandler (const MimeTreeParser::URLHandler *handler) |
bool | willHandleDrag (const QUrl &url, ViewerPrivate *window=nullptr) const |
Static Public Member Functions | |
static URLHandlerManager * | instance () |
Detailed Description
Singleton to manage the list of URLHandlers.
Definition at line 39 of file urlhandlermanager.h.
Constructor & Destructor Documentation
◆ ~URLHandlerManager()
URLHandlerManager::~URLHandlerManager | ( | ) |
Definition at line 239 of file urlhandlermanager.cpp.
Member Function Documentation
◆ handleClick()
|
nodiscard |
Definition at line 281 of file urlhandlermanager.cpp.
◆ handleContextMenuRequest()
|
nodiscard |
Definition at line 326 of file urlhandlermanager.cpp.
◆ handleDrag()
|
nodiscard |
Definition at line 315 of file urlhandlermanager.cpp.
◆ handleShiftClick()
|
nodiscard |
Definition at line 292 of file urlhandlermanager.cpp.
◆ instance()
|
static |
Definition at line 244 of file urlhandlermanager.cpp.
◆ registerHandler() [1/2]
void URLHandlerManager::registerHandler | ( | const Interface::BodyPartURLHandler * | handler, |
const QString & | mimeType ) |
Definition at line 267 of file urlhandlermanager.cpp.
◆ registerHandler() [2/2]
void URLHandlerManager::registerHandler | ( | const MimeTreeParser::URLHandler * | handler | ) |
Definition at line 252 of file urlhandlermanager.cpp.
◆ statusBarMessage()
|
nodiscard |
Definition at line 337 of file urlhandlermanager.cpp.
◆ unregisterHandler() [1/2]
void URLHandlerManager::unregisterHandler | ( | const Interface::BodyPartURLHandler * | handler | ) |
Definition at line 274 of file urlhandlermanager.cpp.
◆ unregisterHandler() [2/2]
void URLHandlerManager::unregisterHandler | ( | const MimeTreeParser::URLHandler * | handler | ) |
Definition at line 261 of file urlhandlermanager.cpp.
◆ willHandleDrag()
|
nodiscard |
Definition at line 303 of file urlhandlermanager.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:47:41 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.