GrantleeTheme::QtResourceTemplateLoader
GrantleeTheme::QtResourceTemplateLoader Class Reference
#include <qtresourcetemplateloader.h>
Inheritance diagram for GrantleeTheme::QtResourceTemplateLoader:
Public Member Functions | |
QtResourceTemplateLoader (const QSharedPointer< KTextTemplate::AbstractLocalizer > localizer=QSharedPointer< KTextTemplate::AbstractLocalizer >()) | |
bool | canLoadTemplate (const QString &name) const override |
KTextTemplate::Template | loadByName (const QString &fileName, const KTextTemplate::Engine *engine) const override |
Public Member Functions inherited from KTextTemplate::FileSystemTemplateLoader | |
FileSystemTemplateLoader (const QSharedPointer< AbstractLocalizer > localizer={}) | |
std::pair< QString, QString > | getMediaUri (const QString &fileName) const override |
void | setTemplateDirs (const QStringList &dirs) |
void | setTheme (const QString &themeName) |
QStringList | templateDirs () const |
QString | themeName () const |
Public Member Functions inherited from KTextTemplate::AbstractTemplateLoader |
Detailed Description
The QtResourceTemplateLoader class.
Definition at line 19 of file qtresourcetemplateloader.h.
Constructor & Destructor Documentation
◆ QtResourceTemplateLoader()
QtResourceTemplateLoader::QtResourceTemplateLoader | ( | const QSharedPointer< KTextTemplate::AbstractLocalizer > | localizer = QSharedPointer<KTextTemplate::AbstractLocalizer>() | ) |
Definition at line 16 of file qtresourcetemplateloader.cpp.
Member Function Documentation
◆ canLoadTemplate()
|
nodiscardoverridevirtual |
Reimplemented from KTextTemplate::FileSystemTemplateLoader.
Definition at line 39 of file qtresourcetemplateloader.cpp.
◆ loadByName()
|
nodiscardoverridevirtual |
Reimplemented from KTextTemplate::FileSystemTemplateLoader.
Definition at line 20 of file qtresourcetemplateloader.cpp.
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:07:43 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:07:43 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.