GrantleeTheme

qtresourcetemplateloader.h
1/*
2 * SPDX-FileCopyrightText: 2016-2024 Laurent Montel <montel@kde.org>
3 *
4 * SPDX-License-Identifier: LGPL-2.1-or-later
5 *
6 */
7
8#pragma once
9#include <KTextTemplate/TemplateLoader>
10#include <QObject>
11
12#include "grantleetheme_export.h"
13namespace GrantleeTheme
14{
15/**
16 * @brief The QtResourceTemplateLoader class
17 * @author Laurent montel <montel@kde.org>
18 */
20{
21public:
23 [[nodiscard]] KTextTemplate::Template loadByName(const QString &fileName, const KTextTemplate::Engine *engine) const override;
24
25 [[nodiscard]] bool canLoadTemplate(const QString &name) const override;
26};
27}
The QtResourceTemplateLoader class.
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 16:57:21 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.