8 #ifndef DOXYGEN_SHOULD_SKIP_THIS 10 #include <grantlee/filter.h> 11 #include <grantlee/safestring.h> 12 #include <grantlee/util.h> 13 #include <grantlee/node.h> 15 class UriForTag final :
public Grantlee::AbstractNodeFactory
17 Grantlee::Node *getNode(
const QString &tagContent, Grantlee::Parser *p)
const override;
20 class UriFor final :
public Grantlee::Node
24 explicit UriFor(
const QString &path,
const QStringList &args, Grantlee::Parser *parser =
nullptr);
26 void render(Grantlee::OutputStream *stream, Grantlee::Context *gc)
const override;
29 mutable QString m_cutelystContext = QStringLiteral(
"c");
30 Grantlee::FilterExpression m_path;
31 std::vector<Grantlee::FilterExpression> m_argsExpressions;
32 std::vector<Grantlee::FilterExpression> m_queryExpressions;