messageviewer
bodypartformatterfactory.cpp
Go to the documentation of this file.
153 const Interface::BodyPartFormatter * BodyPartFormatterFactory::createFor( const char * type, const char * subtype ) const {
189 const Interface::BodyPartFormatter * BodyPartFormatterFactory::createFor( const QString & type, const QString & subtype ) const {
193 const Interface::BodyPartFormatter * BodyPartFormatterFactory::createFor( const QByteArray & type, const QByteArray & subtype ) const {
interface for BodyPartFormatter plugins
Definition: interfaces/bodypartformatter.h:94
const Interface::BodyPartFormatter * createFor(const char *type, const char *subtype) const
Definition: bodypartformatterfactory.cpp:153
void registerHandler(const URLHandler *handler)
Definition: urlhandlermanager.cpp:348
std::map< const char *, const Interface::BodyPartFormatter *, ltstr > SubtypeRegistry
Definition: bodypartformatterfactory_p.h:56
virtual const char * subtype(int idx) const =0
virtual const char * type(int idx) const =0
virtual const BodyPartURLHandler * urlHandler(int idx) const =0
static URLHandlerManager * instance()
Definition: urlhandlermanager.h:66
virtual const BodyPartFormatter * bodyPartFormatter(int idx) const =0
An interface to body part reader link handlers.
Definition: bodyparturlhandler.h:71
static const BodyPartFormatterFactory * instance()
Definition: bodypartformatterfactory.cpp:67
std::map< const char *, SubtypeRegistry, ltstr > TypeRegistry
Definition: bodypartformatterfactory_p.h:57
iterator end()
QByteArray toLatin1() const
void messageviewer_create_builtin_bodypart_formatters(TypeRegistry *)
Definition: bodypartformatter.cpp:134
char * data()
static void insertBodyPartFormatter(const char *type, const char *subtype, const Interface::BodyPartFormatter *formatter)
Definition: bodypartformatterfactory.cpp:83
iterator begin()
~BodyPartFormatterFactory()
Definition: bodypartformatterfactory.cpp:77
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:32:45 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:32:45 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.