GrantleeTheme

kdegrantleeplugin.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 #pragma once
9 #include <KTextTemplate/TagLibraryInterface>
10 #include <QObject>
11 class KDEGrantleePlugin : public QObject, public KTextTemplate::TagLibraryInterface
12 {
13  Q_OBJECT
14  Q_INTERFACES(KTextTemplate::TagLibraryInterface)
15  Q_PLUGIN_METADATA(IID "org.kde.KDEGrantleePlugin")
16 
17 public:
18  explicit KDEGrantleePlugin(QObject *parent = nullptr);
19  ~KDEGrantleePlugin() override;
20  QHash<QString, KTextTemplate::Filter *> filters(const QString &name) override;
21  QHash<QString, KTextTemplate::AbstractNodeFactory *> nodeFactories(const QString &name) override;
22 };
Q_OBJECTQ_OBJECT
Q_INTERFACES(...)
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Sat Dec 2 2023 04:12:12 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.