8#include <Cutelyst/View>
15class ClearSilverPrivate;
42 QString templateExtension()
const;
void setTemplateExtension(const QString &extension)
Sets the template extension, defaults to ".html".
void setWrapper(const QString &name)
Sets the template wrapper name, the template will be rendered into content variable in which the wrap...
ClearSilver(QObject *parent=nullptr, const QString &name=QString())
Constructs a ClearSilver object with the given parent and name.
void setIncludePaths(const QStringList &paths)
Sets the list of include paths which will be looked for when resolving templates files.
QByteArray render(Context *c) const final
View(QObject *parent, const QString &name)
The Cutelyst namespace holds all public Cutelyst API.
QObject * parent() const const