Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
Public Member Functions | |
QSettingsIniKey () | |
QSettingsIniKey (const QString &str, qsizetype pos=-1) | |
QSettingsIniKey () | |
QSettingsIniKey (const QString &str, qsizetype pos=-1) | |
Public Member Functions inherited from QString | |
constexpr | QString () noexcept |
Constructs a null string. | |
QString (const QChar *unicode, qsizetype size=-1) | |
Constructs a string initialized with the first size characters of the QChar array unicode. | |
QString (QChar c) | |
Constructs a string of size 1 containing the character ch. | |
QString (qsizetype size, QChar c) | |
Constructs a string of the given size with every character set to ch. | |
QString (QLatin1StringView latin1) | |
Constructs a copy of the Latin-1 string viewed by str. | |
QString (QStringView sv) | |
QString (const QString &) noexcept | |
Constructs a copy of other. | |
~QString () | |
Destroys the string. | |
QString & | operator= (QChar c) |
QString & | operator= (const QString &) noexcept |
Assigns other to this string and returns a reference to this string. | |
QString & | operator= (QLatin1StringView latin1) |
QString (QString &&other) noexcept=default | |
Move-constructs a QString instance, making it point at the same object that other was pointing to. | |
void | swap (QString &other) noexcept |
qsizetype | size () const noexcept |
Returns the number of characters in this string. | |
qsizetype | length () const noexcept |
Returns the number of characters in this string. | |
bool | isEmpty () const noexcept |
Returns true if the string has no characters; otherwise returns false . | |
void | resize (qsizetype size) |
Sets the size of the string to size characters. | |
void | resize (qsizetype size, QChar fillChar) |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. | |
void | resizeForOverwrite (qsizetype size) |
QString & | fill (QChar c, qsizetype size=-1) |
Sets every character in the string to character ch. | |
void | truncate (qsizetype pos) |
Truncates the string starting from, and including, the element at index position. | |
void | chop (qsizetype n) |
Removes n characters from the end of the string. | |
QString & | slice (qsizetype pos) |
QString & | slice (qsizetype pos, qsizetype n) |
qsizetype | capacity () const |
Returns the maximum number of characters that can be stored in the string without forcing a reallocation. | |
void | reserve (qsizetype size) |
Ensures the string has space for at least size characters. | |
void | squeeze () |
Releases any memory not required to store the character data. | |
const QChar * | unicode () const |
Returns a Unicode representation of the string. | |
QChar * | data () |
Returns a pointer to the data stored in the QString. | |
const QChar * | data () const |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. | |
const QChar * | constData () const |
Returns a pointer to the data stored in the QString. | |
void | detach () |
bool | isDetached () const |
bool | isSharedWith (const QString &other) const |
void | clear () |
Clears the contents of the string and makes it null. | |
const QChar | at (qsizetype i) const |
Returns the character at the given index position in the string. | |
const QChar | operator[] (qsizetype i) const |
QChar & | operator[] (qsizetype i) |
Returns the character at the specified position in the string as a modifiable reference. | |
QChar | front () const |
QChar & | front () |
QChar | back () const |
QChar & | back () |
QString | arg (qlonglong a, int fieldwidth=0, int base=10, QChar fillChar=u' ') const |
QString | arg (qulonglong a, int fieldwidth=0, int base=10, QChar fillChar=u' ') const |
QString | arg (long a, int fieldwidth=0, int base=10, QChar fillChar=u' ') const |
QString | arg (ulong a, int fieldwidth=0, int base=10, QChar fillChar=u' ') const |
QString | arg (int a, int fieldWidth=0, int base=10, QChar fillChar=u' ') const |
QString | arg (uint a, int fieldWidth=0, int base=10, QChar fillChar=u' ') const |
QString | arg (short a, int fieldWidth=0, int base=10, QChar fillChar=u' ') const |
fieldWidth specifies the minimum amount of space that a is padded to and filled with the character fillChar. | |
QString | arg (ushort a, int fieldWidth=0, int base=10, QChar fillChar=u' ') const |
QString | arg (double a, int fieldWidth=0, char format='g', int precision=-1, QChar fillChar=u' ') const |
QString | arg (char a, int fieldWidth=0, QChar fillChar=u' ') const |
QString | arg (QChar a, int fieldWidth=0, QChar fillChar=u' ') const |
QString | arg (const QString &a, int fieldWidth=0, QChar fillChar=u' ') const |
Returns a copy of this string with the lowest numbered place marker replaced by string a, i.e., %1 , %2 , ..., %99 . | |
QString | arg (QStringView a, int fieldWidth=0, QChar fillChar=u' ') const |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. | |
QString | arg (QLatin1StringView a, int fieldWidth=0, QChar fillChar=u' ') const |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. | |
template<typename... Args> | |
std::enable_if< sizeof...(Args)>=2 &&std::is_same< QtPrivate::BoolList< is_convertible_to_view_or_qstring< Args >::value..., true >, QtPrivate::BoolList< true, is_convertible_to_view_or_qstring< Args >::value... > >::value, QString >::type | arg (Args &&...args) const |
static QString static QString | QT_CORE_INLINE_SINCE (6, 8) qsizetype indexOf(QChar c |
qsizetype | indexOf (QLatin1StringView s, qsizetype from=0, Qt::CaseSensitivity cs=Qt::CaseSensitive) const |
qsizetype | indexOf (const QString &s, qsizetype from=0, Qt::CaseSensitivity cs=Qt::CaseSensitive) const |
qsizetype | indexOf (QStringView s, qsizetype from=0, Qt::CaseSensitivity cs=Qt::CaseSensitive) const noexcept |
qsizetype | lastIndexOf (QChar c, Qt::CaseSensitivity cs=Qt::CaseSensitive) const noexcept |
QT_CORE_INLINE_SINCE (6, 8) qsizetype lastIndexOf(QChar c | |
qsizetype | lastIndexOf (QLatin1StringView s, Qt::CaseSensitivity cs=Qt::CaseSensitive) const |
qsizetype | lastIndexOf (QLatin1StringView s, qsizetype from, Qt::CaseSensitivity cs=Qt::CaseSensitive) const |
qsizetype | lastIndexOf (const QString &s, Qt::CaseSensitivity cs=Qt::CaseSensitive) const |
qsizetype | lastIndexOf (const QString &s, qsizetype from, Qt::CaseSensitivity cs=Qt::CaseSensitive) const |
qsizetype | lastIndexOf (QStringView s, Qt::CaseSensitivity cs=Qt::CaseSensitive) const noexcept |
qsizetype | lastIndexOf (QStringView s, qsizetype from, Qt::CaseSensitivity cs=Qt::CaseSensitive) const noexcept |
bool | contains (QChar c, Qt::CaseSensitivity cs=Qt::CaseSensitive) const |
bool | contains (const QString &s, Qt::CaseSensitivity cs=Qt::CaseSensitive) const |
Returns true if this string contains an occurrence of the string str; otherwise returns false . | |
bool | contains (QLatin1StringView s, Qt::CaseSensitivity cs=Qt::CaseSensitive) const |
bool | contains (QStringView s, Qt::CaseSensitivity cs=Qt::CaseSensitive) const noexcept |
qsizetype | count (QChar c, Qt::CaseSensitivity cs=Qt::CaseSensitive) const |
qsizetype | count (const QString &s, Qt::CaseSensitivity cs=Qt::CaseSensitive) const |
Returns the number of (potentially overlapping) occurrences of the string str in this string. | |
qsizetype | count (QStringView s, Qt::CaseSensitivity cs=Qt::CaseSensitive) const |
QString | section (QChar sep, qsizetype start, qsizetype end=-1, SectionFlags flags=SectionDefault) const |
This function returns a section of the string. | |
QString | section (const QString &in_sep, qsizetype start, qsizetype end=-1, SectionFlags flags=SectionDefault) const |
QString | left (qsizetype n) const & |
QString | left (qsizetype n) && |
QString | right (qsizetype n) const & |
QString | right (qsizetype n) && |
QString | mid (qsizetype position, qsizetype n=-1) const & |
QString | mid (qsizetype position, qsizetype n=-1) && |
QString | first (qsizetype n) const & |
QString | last (qsizetype n) const & |
QString | sliced (qsizetype pos) const & |
QString | sliced (qsizetype pos, qsizetype n) const & |
QString | chopped (qsizetype n) const & |
QString | first (qsizetype n) && |
QString | last (qsizetype n) && |
QString | sliced (qsizetype pos) && |
QString | sliced (qsizetype pos, qsizetype n) && |
QString | chopped (qsizetype n) && |
bool | startsWith (const QString &s, Qt::CaseSensitivity cs=Qt::CaseSensitive) const |
Returns true if the string starts with s; otherwise returns false . | |
bool | startsWith (QStringView s, Qt::CaseSensitivity cs=Qt::CaseSensitive) const noexcept |
bool | startsWith (QLatin1StringView s, Qt::CaseSensitivity cs=Qt::CaseSensitive) const |
bool | startsWith (QChar c, Qt::CaseSensitivity cs=Qt::CaseSensitive) const |
bool | endsWith (const QString &s, Qt::CaseSensitivity cs=Qt::CaseSensitive) const |
Returns true if the string ends with s; otherwise returns false . | |
bool | endsWith (QStringView s, Qt::CaseSensitivity cs=Qt::CaseSensitive) const noexcept |
bool | endsWith (QLatin1StringView s, Qt::CaseSensitivity cs=Qt::CaseSensitive) const |
bool | endsWith (QChar c, Qt::CaseSensitivity cs=Qt::CaseSensitive) const |
bool | isUpper () const |
Returns true if the string is uppercase, that is, it's identical to its toUpper() folding. | |
bool | isLower () const |
Returns true if the string is lowercase, that is, it's identical to its toLower() folding. | |
QString | leftJustified (qsizetype width, QChar fill=u' ', bool trunc=false) const |
Returns a string of size width that contains this string padded by the fill character. | |
QString | rightJustified (qsizetype width, QChar fill=u' ', bool trunc=false) const |
Returns a string of size() width that contains the fill character followed by the string. | |
QString | toLower () const & |
QString | toLower () && |
QString | toUpper () const & |
QString | toUpper () && |
QString | toCaseFolded () const & |
QString | toCaseFolded () && |
QString | trimmed () const & |
QString | trimmed () && |
QString | simplified () const & |
QString | simplified () && |
QString | toHtmlEscaped () const |
QString & | insert (qsizetype i, QChar c) |
QString & | insert (qsizetype i, const QChar *uc, qsizetype len) |
QString & | insert (qsizetype i, const QString &s) |
QString & | insert (qsizetype i, QStringView v) |
QString & | insert (qsizetype i, QLatin1StringView s) |
QString & | insert (qsizetype i, QUtf8StringView s) |
QString & | append (QChar c) |
QString & | append (const QChar *uc, qsizetype len) |
QString & | append (const QString &s) |
Appends the string str onto the end of this string. | |
QString & | append (QStringView v) |
QString & | append (QLatin1StringView s) |
QString & | append (QUtf8StringView s) |
QString & | prepend (QChar c) |
QString & | prepend (const QChar *uc, qsizetype len) |
QString & | prepend (const QString &s) |
Prepends the string str to the beginning of this string and returns a reference to this string. | |
QString & | prepend (QStringView v) |
QString & | prepend (QLatin1StringView s) |
QString & | prepend (QUtf8StringView s) |
QString & | assign (QAnyStringView s) |
QString & | assign (qsizetype n, QChar c) |
template<typename InputIterator , if_compatible_iterator< InputIterator > = true> | |
QString & | assign (InputIterator first, InputIterator last) |
QString & | operator+= (QChar c) |
QString & | operator+= (const QString &s) |
Appends the string other onto the end of this string and returns a reference to this string. | |
QString & | operator+= (QStringView v) |
QString & | operator+= (QLatin1StringView s) |
QString & | operator+= (QUtf8StringView s) |
QString & | remove (qsizetype i, qsizetype len) |
Removes n characters from the string, starting at the given position index, and returns a reference to the string. | |
QString & | remove (QChar c, Qt::CaseSensitivity cs=Qt::CaseSensitive) |
Removes every occurrence of the character ch in this string, and returns a reference to this string. | |
QString & | remove (QLatin1StringView s, Qt::CaseSensitivity cs=Qt::CaseSensitive) |
QString & | remove (const QString &s, Qt::CaseSensitivity cs=Qt::CaseSensitive) |
Removes every occurrence of the given str string in this string, and returns a reference to this string. | |
QString & | removeAt (qsizetype pos) |
QString & | removeFirst () |
QString & | removeLast () |
template<typename Predicate > | |
QString & | removeIf (Predicate pred) |
QString & | replace (qsizetype i, qsizetype len, QChar after) |
QString & | replace (qsizetype i, qsizetype len, const QChar *s, qsizetype slen) |
QString & | replace (qsizetype i, qsizetype len, const QString &after) |
Replaces n characters beginning at index position with the string after and returns a reference to this string. | |
QString & | replace (QChar before, QChar after, Qt::CaseSensitivity cs=Qt::CaseSensitive) |
QString & | replace (const QChar *before, qsizetype blen, const QChar *after, qsizetype alen, Qt::CaseSensitivity cs=Qt::CaseSensitive) |
QString & | replace (QLatin1StringView before, QLatin1StringView after, Qt::CaseSensitivity cs=Qt::CaseSensitive) |
QString & | replace (QLatin1StringView before, const QString &after, Qt::CaseSensitivity cs=Qt::CaseSensitive) |
QString & | replace (const QString &before, QLatin1StringView after, Qt::CaseSensitivity cs=Qt::CaseSensitive) |
QString & | replace (const QString &before, const QString &after, Qt::CaseSensitivity cs=Qt::CaseSensitive) |
QString & | replace (QChar c, const QString &after, Qt::CaseSensitivity cs=Qt::CaseSensitive) |
QString & | replace (QChar c, QLatin1StringView after, Qt::CaseSensitivity cs=Qt::CaseSensitive) |
QStringList | split (const QString &sep, Qt::SplitBehavior behavior=Qt::KeepEmptyParts, Qt::CaseSensitivity cs=Qt::CaseSensitive) const |
Splits the string into substrings wherever sep occurs, and returns the list of those strings. | |
QStringList | split (QChar sep, Qt::SplitBehavior behavior=Qt::KeepEmptyParts, Qt::CaseSensitivity cs=Qt::CaseSensitive) const |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. | |
QStringList | split (const QRegularExpression &sep, Qt::SplitBehavior behavior=Qt::KeepEmptyParts) const |
template<typename Needle , typename... Flags> | |
auto | tokenize (Needle &&needle, Flags...flags) const &noexcept(noexcept(qTokenize(std::declval< const QString & >(), std::forward< Needle >(needle), flags...))) -> decltype(qTokenize(*this, std::forward< Needle >(needle), flags...)) |
template<typename Needle , typename... Flags> | |
auto | tokenize (Needle &&needle, Flags...flags) const &&noexcept(noexcept(qTokenize(std::declval< const QString >(), std::forward< Needle >(needle), flags...))) -> decltype(qTokenize(std::move(*this), std::forward< Needle >(needle), flags...)) |
template<typename Needle , typename... Flags> | |
auto | tokenize (Needle &&needle, Flags...flags) &&noexcept(noexcept(qTokenize(std::declval< QString >(), std::forward< Needle >(needle), flags...))) -> decltype(qTokenize(std::move(*this), std::forward< Needle >(needle), flags...)) |
QString | normalized (NormalizationForm mode, QChar::UnicodeVersion version=QChar::Unicode_Unassigned) const |
Returns the string in the given Unicode normalization mode, according to the given version of the Unicode standard. | |
QString | repeated (qsizetype times) const |
const ushort * | utf16 () const |
Returns the QString as a '\0\'-terminated array of unsigned shorts. | |
QByteArray | toLatin1 () const & |
QByteArray | toLatin1 () && |
QByteArray | toUtf8 () const & |
QByteArray | toUtf8 () && |
QByteArray | toLocal8Bit () const & |
QByteArray | toLocal8Bit () && |
QList< uint > | toUcs4 () const |
qsizetype | toWCharArray (wchar_t *array) const |
QString & | setRawData (const QChar *unicode, qsizetype size) |
QString & | setUnicode (const QChar *unicode, qsizetype size) |
Resizes the string to size characters and copies unicode into the string. | |
QString & | setUtf16 (const ushort *utf16, qsizetype size) |
Resizes the string to size characters and copies unicode into the string. | |
int | compare (const QString &s, Qt::CaseSensitivity cs=Qt::CaseSensitive) const noexcept |
int | compare (QLatin1StringView other, Qt::CaseSensitivity cs=Qt::CaseSensitive) const noexcept |
int | compare (QStringView s, Qt::CaseSensitivity cs=Qt::CaseSensitive) const noexcept |
int | compare (QChar ch, Qt::CaseSensitivity cs=Qt::CaseSensitive) const noexcept |
int | localeAwareCompare (const QString &s) const |
int | localeAwareCompare (QStringView s) const |
short | toShort (bool *ok=nullptr, int base=10) const |
Returns the string converted to a short using base base, which is 10 by default and must be between 2 and 36, or 0. | |
ushort | toUShort (bool *ok=nullptr, int base=10) const |
Returns the string converted to an {unsigned short} using base base, which is 10 by default and must be between 2 and 36, or 0. | |
int | toInt (bool *ok=nullptr, int base=10) const |
Returns the string converted to an int using base base, which is 10 by default and must be between 2 and 36, or 0. | |
uint | toUInt (bool *ok=nullptr, int base=10) const |
Returns the string converted to an {unsigned int} using base base, which is 10 by default and must be between 2 and 36, or 0. | |
long | toLong (bool *ok=nullptr, int base=10) const |
Returns the string converted to a long using base base, which is 10 by default and must be between 2 and 36, or 0. | |
ulong | toULong (bool *ok=nullptr, int base=10) const |
Returns the string converted to an {unsigned long} using base base, which is 10 by default and must be between 2 and 36, or 0. | |
qlonglong | toLongLong (bool *ok=nullptr, int base=10) const |
Returns the string converted to a {long long} using base base, which is 10 by default and must be between 2 and 36, or 0. | |
qulonglong | toULongLong (bool *ok=nullptr, int base=10) const |
Returns the string converted to an {unsigned long long} using base base, which is 10 by default and must be between 2 and 36, or 0. | |
float | toFloat (bool *ok=nullptr) const |
Returns the string converted to a float value. | |
double | toDouble (bool *ok=nullptr) const |
Returns the string converted to a double value. | |
QString & | setNum (short, int base=10) |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. | |
QString & | setNum (ushort, int base=10) |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. | |
QString & | setNum (int, int base=10) |
Sets the string to the printed value of n in the specified base, and returns a reference to the string. | |
QString & | setNum (uint, int base=10) |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. | |
QString & | setNum (long, int base=10) |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. | |
QString & | setNum (ulong, int base=10) |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. | |
QString & | setNum (qlonglong, int base=10) |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. | |
QString & | setNum (qulonglong, int base=10) |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. | |
QString & | setNum (float, char format='g', int precision=6) |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.Sets the string to the printed value of n, formatted according to the given format and precision, and returns a reference to the string. | |
QString & | setNum (double, char format='g', int precision=6) |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.Sets the string to the printed value of n, formatted according to the given format and precision, and returns a reference to the string. | |
QT_ASCII_CAST_WARN | QString (const char *ch) |
Constructs a string initialized with the 8-bit string str. | |
QT_ASCII_CAST_WARN | QString (const QByteArray &a) |
Constructs a string initialized with the byte array ba. | |
QT_ASCII_CAST_WARN QString & | operator= (const char *ch) |
QT_ASCII_CAST_WARN QString & | operator= (const QByteArray &a) |
QT_ASCII_CAST_WARN QString & | prepend (const char *s) |
QT_ASCII_CAST_WARN QString & | prepend (const QByteArray &s) |
QT_ASCII_CAST_WARN QString & | append (const char *s) |
QT_ASCII_CAST_WARN QString & | append (const QByteArray &s) |
QT_ASCII_CAST_WARN QString & | insert (qsizetype i, const char *s) |
QT_ASCII_CAST_WARN QString & | insert (qsizetype i, const QByteArray &s) |
QT_ASCII_CAST_WARN QString & | operator+= (const char *s) |
QT_ASCII_CAST_WARN QString & | operator+= (const QByteArray &s) |
iterator | begin () |
Returns an \l{STL-style iterators}{STL-style iterator} pointing to the first character in the string. | |
const_iterator | begin () const |
const_iterator | cbegin () const |
const_iterator | constBegin () const |
Returns a const \l{STL-style iterators}{STL-style iterator} pointing to the first character in the string. | |
iterator | end () |
Returns an \l{STL-style iterators}{STL-style iterator} pointing just after the last character in the string. | |
const_iterator | end () const |
const_iterator | cend () const |
const_iterator | constEnd () const |
Returns a const \l{STL-style iterators}{STL-style iterator} pointing just after the last character in the string. | |
reverse_iterator | rbegin () |
reverse_iterator | rend () |
const_reverse_iterator | rbegin () const |
const_reverse_iterator | rend () const |
const_reverse_iterator | crbegin () const |
const_reverse_iterator | crend () const |
void | push_back (QChar c) |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.Appends the given ch character onto the end of this string. | |
void | push_back (const QString &s) |
This function is provided for STL compatibility, appending the given other string onto the end of this string. | |
void | push_front (QChar c) |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.Prepends the given ch character to the beginning of this string. | |
void | push_front (const QString &s) |
This function is provided for STL compatibility, prepending the given other string to the beginning of this string. | |
void | shrink_to_fit () |
iterator | erase (const_iterator first, const_iterator last) |
iterator | erase (const_iterator it) |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. | |
constexpr qsizetype | max_size () const noexcept |
std::string | toStdString () const |
Returns a std::string object with the data contained in this QString. | |
std::wstring | toStdWString () const |
Returns a std::wstring object with the data contained in this QString. | |
std::u16string | toStdU16String () const |
std::u32string | toStdU32String () const |
Q_IMPLICIT | operator std::u16string_view () const noexcept |
bool | isNull () const |
Returns true if this string is null; otherwise returns false . | |
bool | isRightToLeft () const |
Returns true if the string is read right to left. | |
bool | isValidUtf16 () const noexcept |
QString (qsizetype size, Qt::Initialization) | |
QString (DataPointer &&dd) | |
DataPointer & | data_ptr () |
const DataPointer & | data_ptr () const |
Public Attributes | |
qsizetype | position |
Public Attributes inherited from QString | |
static QString static QString qsizetype | from = 0 |
static QString static QString qsizetype Qt::CaseSensitivity | cs = Qt::CaseSensitive) const |
qsizetype | from |
qsizetype Qt::CaseSensitivity | cs = Qt::CaseSensitive) const |
Additional Inherited Members | |
Public Types inherited from QString | |
enum | SectionFlag { SectionDefault = 0x00 , SectionSkipEmpty = 0x01 , SectionIncludeLeadingSep = 0x02 , SectionIncludeTrailingSep = 0x04 , SectionCaseInsensitiveSeps = 0x08 } |
This enum specifies flags that can be used to affect various aspects of the section() function's behavior with respect to separators and empty fields. More... | |
enum | NormalizationForm { NormalizationForm_D , NormalizationForm_C , NormalizationForm_KD , NormalizationForm_KC } |
This enum describes the various normalized forms of Unicode text. More... | |
typedef QStringPrivate | DataPointer |
typedef QChar * | iterator |
typedef const QChar * | const_iterator |
typedef iterator | Iterator |
Qt-style synonym for QString::iterator. | |
typedef const_iterator | ConstIterator |
\macro QT_RESTRICTED_CAST_FROM_ASCII | |
typedef std::reverse_iterator< iterator > | reverse_iterator |
typedef std::reverse_iterator< const_iterator > | const_reverse_iterator |
typedef qsizetype | size_type |
typedef qptrdiff | difference_type |
typedef const QChar & | const_reference |
typedef QChar & | reference |
typedef QChar * | pointer |
The QString::pointer typedef provides an STL-style pointer to a QString element (QChar). | |
typedef const QChar * | const_pointer |
The QString::const_pointer typedef provides an STL-style const pointer to a QString element (QChar). | |
typedef QChar | value_type |
Static Public Member Functions inherited from QString | |
static constexpr qsizetype | maxSize () noexcept |
static QString | vasprintf (const char *format, va_list ap) Q_ATTRIBUTE_FORMAT_PRINTF(1 |
static QString static QString | asprintf (const char *format,...) Q_ATTRIBUTE_FORMAT_PRINTF(1 |
static QString | fromLatin1 (QByteArrayView ba) |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. | |
static Q_WEAK_OVERLOAD QString | fromLatin1 (const QByteArray &ba) |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. | |
static QString | fromLatin1 (const char *str, qsizetype size) |
Returns a QString initialized with the first size characters of the Latin-1 string str. | |
static QString | fromUtf8 (QByteArrayView utf8) |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. | |
static Q_WEAK_OVERLOAD QString | fromUtf8 (const QByteArray &ba) |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. | |
static QString | fromUtf8 (const char *utf8, qsizetype size) |
Returns a QString initialized with the first size bytes of the UTF-8 string str. | |
static QString | fromLocal8Bit (QByteArrayView ba) |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. | |
static Q_WEAK_OVERLOAD QString | fromLocal8Bit (const QByteArray &ba) |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. | |
static QString | fromLocal8Bit (const char *str, qsizetype size) |
Returns a QString initialized with the first size characters of the 8-bit string str. | |
static QString | fromUtf16 (const char16_t *, qsizetype size=-1) |
static QString | fromUcs4 (const char32_t *, qsizetype size=-1) |
static QString | fromRawData (const QChar *, qsizetype size) |
Constructs a QString that uses the first size Unicode characters in the array unicode. | |
static QString | fromWCharArray (const wchar_t *string, qsizetype size=-1) |
static int | compare (const QString &s1, const QString &s2, Qt::CaseSensitivity cs=Qt::CaseSensitive) noexcept |
static int | compare (const QString &s1, QLatin1StringView s2, Qt::CaseSensitivity cs=Qt::CaseSensitive) noexcept |
static int | compare (QLatin1StringView s1, const QString &s2, Qt::CaseSensitivity cs=Qt::CaseSensitive) noexcept |
static int | compare (const QString &s1, QStringView s2, Qt::CaseSensitivity cs=Qt::CaseSensitive) noexcept |
static int | compare (QStringView s1, const QString &s2, Qt::CaseSensitivity cs=Qt::CaseSensitive) noexcept |
static int | localeAwareCompare (const QString &s1, const QString &s2) |
Compares s1 with s2 and returns an integer less than, equal to, or greater than zero if s1 is less than, equal to, or greater than s2. | |
static int | localeAwareCompare (QStringView s1, QStringView s2) |
static QString | number (int, int base=10) |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. | |
static QString | number (uint, int base=10) |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. | |
static QString | number (long, int base=10) |
Returns a string equivalent of the number n according to the specified base. | |
static QString | number (ulong, int base=10) |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. | |
static QString | number (qlonglong, int base=10) |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. | |
static QString | number (qulonglong, int base=10) |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. | |
static QString | number (double, char format='g', int precision=6) |
Returns a string representing the floating-point number n. | |
static QString | fromStdString (const std::string &s) |
static QString | fromStdWString (const std::wstring &s) |
Returns a copy of the str string. | |
static QString | fromStdU16String (const std::u16string &s) |
static QString | fromStdU32String (const std::u32string &s) |
Related Symbols inherited from QString | |
QString | operator+ (QString &&s1, const QString &s2) |
Returns a string which is the result of concatenating s1 and s2. | |
QString | operator+ (const QString &s1, const char *s2) |
Returns a string which is the result of concatenating s1 and s2 (s2 is converted to Unicode using the QString::fromUtf8() function). | |
QString | operator+ (const char *s1, const QString &s2) |
Returns a string which is the result of concatenating s1 and s2 (s1 is converted to Unicode using the QString::fromUtf8() function). | |
QString | operator+ (const QString &lhs, QStringView rhs) |
QDataStream & | operator<< (QDataStream &stream, const QString &string) |
Writes the given string to the specified stream. | |
QDataStream & | operator>> (QDataStream &stream, QString &string) |
Reads a string from the specified stream into the given string. | |
operator""_s (const char16_t *str, size_t size) | |
\macro QStringLiteral(str) | |
Definition at line 1746 of file qsettings.cpp.
|
inline |
Definition at line 1749 of file qsettings.cpp.
Definition at line 1750 of file qsettings.cpp.
|
inline |
Definition at line 1749 of file qsettings.cpp.
Definition at line 1750 of file qsettings.cpp.
qsizetype QSettingsIniKey::position |
Definition at line 1752 of file qsettings.cpp.