21#include "scriptablesafestring.h"
23ScriptableSafeString::ScriptableSafeString(QObject *parent) : QObject(parent) {}
27 m_safeString = content;
30SafeString ScriptableSafeString::wrappedString()
const {
return m_safeString; }
32bool ScriptableSafeString::isSafe()
const {
return m_safeString.
isSafe(); }
34void ScriptableSafeString::setSafety(
bool safeness)
40QString ScriptableSafeString::rawString() {
return m_safeString; }
A QString wrapper class for containing whether a string is safe or needs to be escaped.
@ IsSafe
The string is safe and requires no further escaping.
The Cutelee namespace holds all public Cutelee API.