KTextTemplate
variable.h
The Context class holds the context to render a Template with.
Definition context.h:107
QStringList lookups() const
Returns the lookup components of this Variable.
Definition variable.cpp:148
QVariant literal() const
Returns whether this variable is a literal string or number.
Definition variable.cpp:142
QVariant resolve(Context *c) const
Resolves this Variable with the Context c.
Definition variable.cpp:163
bool isTrue(Context *c) const
Returns whether this Variable evaluates to true with the Context c.
Definition variable.cpp:131
bool isConstant() const
Returns whether this Variable is a constant in the Template.
Definition variable.cpp:125
bool isLocalized() const
Returns whether this variable is localized, that is, if it is wrapped with _().
Definition variable.cpp:136
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.