KCalUtils

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
12namespace KCalUtils
13{
14class QtResourceTemplateLoader : public KTextTemplate::FileSystemTemplateLoader
15{
16public:
18
19 [[nodiscard]] KTextTemplate::Template loadByName(const QString &fileName, const KTextTemplate::Engine *engine) const override;
20 [[nodiscard]] bool canLoadTemplate(const QString &name) const override;
21};
22}
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 16:57:29 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.