KCalUtils

kcalendargrantleeplugin.h
1 /*
2  * SPDX-FileCopyrightText: 2015 Daniel Vr├ítil <[email protected]>
3  *
4  * SPDX-License-Identifier: LGPL-2.1-or-later
5  *
6  */
7 
8 #ifndef KCALENDARGRANTLEEPLUGIN_H
9 #define KCALENDARGRANTLEEPLUGIN_H
10 
11 #include <grantlee/taglibraryinterface.h>
12 
13 class KCalendarGrantleePlugin : public QObject, public Grantlee::TagLibraryInterface
14 {
15  Q_OBJECT
16  Q_INTERFACES(Grantlee::TagLibraryInterface)
17  Q_PLUGIN_METADATA(IID "org.kde.KCalendarGrantleePlugin")
18 
19 public:
20  explicit KCalendarGrantleePlugin(QObject *parent = nullptr);
21  ~KCalendarGrantleePlugin() override;
22 
23  QHash<QString, Grantlee::Filter *> filters(const QString &name) override;
24  QHash<QString, Grantlee::AbstractNodeFactory *> nodeFactories(const QString &name) override;
25 };
26 
27 #endif // KCALENDARGRANTLEEPLUGIN_H
Q_OBJECTQ_OBJECT
Q_INTERFACES(...)
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Fri Sep 25 2020 23:13:47 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.