8 #include <Cutelyst/Plugins/View/cutelee_export.h>
9 #include <Cutelyst/View>
13 #include <QStringList>
24 class CuteleeViewPrivate;
152 Q_PROPERTY(
QStringList includePaths READ includePaths WRITE setIncludePaths NOTIFY changed)
166 QString templateExtension READ templateExtension WRITE setTemplateExtension NOTIFY changed)
171 QString templateExtension()
const;
177 void setTemplateExtension(
const QString &extension);
179 Q_PROPERTY(
QString wrapper READ wrapper WRITE setWrapper NOTIFY changed)
185 [[nodiscard]]
QString wrapper()
const;
192 void setWrapper(
const QString &name);
194 Q_PROPERTY(
bool cache READ isCaching WRITE setCache NOTIFY changed)
199 bool isCaching()
const;
206 void setCache(
bool enable);
211 [[nodiscard]] Cutelee::Engine *engine()
const;
216 void preloadTemplates();
301 void addTranslationCatalog(
const QString &path,
const QString &catalog);
347 const QString &prefix = QStringLiteral(
"."),
348 const QString &suffix = QStringLiteral(
".qm"));
A view that renders templates using Cutelee engine.
Abstract View component for Cutelyst.
The Cutelyst namespace holds all public Cutelyst API.