Cutelee  6.1.0
Namespaces | Functions
util.h File Reference

Utility functions used throughout Cutelee. More...

#include "context.h"
#include "cutelee_templates_export.h"
#include "safestring.h"
#include <QtCore/QVariant>
Include dependency graph for util.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 Cutelee
 The Cutelee namespace holds all public Cutelee API.
 

Functions

std::pair< qreal, QStringCutelee::calcFileSize (qreal size, int unitSystem=10, qreal multiplier=1.0)
 
bool Cutelee::equals (const QVariant &lhs, const QVariant &rhs)
 
Cutelee::SafeString Cutelee::getSafeString (const QVariant &input)
 
bool Cutelee::gt (const QVariant &lhs, const QVariant &rhs)
 
bool Cutelee::gte (const QVariant &lhs, const QVariant &rhs)
 
bool Cutelee::isSafeString (const QVariant &input)
 
bool Cutelee::lt (const QVariant &lhs, const QVariant &rhs)
 
bool Cutelee::lte (const QVariant &lhs, const QVariant &rhs)
 
Cutelee::SafeString Cutelee::markForEscaping (const Cutelee::SafeString &input)
 
Cutelee::SafeString Cutelee::markSafe (const Cutelee::SafeString &input)
 
bool Cutelee::supportedOutputType (const QVariant &input)
 
QString Cutelee::unescapeStringLiteral (const QString &input)
 
bool Cutelee::variantIsTrue (const QVariant &variant)