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.

QByteArray

Array of bytes

QByteArrayList

List of byte arrays

QByteArrayMatcher

Holds a sequence of bytes that can be quickly matched in a byte array

QChar

16-bit Unicode character

QCollator

Compares strings according to a localized collation algorithm

QCollatorSortKey

Can be used to speed up string collation

QLatin1Char

8-bit ASCII/Latin-1 character

QLatin1String

Thin wrapper around an US-ASCII/Latin-1 encoded string literal

QLocale

Converts between numbers and their string representations in various languages

QStaticByteArrayMatcher

Compile-time version of QByteArrayMatcher

QString

Unicode character string

QStringList

List of strings

QStringMatcher

Holds a sequence of characters that can be quickly matched in a Unicode string

QStringRef

Thin wrapper around QString substrings

QStringView

Unified view on UTF-16 strings with a read-only subset of the QString API

QTextBoundaryFinder

Way of finding Unicode text boundaries in a string

QTextStream

Convenient interface for reading and writing text