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> 40 GRANTLEE_TEMPLATES_EXPORT
bool variantIsTrue(
const QVariant &variant);
71 GRANTLEE_TEMPLATES_EXPORT
bool isSafeString(
const QVariant &input);
86 GRANTLEE_TEMPLATES_EXPORT
bool equals(
const QVariant &lhs,
const QVariant &rhs);
95 toString(
const QVariantList &list);
QString unescapeStringLiteral(const QString &input)
bool isSafeString(const QVariant &input)
Grantlee::SafeString getSafeString(const QVariant &input)
bool equals(const QVariant &lhs, const QVariant &rhs)
bool variantIsTrue(const QVariant &variant)
Grantlee::SafeString markForEscaping(const Grantlee::SafeString &input)
Grantlee::SafeString markSafe(const Grantlee::SafeString &input)
A QString wrapper class for containing whether a string is safe or needs to be escaped.
bool supportedOutputType(const QVariant &input)
The Grantlee namespace holds all public Grantlee API.