KTextTemplate
filterexpression.h
The Context class holds the context to render a Template with.
Definition context.h:107
QVariantList toList(Context *c) const
Returns a list for the FilterExpression.
Definition filterexpression.cpp:228
bool isTrue(Context *c) const
Returns whether the Filter resolves to true in the Context c.
Definition filterexpression.cpp:236
QVariant resolve(OutputStream *stream, Context *c) const
Resolves the FilterExpression in the Context c and writes it to the stream stream.
Definition filterexpression.cpp:176
Variable variable() const
Returns the initial variable in the FilterExpression.
Definition filterexpression.cpp:160
FilterExpression & operator=(const FilterExpression &other)
Assignment operator.
Definition filterexpression.cpp:166
bool isValid() const
Returns whether a filter expression is valid.
Definition filterexpression.cpp:149
The OutputStream class is used to render templates to a QTextStream.
Definition outputstream.h:70
The Parser class processes a string template into a tree of nodes.
Definition parser.h:38
A container for static variables defined in Templates.
Definition variable.h:42
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.