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);
97 GRANTLEE_TEMPLATES_EXPORT std::pair<qreal, QString>
98 calcFileSize(qreal size,
int unitSystem = 10, qreal multiplier = 1.0);
107 toString(
const QVariantList &list);