Classes for String Data

These classes are relevant when working with string data. See the information about support for Unicode in Qt for more information.

QTextStream

The QTextStream class provides a convenient interface for reading and writing text.

QByteArray

The QByteArray class provides an array of bytes.

QByteArrayMatcher

The QByteArrayMatcher class holds a sequence of bytes that can be quickly matched in a byte array.

QChar

The QChar class provides a 16-bit Unicode character.

QLatin1Char

The QLatin1Char class provides an 8-bit ASCII/Latin-1 character.

QLocale

The QLocale class converts between numbers and their string representations in various languages.

QLatin1String

The QLatin1String class provides a thin wrapper around an US-ASCII/Latin-1 encoded string literal.

QString

The QString class provides a Unicode character string.

QStringRef

The QStringRef class provides a thin wrapper around QString substrings.

QStringList

The QStringList class provides a list of strings.

QStringMatcher

The QStringMatcher class holds a sequence of characters that can be quickly matched in a Unicode string.

QTextBoundaryFinder

The QTextBoundaryFinder class provides a way of finding Unicode text boundaries in a string.