GrantleeTheme::QtResourceTemplateLoader

Search for usage in LXR

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, QStringgetMediaUri (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.

Author
Laurent montel monte.nosp@m.l@kd.nosp@m.e.org

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()

bool QtResourceTemplateLoader::canLoadTemplate ( const QString & name) const
nodiscardoverridevirtual

Reimplemented from KTextTemplate::FileSystemTemplateLoader.

Definition at line 39 of file qtresourcetemplateloader.cpp.

◆ loadByName()

KTextTemplate::Template QtResourceTemplateLoader::loadByName ( const QString & fileName,
const KTextTemplate::Engine * engine ) const
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 4 2024 16:37:38 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.