status-desktop/ui/StatusQ/src/stringutilsinternal.cpp

21 lines
456 B
C++
Raw Normal View History

#include "StatusQ/stringutilsinternal.h"
StringUtilsInternal::StringUtilsInternal(QObject* parent)
: QObject(parent)
{
}
QString StringUtilsInternal::escapeHtml(const QString &unsafe) const
{
return unsafe.toHtmlEscaped();
}
QObject* StringUtilsInternal::qmlInstance(QQmlEngine *engine,
QJSEngine *scriptEngine)
{
Q_UNUSED(engine);
Q_UNUSED(scriptEngine);
return new StringUtilsInternal;
}