GrantleeTheme::GenericFormatter
GrantleeTheme::GenericFormatter Class Reference
#include <genericformatter.h>
Inheritance diagram for GrantleeTheme::GenericFormatter:

Public Member Functions | |
GenericFormatter (const QString &defaultHtmlMain, const QString &themePath) | |
QString | errorMessage () const |
void | reloadTemplate () |
QString | render (const QVariantHash &mapping) const |
void | setApplicationDomain (const QByteArray &domain) |
void | setDefaultHtmlMainFile (const QString &name) |
void | setTemplateContent (const QString &content) |
void | setTemplatePath (const QString &path) |
Detailed Description
Convenience class for using a Grantlee theme.
Definition at line 23 of file genericformatter.h.
Member Function Documentation
void GenericFormatter::setApplicationDomain | ( | const QByteArray & | domain | ) |
Translation domain for the Grantlee localizer.
Definition at line 63 of file genericformatter.cpp.
void GenericFormatter::setTemplateContent | ( | const QString & | content | ) |
Set template content from a string rather than a file.
Definition at line 82 of file genericformatter.cpp.
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Mon Mar 8 2021 23:17:10 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2021 The KDE developers.
Generated on Mon Mar 8 2021 23:17:10 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.