kopete/libkopete
kopetemimetypehandler.cpp
Go to the documentation of this file.
142 bool MimeTypeHandler::dispatchToHandler( const KUrl &url, const QString &mimeType, MimeTypeHandler *handler )
void handleURL(const QString &mimeType, const KUrl &url) const
Handles the URL url, which has the mime type mimeType.
Definition: kopetemimetypehandler.cpp:201
static bool dispatchURL(const KUrl &url)
Finds a MimeTypeHandler for a given URL, and tells that handler to handle it.
Definition: kopetemimetypehandler.cpp:112
virtual ~MimeTypeHandler()
Definition: kopetemimetypehandler.cpp:56
bool registerAsProtocolHandler(const QString &protocol)
Register this object as the handler of type protocol.
Definition: kopetemimetypehandler.cpp:82
A handler for some set of mime-types A mime type handler is responsible for handling requests to open...
Definition: kopetemimetypehandler.h:36
static KEmoticons * self()
The emoticons container-class by default is a singleton object.
Definition: kopeteemoticons.cpp:31
const QStringList mimeTypes() const
Returns a list of mime types this object is registered to handle.
Definition: kopetemimetypehandler.cpp:97
bool canAcceptRemoteFiles() const
Returns true if this handler can accept remote files direcltly; If false, remote files are downloaded...
Definition: kopetemimetypehandler.cpp:107
bool registerAsMimeHandler(const QString &mimeType)
Register this object as the handler of type mimeType.
Definition: kopetemimetypehandler.cpp:67
KOPETE_EXPORT QWidget * mainWidget()
Returns the main widget - this is the widget that message boxes and KNotify stuff should use as a par...
Definition: kopeteuiglobal.cpp:37
QString fromLatin1(const char *str, int size)
EmoticonMimeTypeHandler()
Definition: kopetemimetypehandler.cpp:193
MimeTypeHandler(bool canAcceptRemoteFiles=false)
Definition: kopetemimetypehandler.cpp:51
const QStringList protocols() const
Returns a list of protocols this object is registered to handle.
Definition: kopetemimetypehandler.cpp:102
virtual KDE_DEPRECATED void handleURL(const KUrl &url) const
Definition: kopetemimetypehandler.cpp:187
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:29:19 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:29:19 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.