KTextTemplate
context.h
The Context class holds the context to render a Template with.
Definition context.h:107
UrlType
The type of urls to external media that should be put in the template.
Definition context.h:229
QSharedPointer< AbstractLocalizer > localizer() const
Returns the localizer currently in use.
Definition context.cpp:224
void setLocalizer(QSharedPointer< AbstractLocalizer > localizer)
Sets the localizer to be used.
Definition context.cpp:214
void insert(const QString &name, QObject *object)
Insert the context object object identified by name into the Context.
Definition context.cpp:140
QVariant lookup(const QString &str) const
Returns the context object identified by the key str.
Definition context.cpp:97
QList< std::pair< QString, QString > > externalMedia() const
Returns the external media encountered in the Template while rendering.
Definition context.cpp:172
Provides storage facility for state while rendering a template.
Definition rendercontext.h:36
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.