Qt 4.8
Public Functions | Public Variables | List of all members
QSettingsIniKey Class Reference
Inheritance diagram for QSettingsIniKey:
QString

Public Functions

 QSettingsIniKey ()
 
 QSettingsIniKey (const QString &str, int pos=-1)
 
- Public Functions inherited from QString
QStringappend (QChar c)
 
QStringappend (const QString &s)
 Appends the string str onto the end of this string. More...
 
QStringappend (const QStringRef &s)
 Appends the given string reference to this string and returns the result. More...
 
QStringappend (const QLatin1String &s)
 
QT_ASCII_CAST_WARN QStringappend (const char *s)
 
QT_ASCII_CAST_WARN QStringappend (const QByteArray &s)
 
QString arg (qlonglong a, int fieldwidth=0, int base=10, const QChar &fillChar=QLatin1Char(' ')) const Q_REQUIRED_RESULT
 
QString arg (qulonglong a, int fieldwidth=0, int base=10, const QChar &fillChar=QLatin1Char(' ')) const Q_REQUIRED_RESULT
 
QString arg (long a, int fieldwidth=0, int base=10, const QChar &fillChar=QLatin1Char(' ')) const Q_REQUIRED_RESULT
 
QString arg (ulong a, int fieldwidth=0, int base=10, const QChar &fillChar=QLatin1Char(' ')) const Q_REQUIRED_RESULT
 
QString arg (int a, int fieldWidth=0, int base=10, const QChar &fillChar=QLatin1Char(' ')) const Q_REQUIRED_RESULT
 
QString arg (uint a, int fieldWidth=0, int base=10, const QChar &fillChar=QLatin1Char(' ')) const Q_REQUIRED_RESULT
 
QString arg (short a, int fieldWidth=0, int base=10, const QChar &fillChar=QLatin1Char(' ')) const Q_REQUIRED_RESULT
 fieldWidth specifies the minimum amount of space that a is padded to and filled with the character fillChar. More...
 
QString arg (ushort a, int fieldWidth=0, int base=10, const QChar &fillChar=QLatin1Char(' ')) const Q_REQUIRED_RESULT
 
QString arg (double a, int fieldWidth=0, char fmt='g', int prec=-1, const QChar &fillChar=QLatin1Char(' ')) const Q_REQUIRED_RESULT
 
QString arg (char a, int fieldWidth=0, const QChar &fillChar=QLatin1Char(' ')) const Q_REQUIRED_RESULT
 
QString arg (QChar a, int fieldWidth=0, const QChar &fillChar=QLatin1Char(' ')) const Q_REQUIRED_RESULT
 
QString arg (const QString &a, int fieldWidth=0, const QChar &fillChar=QLatin1Char(' ')) const Q_REQUIRED_RESULT
 Returns a copy of this string with the lowest numbered place marker replaced by string a, i.e., %1, %2, ..., %99. More...
 
QString arg (const QString &a1, const QString &a2) const Q_REQUIRED_RESULT
 
QString arg (const QString &a1, const QString &a2, const QString &a3) const Q_REQUIRED_RESULT
 
QString arg (const QString &a1, const QString &a2, const QString &a3, const QString &a4) const Q_REQUIRED_RESULT
 
QString arg (const QString &a1, const QString &a2, const QString &a3, const QString &a4, const QString &a5) const Q_REQUIRED_RESULT
 
QString arg (const QString &a1, const QString &a2, const QString &a3, const QString &a4, const QString &a5, const QString &a6) const Q_REQUIRED_RESULT
 
QString arg (const QString &a1, const QString &a2, const QString &a3, const QString &a4, const QString &a5, const QString &a6, const QString &a7) const Q_REQUIRED_RESULT
 
QString arg (const QString &a1, const QString &a2, const QString &a3, const QString &a4, const QString &a5, const QString &a6, const QString &a7, const QString &a8) const Q_REQUIRED_RESULT
 
QString arg (const QString &a1, const QString &a2, const QString &a3, const QString &a4, const QString &a5, const QString &a6, const QString &a7, const QString &a8, const QString &a9) const Q_REQUIRED_RESULT
 
const QChar at (int i) const
 Returns the character at the given index position in the string. More...
 
iterator begin ()
 Returns an STL-style iterator pointing to the first character in the string. More...
 
const_iterator begin () const
 
int capacity () const
 Returns the maximum number of characters that can be stored in the string without forcing a reallocation. More...
 
void chop (int n)
 Removes n characters from the end of the string. More...
 
void clear ()
 Clears the contents of the string and makes it empty. More...
 
int compare (const QString &s) const
 
int compare (const QString &s, Qt::CaseSensitivity cs) const
 
int compare (const QLatin1String &other, Qt::CaseSensitivity cs=Qt::CaseSensitive) const
 
int compare (const QStringRef &s, Qt::CaseSensitivity cs=Qt::CaseSensitive) const
 
const_iterator constBegin () const
 Returns a const STL-style iterator pointing to the first character in the string. More...
 
const QCharconstData () const
 Returns a pointer to the data stored in the QString. More...
 
const_iterator constEnd () const
 Returns a const STL-style iterator pointing to the imaginary item after the last item in the list. More...
 
QBool contains (QChar c, Qt::CaseSensitivity cs=Qt::CaseSensitive) const
 
QBool 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. More...
 
QBool contains (const QStringRef &s, Qt::CaseSensitivity cs=Qt::CaseSensitive) const
 Returns true if this string contains an occurrence of the string reference str; otherwise returns false. More...
 
QBool contains (const QRegExp &rx) const
 
QBool contains (QRegExp &rx) const
 
int count () const
 
int count (QChar c, Qt::CaseSensitivity cs=Qt::CaseSensitive) const
 
int count (const QString &s, Qt::CaseSensitivity cs=Qt::CaseSensitive) const
 Returns the number of (potentially overlapping) occurrences of the string str in this string. More...
 
int count (const QStringRef &s, Qt::CaseSensitivity cs=Qt::CaseSensitive) const
 
int count (const QRegExp &) const
 
QChardata ()
 Returns a pointer to the data stored in the QString. More...
 
const QChardata () const
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. More...
 
DataPtrdata_ptr ()
 
void detach ()
 
iterator end ()
 Returns an STL-style iterator pointing to the imaginary character after the last character in the string. More...
 
const_iterator end () const
 
bool endsWith (const QString &s, Qt::CaseSensitivity cs=Qt::CaseSensitive) const
 Returns true if the string ends with s; otherwise returns false. More...
 
bool endsWith (const QStringRef &s, Qt::CaseSensitivity cs=Qt::CaseSensitive) const
 
bool endsWith (const QLatin1String &s, Qt::CaseSensitivity cs=Qt::CaseSensitive) const
 
bool endsWith (const QChar &c, Qt::CaseSensitivity cs=Qt::CaseSensitive) const
 
QStringfill (QChar c, int size=-1)
 Sets every character in the string to character ch. More...
 
int indexOf (QChar c, int from=0, Qt::CaseSensitivity cs=Qt::CaseSensitive) const
 
int indexOf (const QString &s, int from=0, Qt::CaseSensitivity cs=Qt::CaseSensitive) const
 Returns the index position of the first occurrence of the string str in this string, searching forward from index position from. More...
 
int indexOf (const QLatin1String &s, int from=0, Qt::CaseSensitivity cs=Qt::CaseSensitive) const
 Returns the index position of the first occurrence of the string str in this string, searching forward from index position from. More...
 
int indexOf (const QStringRef &s, int from=0, Qt::CaseSensitivity cs=Qt::CaseSensitive) const
 
int indexOf (const QRegExp &, int from=0) const
 
int indexOf (QRegExp &, int from=0) const
 
QStringinsert (int i, QChar c)
 
QStringinsert (int i, const QChar *uc, int len)
 
QStringinsert (int i, const QString &s)
 Inserts the string str at the given index position and returns a reference to this string. More...
 
QStringinsert (int i, const QLatin1String &s)
 
bool isDetached () const
 
bool isEmpty () const
 Returns true if the string has no characters; otherwise returns false. More...
 
bool isNull () const
 Returns true if this string is null; otherwise returns false. More...
 
bool isRightToLeft () const
 Returns true if the string is read right to left. More...
 
bool isSharedWith (const QString &other) const
 
bool isSimpleText () const
 
int lastIndexOf (QChar c, int from=-1, Qt::CaseSensitivity cs=Qt::CaseSensitive) const
 
int lastIndexOf (const QString &s, int from=-1, Qt::CaseSensitivity cs=Qt::CaseSensitive) const
 Returns the index position of the last occurrence of the string str in this string, searching backward from index position from. More...
 
int lastIndexOf (const QLatin1String &s, int from=-1, Qt::CaseSensitivity cs=Qt::CaseSensitive) const
 
int lastIndexOf (const QStringRef &s, int from=-1, Qt::CaseSensitivity cs=Qt::CaseSensitive) const
 
int lastIndexOf (const QRegExp &, int from=-1) const
 
int lastIndexOf (QRegExp &, int from=-1) const
 
QString left (int n) const Q_REQUIRED_RESULT
 Returns a substring that contains the n leftmost characters of the string. More...
 
QString leftJustified (int width, QChar fill=QLatin1Char(' '), bool trunc=false) const Q_REQUIRED_RESULT
 Returns a string of size width that contains this string padded by the fill character. More...
 
QStringRef leftRef (int n) const Q_REQUIRED_RESULT
 Returns a substring reference to the n leftmost characters of the string. More...
 
int length () const
 Returns the number of characters in this string. More...
 
int localeAwareCompare (const QString &s) const
 
int localeAwareCompare (const QStringRef &s) const
 
QString mid (int position, int n=-1) const Q_REQUIRED_RESULT
 Returns a string that contains n characters of this string, starting at the specified position index. More...
 
QStringRef midRef (int position, int n=-1) const Q_REQUIRED_RESULT
 Returns a substring reference to n characters of this string, starting at the specified position. More...
 
QString normalized (NormalizationForm mode) const Q_REQUIRED_RESULT
 Returns the string in the given Unicode normalization mode. More...
 
QString normalized (NormalizationForm mode, QChar::UnicodeVersion version) const Q_REQUIRED_RESULT
 Returns the string in the given Unicode normalization mode, according to the given version of the Unicode standard. More...
 
bool operator!= (const QString &s) const
 Returns true if this string is not equal to string other; otherwise returns false. More...
 
bool operator!= (const QLatin1String &s) const
 
QT_ASCII_CAST_WARN bool operator!= (const char *s) const
 
QT_ASCII_CAST_WARN bool operator!= (const QByteArray &s) const
 
QStringoperator+= (QChar c)
 
QStringoperator+= (QChar::SpecialCharacter c)
 
QStringoperator+= (const QString &s)
 Appends the string other onto the end of this string and returns a reference to this string. More...
 
QStringoperator+= (const QStringRef &s)
 
QStringoperator+= (const QLatin1String &s)
 
QT_ASCII_CAST_WARN QStringoperator+= (const char *s)
 
QT_ASCII_CAST_WARN QStringoperator+= (const QByteArray &s)
 
QT_ASCII_CAST_WARN QStringoperator+= (char c)
 
bool operator< (const QString &s) const
 Returns true if this string is lexically less than string other; otherwise returns false. More...
 
bool operator< (const QLatin1String &s) const
 
QT_ASCII_CAST_WARN bool operator< (const char *s) const
 
QT_ASCII_CAST_WARN bool operator< (const QByteArray &s) const
 
bool operator<= (const QString &s) const
 Returns true if this string is lexically less than or equal to string other; otherwise returns false. More...
 
bool operator<= (const QLatin1String &s) const
 
QT_ASCII_CAST_WARN bool operator<= (const char *s2) const
 
QT_ASCII_CAST_WARN bool operator<= (const QByteArray &s) const
 
QStringoperator= (QChar c)
 
QStringoperator= (const QString &)
 Assigns other to this string and returns a reference to this string. More...
 
QStringoperator= (const QLatin1String &)
 
QT_ASCII_CAST_WARN QStringoperator= (const char *ch)
 
QT_ASCII_CAST_WARN QStringoperator= (const QByteArray &a)
 
QT_ASCII_CAST_WARN QStringoperator= (char c)
 
QStringoperator= (const Null &)
 
bool operator== (const QString &s) const
 Returns true if string other is equal to this string; otherwise returns false. More...
 
bool operator== (const QLatin1String &s) const
 
QT_ASCII_CAST_WARN bool operator== (const char *s) const
 
QT_ASCII_CAST_WARN bool operator== (const QByteArray &s) const
 
bool operator> (const QString &s) const
 Returns true if this string is lexically greater than string other; otherwise returns false. More...
 
bool operator> (const QLatin1String &s) const
 
QT_ASCII_CAST_WARN bool operator> (const char *s2) const
 
QT_ASCII_CAST_WARN bool operator> (const QByteArray &s) const
 
bool operator>= (const QString &s) const
 Returns true if this string is lexically greater than or equal to string other; otherwise returns false. More...
 
bool operator>= (const QLatin1String &s) const
 
QT_ASCII_CAST_WARN bool operator>= (const char *s2) const
 
QT_ASCII_CAST_WARN bool operator>= (const QByteArray &s) const
 
const QChar operator[] (int i) const
 
QCharRef operator[] (int i)
 Returns the character at the specified position in the string as a modifiable reference. More...
 
const QChar operator[] (uint i) const
 
QCharRef operator[] (uint i)
 
QStringprepend (QChar c)
 
QStringprepend (const QString &s)
 Prepends the string str to the beginning of this string and returns a reference to this string. More...
 
QStringprepend (const QLatin1String &s)
 
QT_ASCII_CAST_WARN QStringprepend (const char *s)
 
QT_ASCII_CAST_WARN QStringprepend (const QByteArray &s)
 
void push_back (QChar c)
 Appends the given ch character onto the end of this string. More...
 
void push_back (const QString &s)
 This function is provided for STL compatibility, appending the given other string onto the end of this string. More...
 
void push_front (QChar c)
 Prepends the given ch character to the beginning of this string. More...
 
void push_front (const QString &s)
 This function is provided for STL compatibility, prepending the given other string to the beginning of this string. More...
 
 QString ()
 Constructs a null string. More...
 
 QString (const QChar *unicode, int size)
 Constructs a string initialized with the first size characters of the QChar array unicode. More...
 
 QString (const QChar *unicode)
 Constructs a string initialized with the characters of the QChar array unicode, which must be terminated with a 0. More...
 
 QString (QChar c)
 Constructs a string of size 1 containing the character ch. More...
 
 QString (int size, QChar c)
 Constructs a string of the given size with every character set to ch. More...
 
 QString (const QLatin1String &latin1)
 Constructs a copy of the Latin-1 string str. More...
 
 QString (const QString &)
 Constructs a copy of other. More...
 
QT_ASCII_CAST_WARN_CONSTRUCTOR QString (const char *ch)
 Constructs a string initialized with the 8-bit string str. More...
 
QT_ASCII_CAST_WARN_CONSTRUCTOR QString (const QByteArray &a)
 Constructs a string initialized with the byte array ba. More...
 
 QString (const Null &)
 
 QString (int size, Qt::Initialization)
 Constructs a string of the given size without initializing the characters. More...
 
QStringremove (int i, int len)
 Removes n characters from the string, starting at the given position index, and returns a reference to the string. More...
 
QStringremove (QChar c, Qt::CaseSensitivity cs=Qt::CaseSensitive)
 Removes every occurrence of the character ch in this string, and returns a reference to this string. More...
 
QStringremove (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. More...
 
QStringremove (const QRegExp &rx)
 Removes every occurrence of the regular expression rx in the string, and returns a reference to the string. More...
 
QString repeated (int times) const
 Returns a copy of this string repeated the specified number of times. More...
 
QStringreplace (int i, int len, QChar after)
 
QStringreplace (int i, int len, const QChar *s, int slen)
 
QStringreplace (int i, int len, const QString &after)
 Replaces n characters beginning at index position with the string after and returns a reference to this string. More...
 
QStringreplace (QChar before, QChar after, Qt::CaseSensitivity cs=Qt::CaseSensitive)
 
QStringreplace (const QChar *before, int blen, const QChar *after, int alen, Qt::CaseSensitivity cs=Qt::CaseSensitive)
 
QStringreplace (const QLatin1String &before, const QLatin1String &after, Qt::CaseSensitivity cs=Qt::CaseSensitive)
 
QStringreplace (const QLatin1String &before, const QString &after, Qt::CaseSensitivity cs=Qt::CaseSensitive)
 
QStringreplace (const QString &before, const QLatin1String &after, Qt::CaseSensitivity cs=Qt::CaseSensitive)
 
QStringreplace (const QString &before, const QString &after, Qt::CaseSensitivity cs=Qt::CaseSensitive)
 
QStringreplace (QChar c, const QString &after, Qt::CaseSensitivity cs=Qt::CaseSensitive)
 
QStringreplace (QChar c, const QLatin1String &after, Qt::CaseSensitivity cs=Qt::CaseSensitive)
 
QStringreplace (const QRegExp &rx, const QString &after)
 
void reserve (int size)
 Attempts to allocate memory for at least size characters. More...
 
void resize (int size)
 Sets the size of the string to size characters. More...
 
QString right (int n) const Q_REQUIRED_RESULT
 Returns a substring that contains the n rightmost characters of the string. More...
 
QString rightJustified (int width, QChar fill=QLatin1Char(' '), bool trunc=false) const Q_REQUIRED_RESULT
 Returns a string of size() width that contains the fill character followed by the string. More...
 
QStringRef rightRef (int n) const Q_REQUIRED_RESULT
 Returns a substring reference to the n rightmost characters of the string. More...
 
QString section (QChar sep, int start, int end=-1, SectionFlags flags=SectionDefault) const
 This function returns a section of the string. More...
 
QString section (const QString &in_sep, int start, int end=-1, SectionFlags flags=SectionDefault) const
 
QString section (const QRegExp &reg, int start, int end=-1, SectionFlags flags=SectionDefault) const
 
QStringsetNum (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. More...
 
QStringsetNum (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. More...
 
QStringsetNum (int, int base=10)
 Sets the string to the printed value of n in the specified base, and returns a reference to the string. More...
 
QStringsetNum (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. More...
 
QStringsetNum (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. More...
 
QStringsetNum (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. More...
 
QStringsetNum (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. More...
 
QStringsetNum (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. More...
 
QStringsetNum (float, char f='g', int prec=6)
 Sets the string to the printed value of n, formatted according to the given format and precision, and returns a reference to the string. More...
 
QStringsetNum (double, char f='g', int prec=6)
 Sets the string to the printed value of n, formatted according to the given format and precision, and returns a reference to the string. More...
 
QStringsetRawData (const QChar *unicode, int size)
 Resets the QString to use the first size Unicode characters in the array unicode. More...
 
QStringsetUnicode (const QChar *unicode, int size)
 Resizes the string to size characters and copies unicode into the string. More...
 
QStringsetUtf16 (const ushort *utf16, int size)
 Resizes the string to size characters and copies unicode into the string. More...
 
QString simplified () const Q_REQUIRED_RESULT
 Returns a string that has whitespace removed from the start and the end, and that has each sequence of internal whitespace replaced with a single space. More...
 
int size () const
 Returns the number of characters in this string. More...
 
QStringList split (const QString &sep, SplitBehavior behavior=KeepEmptyParts, Qt::CaseSensitivity cs=Qt::CaseSensitive) const Q_REQUIRED_RESULT
 Splits the string into substrings wherever sep occurs, and returns the list of those strings. More...
 
QStringList split (const QChar &sep, SplitBehavior behavior=KeepEmptyParts, Qt::CaseSensitivity cs=Qt::CaseSensitive) const Q_REQUIRED_RESULT
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. More...
 
QStringList split (const QRegExp &sep, SplitBehavior behavior=KeepEmptyParts) const Q_REQUIRED_RESULT
 Splits the string into substrings wherever the regular expression rx matches, and returns the list of those strings. More...
 
QStringsprintf (const char *format,...)
 Safely builds a formatted string from the format string cformat and an arbitrary list of arguments. More...
 
void squeeze ()
 Releases any memory not required to store the character data. More...
 
bool startsWith (const QString &s, Qt::CaseSensitivity cs=Qt::CaseSensitive) const
 Returns true if the string starts with s; otherwise returns false. More...
 
bool startsWith (const QStringRef &s, Qt::CaseSensitivity cs=Qt::CaseSensitive) const
 Returns true if the string starts with the string reference s; otherwise returns false. More...
 
bool startsWith (const QLatin1String &s, Qt::CaseSensitivity cs=Qt::CaseSensitive) const
 
bool startsWith (const QChar &c, Qt::CaseSensitivity cs=Qt::CaseSensitive) const
 
void swap (QString &other)
 Swaps string other with this string. More...
 
QByteArray toAscii () const Q_REQUIRED_RESULT
 Returns an 8-bit representation of the string as a QByteArray. More...
 
QString toCaseFolded () const Q_REQUIRED_RESULT
 Returns the case folded equivalent of the string. More...
 
double toDouble (bool *ok=0) const
 Returns the string converted to a double value. More...
 
float toFloat (bool *ok=0) const
 
int toInt (bool *ok=0, 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. More...
 
QByteArray toLatin1 () const Q_REQUIRED_RESULT
 Returns a Latin-1 representation of the string as a QByteArray. More...
 
QByteArray toLocal8Bit () const Q_REQUIRED_RESULT
 Returns the local 8-bit representation of the string as a QByteArray. More...
 
long toLong (bool *ok=0, 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. More...
 
qlonglong toLongLong (bool *ok=0, 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. More...
 
QString toLower () const Q_REQUIRED_RESULT
 Returns a lowercase copy of the string. More...
 
short toShort (bool *ok=0, 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. More...
 
std::string toStdString () const
 Returns a std::string object with the data contained in this QString. More...
 
std::wstring toStdWString () const
 Returns a std::wstring object with the data contained in this QString. More...
 
QVector< uinttoUcs4 () const Q_REQUIRED_RESULT
 Returns a UCS-4/UTF-32 representation of the string as a QVector<uint>. More...
 
uint toUInt (bool *ok=0, 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. More...
 
ulong toULong (bool *ok=0, 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. More...
 
qulonglong toULongLong (bool *ok=0, 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. More...
 
QString toUpper () const Q_REQUIRED_RESULT
 Returns an uppercase copy of the string. More...
 
ushort toUShort (bool *ok=0, 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. More...
 
QByteArray toUtf8 () const Q_REQUIRED_RESULT
 Returns a UTF-8 representation of the string as a QByteArray. More...
 
int toWCharArray (wchar_t *array) const
 Fills the array with the data contained in this QString object. More...
 
QString trimmed () const Q_REQUIRED_RESULT
 Returns a string that has whitespace removed from the start and the end. More...
 
void truncate (int pos)
 Truncates the string at the given position index. More...
 
const QCharunicode () const
 Returns a '\0'-terminated Unicode representation of the string. More...
 
const ushortutf16 () const
 Returns the QString as a '\0\'-terminated array of unsigned shorts. More...
 
QStringvsprintf (const char *format, va_list ap)
 Equivalent method to sprintf(), but takes a va_list ap instead a list of variable arguments. More...
 
 ~QString ()
 Destroys the string. More...
 

Public Variables

int position
 

Additional Inherited Members

- Public Types inherited from QString
typedef const QCharconst_iterator
 The QString::const_iterator typedef provides an STL-style const iterator for QString. More...
 
typedef const QCharconst_reference
 The QString::const_reference typedef provides an STL-style const reference for QString. More...
 
typedef const_iterator ConstIterator
 Qt-style synonym for QString::const_iterator. More...
 
typedef DataDataPtr
 
typedef QChariterator
 The QString::iterator typedef provides an STL-style non-const iterator for QString. More...
 
typedef iterator Iterator
 Qt-style synonym for QString::iterator. More...
 
enum  NormalizationForm { NormalizationForm_D, NormalizationForm_C, NormalizationForm_KD, NormalizationForm_KC }
 This enum describes the various normalized forms of Unicode text. More...
 
typedef QCharreference
 The QString::const_reference typedef provides an STL-style reference for QString. More...
 
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  SplitBehavior { KeepEmptyParts, SkipEmptyParts }
 This enum specifies how the split() function should behave with respect to empty strings. More...
 
typedef QChar value_type
 The QString::const_reference typedef provides an STL-style value type for QString. More...
 
- Static Public Functions inherited from QString
static int compare (const QString &s1, const QString &s2)
 
static int compare (const QString &s1, const QString &s2, Qt::CaseSensitivity cs)
 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. More...
 
static int compare (const QString &s1, const QLatin1String &s2, Qt::CaseSensitivity cs=Qt::CaseSensitive)
 
static int compare (const QLatin1String &s1, const QString &s2, Qt::CaseSensitivity cs=Qt::CaseSensitive)
 
static int compare (const QString &s1, const QStringRef &s2, Qt::CaseSensitivity=Qt::CaseSensitive)
 
static QString fromAscii (const char *, int size=-1)
 Returns a QString initialized with the first size characters from the string str. More...
 
static QString fromLatin1 (const char *, int size=-1)
 Returns a QString initialized with the first size characters of the Latin-1 string str. More...
 
static QString fromLocal8Bit (const char *, int size=-1)
 Returns a QString initialized with the first size characters of the 8-bit string str. More...
 
static QString fromRawData (const QChar *, int size)
 Constructs a QString that uses the first size Unicode characters in the array unicode. More...
 
static QString fromStdString (const std::string &s)
 Returns a copy of the str string. More...
 
static QString fromStdWString (const std::wstring &s)
 Returns a copy of the str string. More...
 
static QString fromUcs4 (const uint *, int size=-1)
 Returns a QString initialized with the first size characters of the Unicode string unicode (ISO-10646-UCS-4 encoded). More...
 
static QString fromUtf16 (const ushort *, int size=-1)
 Returns a QString initialized with the first size characters of the Unicode string unicode (ISO-10646-UTF-16 encoded). More...
 
static QString fromUtf8 (const char *, int size=-1)
 Returns a QString initialized with the first size bytes of the UTF-8 string str. More...
 
static QString fromWCharArray (const wchar_t *, int size=-1)
 Returns a copy of the string, where the encoding of string depends on the size of wchar. More...
 
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. More...
 
static int localeAwareCompare (const QString &s1, const QStringRef &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. More...
 
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. More...
 
static QString number (long, int base=10)
 Returns a string equivalent of the number n according to the specified base. More...
 
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. More...
 
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. More...
 
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. More...
 
static QString number (double, char f='g', int prec=6)
 Returns a string equivalent of the number n, formatted according to the specified format and precision. More...
 
- Static Public Variables inherited from QString
static const Null null = { }
 

Detailed Description

Definition at line 1849 of file qsettings.cpp.

Constructors and Destructors

◆ QSettingsIniKey() [1/2]

QSettingsIniKey::QSettingsIniKey ( )
inline

Definition at line 1852 of file qsettings.cpp.

1852 : position(-1) {}

◆ QSettingsIniKey() [2/2]

QSettingsIniKey::QSettingsIniKey ( const QString str,
int  pos = -1 
)
inline

Definition at line 1853 of file qsettings.cpp.

1853 : QString(str), position(pos) {}
QString()
Constructs a null string.
Definition: qstring.h:879

Properties

◆ position

int QSettingsIniKey::position

Definition at line 1855 of file qsettings.cpp.

Referenced by operator<().


The documentation for this class was generated from the following file: