KTextTemplate
outputstream.cpp
The OutputStream class is used to render templates to a QTextStream.
Definition outputstream.h:70
QString conditionalEscape(const KTextTemplate::SafeString &input) const
Returns after escaping it, unless input is "safe", in which case, input is returned unmodified.
Definition outputstream.cpp:59
virtual QSharedPointer< OutputStream > clone(QTextStream *stream) const
Returns a cloned OutputStream with the same filtering behaviour.
Definition outputstream.cpp:66
OutputStream & operator<<(const QString &input)
Writes input to the stream after escaping it.
Definition outputstream.cpp:71
virtual QString escape(const QString &input) const
Returns an escaped version of input.
Definition outputstream.cpp:28
A QString wrapper class for containing whether a string is safe or needs to be escaped.
Definition safestring.h:81
const NestedString & get() const
Returns the String held by this SafeString
Definition safestring.h:283
The KTextTemplate namespace holds all public KTextTemplate API.
Definition Mainpage.dox:8
const QChar at(qsizetype position) const const
qsizetype length() const const
void reserve(qsizetype size)
void squeeze()
QString readAll()
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.