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

Convenient interface for reading and writing text

QByteArray

Array of bytes

QByteArrayList

List of byte arrays

QByteArrayMatcher

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

QStaticByteArrayMatcher

Compile-time version of QByteArrayMatcher

QChar

16-bit Unicode character

QLatin1Char

8-bit ASCII/Latin-1 character

QCollator

Compares strings according to a localized collation algorithm

QCollatorSortKey

Can be used to speed up string collation

QLocale

Converts between numbers and their string representations in various languages

QLatin1String

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

QString

Unicode character string

QStringRef

Thin wrapper around QString substrings

QStringList

List of strings

QStringMatcher

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

QTextBoundaryFinder

Way of finding Unicode text boundaries in a string

© 2019 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.