5 #ifndef CUTELYSTGRANTLEE_H
6 #define CUTELYSTGRANTLEE_H
8 #ifndef DOXYGEN_SHOULD_SKIP_THIS
10 #include <grantlee/taglibraryinterface.h>
12 #if defined(cutelyst_grantlee_urifor_EXPORTS)
13 # define CUTELYST_GRANTLEE_URIFOR_EXPORT Q_DECL_EXPORT
15 # define CUTELYST_GRANTLEE_URIFOR_EXPORT Q_DECL_IMPORT
18 class CutelystGrantlee final :
public QObject,
public Grantlee::TagLibraryInterface
21 Q_PLUGIN_METADATA(IID
"org.grantlee.TagLibraryInterface/1.0")
22 Q_INTERFACES(Grantlee::TagLibraryInterface)
24 explicit CutelystGrantlee(QObject *parent =
nullptr);
26 virtual QHash<QString, Grantlee::AbstractNodeFactory *> nodeFactories(
const QString &name = QString())
override;
28 virtual QHash<QString, Grantlee::Filter *> filters(
const QString &name = QString())
override;