KCalUtils

qtresourcetemplateloader.h
1 /*
2  * SPDX-FileCopyrightText: 2016-2020 Laurent Montel <[email protected]>
3  *
4  * SPDX-License-Identifier: LGPL-2.1-or-later
5  *
6  */
7 
8 #ifndef QTRESOURCETEMPLATELOADER_H
9 #define QTRESOURCETEMPLATELOADER_H
10 #include "grantlee/templateloader.h"
11 
12 namespace KCalUtils {
13 class QtResourceTemplateLoader : public Grantlee::FileSystemTemplateLoader
14 {
15 public:
17 
18  Q_REQUIRED_RESULT Grantlee::Template loadByName(const QString &fileName, const Grantlee::Engine *engine) const override;
19  Q_REQUIRED_RESULT bool canLoadTemplate(const QString &name) const override;
20 };
21 }
22 #endif // QTRESOURCETEMPLATELOADER_H
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Tue Jul 7 2020 23:10:46 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.