用于字符串数据的类

These classes are relevant when working with string data. See the information about support for Unicode in Qt 了解更多信息。

QAnyStringView Unified view on Latin-1, UTF-8, or UTF-16 strings with a read-only subset of the QString API
QByteArray 字节数组
QByteArrayList 字节数组列表
QByteArrayMatcher 保持在字节数组中可以快速匹配的字节序列
QByteArrayView View on an array of bytes with a read-only subset of the QByteArray API
QChar 16 位 Unicode 字符
QCollator 根据本地整理算法比较字符串
QCollatorSortKey 可以用于加速字符串整理
QLatin1Char 8 位 ASCII/Latin-1 字符
QLatin1StringMatcher Optimized search for substring in Latin-1 text
QLatin1StringView Thin wrapper around a US-ASCII/Latin-1 encoded string literal
QLocale 在数字及其各种语言的字符串表示之间转换
QStaticByteArrayMatcher QByteArrayMatcher 的编译时版本
QString Unicode 字符串
QStringList 字符串列表
QStringMatcher 保持可以在 Unicode 字符串中快速匹配的字符序列
QStringRef 围绕 QString 子字符串的瘦包裹器
QStringTokenizer Splits strings into tokens along given separators
QStringView 带有 QString API 只读子集的 UTF-16 字符串统一视图
QTextBoundaryFinder 在字符串中查找 Unicode 文本边界的办法
QTextStream 用于读写文本的方便接口
QUtf8StringView Unified view on UTF-8 strings with a read-only subset of the QString API