Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
textutils.h File Reference

(2f47db763fb0622b4b98cc7c2c6ba6d270442567)

#include <QtCore/qstring.h>
Include dependency graph for textutils.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  TextUtils
 Pure string helpers with no dependencies on QDoc driver types.

Functions

QString TextUtils::separator (qsizetype wordPosition, qsizetype numberOfWords)
QString TextUtils::comma (qsizetype wordPosition, qsizetype numberOfWords)
QString TextUtils::asAsciiPrintable (const QString &str)
 Returns an ASCII-printable representation of str.
QString TextUtils::protect (const QString &string)

Variables

static constexpr QLatin1StringView TextUtils::samp = "&amp;"_L1
static constexpr QLatin1StringView TextUtils::slt = "&lt;"_L1
static constexpr QLatin1StringView TextUtils::sgt = "&gt;"_L1
static constexpr QLatin1StringView TextUtils::squot = "&quot;"_L1