21 #ifndef DOXYGEN_SHOULD_SKIP_THIS
23 #include <grantlee/filter.h>
24 #include <grantlee/safestring.h>
25 #include <grantlee/util.h>
26 #include <grantlee/node.h>
28 class UriForTag final :
public Grantlee::AbstractNodeFactory
30 Grantlee::Node *getNode(
const QString &tagContent, Grantlee::Parser *p)
const override;
33 class UriFor final :
public Grantlee::Node
37 explicit UriFor(
const QString &path,
const QStringList &args, Grantlee::Parser *parser =
nullptr);
39 void render(Grantlee::OutputStream *stream, Grantlee::Context *gc)
const override;
42 mutable QString m_cutelystContext = QStringLiteral(
"c");
43 Grantlee::FilterExpression m_path;
44 std::vector<Grantlee::FilterExpression> m_argsExpressions;
45 std::vector<Grantlee::FilterExpression> m_queryExpressions;