KTextTemplate
cachingloaderdecorator.h
An retrieval interface to a storage location for Template objects.
Definition templateloader.h:38
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
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:54:59 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:54:59 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.