6 #ifndef TEMPLATELOADER_H
7 #define TEMPLATELOADER_H
16 namespace stefanfrings {
50 TemplateLoader(
const QSettings* settings, QObject* parent=
nullptr);
64 Template getTemplate(
const QString templateName,
const QString locales=QString());
73 virtual QString tryFile(
const QString localizedName);
Loads localized versions of template files.
QString fileNameSuffix
Suffix to the filenames.
QTextCodec * textCodec
Codec for decoding the files.
QString templatePath
Directory where the templates are searched.
Enhanced version of QString for template processing.