messageviewer
bodypartformatterfactory.cpp
Go to the documentation of this file.
152 const Interface::BodyPartFormatterPlugin * plugin = messageviewer_bodypartformatter_text_calendar_create_bodypart_formatter_plugin();
185 const Interface::BodyPartFormatter * BodyPartFormatterFactory::createFor( const char * type, const char * subtype ) const {
221 const Interface::BodyPartFormatter * BodyPartFormatterFactory::createFor( const QString & type, const QString & subtype ) const {
225 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:185
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:73
std::map< const char *, SubtypeRegistry, ltstr > TypeRegistry
Definition: bodypartformatterfactory_p.h:57
void messageviewer_create_builtin_bodypart_formatters(TypeRegistry *)
Definition: bodypartformatter.cpp:134
static void insertBodyPartFormatter(const char *type, const char *subtype, const Interface::BodyPartFormatter *formatter)
Definition: bodypartformatterfactory.cpp:89
~BodyPartFormatterFactory()
Definition: bodypartformatterfactory.cpp:83
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:55:57 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:55:57 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.