KTextTemplate
cachingloaderdecorator.cpp
18 CachingLoaderDecoratorPrivate(QSharedPointer<AbstractTemplateLoader> loader, CachingLoaderDecorator *qq)
75Template CachingLoaderDecorator::loadByName(const QString &name, const KTextTemplate::Engine *engine) const
Implements a loader decorator which caches compiled Template objects.
Definition cachingloaderdecorator.h:60
CachingLoaderDecorator(QSharedPointer< AbstractTemplateLoader > loader)
Constructor.
Definition cachingloaderdecorator.cpp:35
Template loadByName(const QString &name, const KTextTemplate::Engine *engine) const override
Load a Template called name.
Definition cachingloaderdecorator.cpp:75
std::pair< QString, QString > getMediaUri(const QString &fileName) const override
Return a complete URI for media identified by fileName.
Definition cachingloaderdecorator.cpp:69
void clear()
Clears the Templates objects cached in the decorator.
Definition cachingloaderdecorator.cpp:51
bool canLoadTemplate(const QString &name) const override
Return true if a Template identified by name exists and can be loaded.
Definition cachingloaderdecorator.cpp:45
int size() const
Returns the number of Template objects cached in the decorator.
Definition cachingloaderdecorator.cpp:57
KTextTemplate::Engine is the main entry point for creating KTextTemplate Templates.
Definition engine.h:110
The Template class is a tree of nodes which may be rendered.
Definition template.h:85
The KTextTemplate namespace holds all public KTextTemplate API.
Definition Mainpage.dox:8
Q_D(Todo)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 6 2024 12:10:48 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 6 2024 12:10:48 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.