Grantlee  0.5.1
Public Member Functions
Grantlee::LocalizedFileSystemTemplateLoader Class Reference

The LocalizedFileSystemTemplateLoader loads templates and l10n catalogs from the filesystem. More...

#include <templateloader.h>

Inheritance diagram for Grantlee::LocalizedFileSystemTemplateLoader:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 LocalizedFileSystemTemplateLoader (const AbstractLocalizer::Ptr localizer)
virtual ~LocalizedFileSystemTemplateLoader ()
void setTemplateDirs (const QStringList &dirs)
void setTheme (const QString &themeName)

Detailed Description

This template loader not only loads templates from the file system, but also loads translation catalogs for themes.

Definition at line 180 of file templateloader.h.


Constructor & Destructor Documentation

Constructor

Destructor


Member Function Documentation

Sets the directories to look for template files to dirs and loads catalogs from them.

Reimplemented from Grantlee::FileSystemTemplateLoader.

void Grantlee::LocalizedFileSystemTemplateLoader::setTheme ( const QString &  themeName)

Sets the theme of this loader to themeName and loads the theme catalogs

Reimplemented from Grantlee::FileSystemTemplateLoader.