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 22 of file genericformatter.h.
Member Function Documentation
◆ setApplicationDomain()
void GenericFormatter::setApplicationDomain | ( | const QByteArray & | domain | ) |
Translation domain for the Grantlee localizer.
Definition at line 72 of file genericformatter.cpp.
◆ setTemplateContent()
void GenericFormatter::setTemplateContent | ( | const QString & | content | ) |
Set template content from a string rather than a file.
Definition at line 95 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-2023 The KDE developers.
Generated on Mon Mar 27 2023 04:23:20 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Mar 27 2023 04:23:20 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.