21 #ifndef GRANTLEE_OUTPUTSTREAM_H 22 #define GRANTLEE_OUTPUTSTREAM_H 24 #include "grantlee_templates_export.h" 26 #include <QtCore/QSharedPointer> 27 #include <QtCore/QTextStream> 106 virtual QString escape(
const QString &input)
const;
112 QString escape(
const SafeString &input)
const;
117 virtual QSharedPointer<OutputStream> clone(QTextStream *stream)
const;
142 QTextStream *m_stream;
The OutputStream class is used to render templates to a QTextStream.
A QString wrapper class for containing whether a string is safe or needs to be escaped.
The Grantlee namespace holds all public Grantlee API.