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.cpp File Reference

(b15c0a1e3dcfb177c5c93f40779f32f3c1f43af9)

#include "textutils.h"
#include <QtCore/qcryptographichash.h>
Include dependency graph for textutils.cpp:

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, preserving alphanumeric (alnum) characters ([a-zA-Z0-9]) and hyphens, but replacing all other characters with hyphens unless this would result in multiple adjacent hyphens.
QString TextUtils::protect (const QString &string)