21 #ifndef GRANTLEE_UTIL_P_H
22 #define GRANTLEE_UTIL_P_H
25 #include "grantlee_templates_export.h"
26 #include "safestring.h"
28 #include <QtCore/QVariant>
71 GRANTLEE_TEMPLATES_EXPORT
bool isSafeString(
const QVariant &input);
87 GRANTLEE_TEMPLATES_EXPORT
bool equals(
const QVariant &lhs,
const QVariant &rhs);
96 toString(
const QVariantList &list);
A QString wrapper class for containing whether a string is safe or needs to be escaped.
The Grantlee namespace holds all public Grantlee API.
Grantlee::SafeString getSafeString(const QVariant &input)
Grantlee::SafeString markForEscaping(const Grantlee::SafeString &input)
bool equals(const QVariant &lhs, const QVariant &rhs)
QString unescapeStringLiteral(const QString &input)
bool isSafeString(const QVariant &input)
bool variantIsTrue(const QVariant &variant)
Grantlee::SafeString markSafe(const Grantlee::SafeString &input)
bool supportedOutputType(const QVariant &input)