The Context class holds the context to render a Template with.
QVariant lookup(const QString &str) const
QSharedPointer< AbstractLocalizer > localizer() const
@ AbsoluteUrls
Absolute URLs should be put in the template.
RenderContext * renderContext() const
QList< QPair< QString, QString > > externalMedia() const
void setRelativeMediaPath(const QString &relativePath)
Context(const QVariantHash &hash)
void insert(const QString &name, QObject *object)
void setLocalizer(QSharedPointer< AbstractLocalizer > localizer)
Context(const Context &other)
void setUrlType(UrlType type)
void insert(const QString &name, const QVariant &variant)
Context & operator=(const Context &other)
QString relativeMediaPath() const
Provides storage facility for state while rendering a template.