NAME

Qt::Core::QString

PUBLIC METHODS

QString()
QString(const QChar * unicode)
QString(QChar c)
QString(const QLatin1String & latin1)
QString(const QString & arg0)
QString(const char * ch)
QString(const QByteArray & a)
QString(const QString::Null & arg0)
QString(const QChar * unicode, int size)
QString(int size, QChar c)
QString(int size, Qt::Initialization arg1)
~QString()
QString & append(QChar c)
QString & append(const QString & s)
QString & append(const QStringRef & s)
QString & append(const QLatin1String & s)
QString & append(const char * s)
QString & append(const QByteArray & s)
QString arg(const QString & a1, const QString & a2)
QString arg(char a, int fieldWidth, const QChar & fillChar)
QString arg(char a, int fieldWidth, const QChar & fillChar = QLatin1Char(' '))
QString arg(char a, int fieldWidth = 0, const QChar & fillChar = QLatin1Char(' '))
QString arg(QChar a, int fieldWidth, const QChar & fillChar)
QString arg(QChar a, int fieldWidth, const QChar & fillChar = QLatin1Char(' '))
QString arg(QChar a, int fieldWidth = 0, const QChar & fillChar = QLatin1Char(' '))
QString arg(const QString & a, int fieldWidth, const QChar & fillChar)
QString arg(const QString & a, int fieldWidth, const QChar & fillChar = QLatin1Char(' '))
QString arg(const QString & a, int fieldWidth = 0, const QChar & fillChar = QLatin1Char(' '))
QString arg(const QString & a1, const QString & a2, const QString & a3)
QString arg(qlonglong a, int fieldwidth, int base, const QChar & fillChar)
QString arg(qlonglong a, int fieldwidth, int base, const QChar & fillChar = QLatin1Char(' '))
QString arg(qlonglong a, int fieldwidth, int base = 10, const QChar & fillChar = QLatin1Char(' '))
QString arg(qlonglong a, int fieldwidth = 0, int base = 10, const QChar & fillChar = QLatin1Char(' '))
QString arg(qulonglong a, int fieldwidth, int base, const QChar & fillChar)
QString arg(qulonglong a, int fieldwidth, int base, const QChar & fillChar = QLatin1Char(' '))
QString arg(qulonglong a, int fieldwidth, int base = 10, const QChar & fillChar = QLatin1Char(' '))
QString arg(qulonglong a, int fieldwidth = 0, int base = 10, const QChar & fillChar = QLatin1Char(' '))
QString arg(long a, int fieldwidth, int base, const QChar & fillChar)
QString arg(long a, int fieldwidth, int base, const QChar & fillChar = QLatin1Char(' '))
QString arg(long a, int fieldwidth, int base = 10, const QChar & fillChar = QLatin1Char(' '))
QString arg(long a, int fieldwidth = 0, int base = 10, const QChar & fillChar = QLatin1Char(' '))
QString arg(ulong a, int fieldwidth, int base, const QChar & fillChar)
QString arg(ulong a, int fieldwidth, int base, const QChar & fillChar = QLatin1Char(' '))
QString arg(ulong a, int fieldwidth, int base = 10, const QChar & fillChar = QLatin1Char(' '))
QString arg(ulong a, int fieldwidth = 0, int base = 10, const QChar & fillChar = QLatin1Char(' '))
QString arg(int a, int fieldWidth, int base, const QChar & fillChar)
QString arg(int a, int fieldWidth, int base, const QChar & fillChar = QLatin1Char(' '))
QString arg(int a, int fieldWidth, int base = 10, const QChar & fillChar = QLatin1Char(' '))
QString arg(int a, int fieldWidth = 0, int base = 10, const QChar & fillChar = QLatin1Char(' '))
QString arg(uint a, int fieldWidth, int base, const QChar & fillChar)
QString arg(uint a, int fieldWidth, int base, const QChar & fillChar = QLatin1Char(' '))
QString arg(uint a, int fieldWidth, int base = 10, const QChar & fillChar = QLatin1Char(' '))
QString arg(uint a, int fieldWidth = 0, int base = 10, const QChar & fillChar = QLatin1Char(' '))
QString arg(short a, int fieldWidth, int base, const QChar & fillChar)
QString arg(short a, int fieldWidth, int base, const QChar & fillChar = QLatin1Char(' '))
QString arg(short a, int fieldWidth, int base = 10, const QChar & fillChar = QLatin1Char(' '))
QString arg(short a, int fieldWidth = 0, int base = 10, const QChar & fillChar = QLatin1Char(' '))
QString arg(ushort a, int fieldWidth, int base, const QChar & fillChar)
QString arg(ushort a, int fieldWidth, int base, const QChar & fillChar = QLatin1Char(' '))
QString arg(ushort a, int fieldWidth, int base = 10, const QChar & fillChar = QLatin1Char(' '))
QString arg(ushort a, int fieldWidth = 0, int base = 10, const QChar & fillChar = QLatin1Char(' '))
QString arg(const QString & a1, const QString & a2, const QString & a3, const QString & a4)
QString arg(double a, int fieldWidth, char fmt, int prec, const QChar & fillChar)
QString arg(double a, int fieldWidth, char fmt, int prec, const QChar & fillChar = QLatin1Char(' '))
QString arg(double a, int fieldWidth, char fmt, int prec = -1, const QChar & fillChar = QLatin1Char(' '))
QString arg(double a, int fieldWidth, char fmt = 'g', int prec = -1, const QChar & fillChar = QLatin1Char(' '))
QString arg(double a, int fieldWidth = 0, char fmt = 'g', int prec = -1, const QChar & fillChar = QLatin1Char(' '))
QString arg(const QString & a1, const QString & a2, const QString & a3, const QString & a4, const QString & a5)
QString arg(const QString & a1, const QString & a2, const QString & a3, const QString & a4, const QString & a5, const QString & a6)
QString arg(const QString & a1, const QString & a2, const QString & a3, const QString & a4, const QString & a5, const QString & a6, const QString & a7)
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)
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 QChar at(int i)
QChar * begin()
const QChar * begin()
int capacity()
void chop(int n)
void clear()
int compare(const QString & s)
int compare(const QString & s, Qt::CaseSensitivity cs)
int compare(const QLatin1String & other, Qt::CaseSensitivity cs)
int compare(const QLatin1String & other, Qt::CaseSensitivity cs = Qt::CaseSensitive)
static int compare(const QString & s1, const QString & s2)
int compare(const QStringRef & s, Qt::CaseSensitivity cs)
int compare(const QStringRef & s, Qt::CaseSensitivity cs = Qt::CaseSensitive)
static int compare(const QString & s1, const QString & s2, Qt::CaseSensitivity cs)
static int compare(const QString & s1, const QLatin1String & s2, Qt::CaseSensitivity cs)
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)
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 arg2)
static int compare(const QString & s1, const QStringRef & s2, Qt::CaseSensitivity arg2 = Qt::CaseSensitive)
const QChar * constBegin()
const QChar * constData()
const QChar * constEnd()
QBool contains(const QRegExp & rx)
QBool contains(QRegExp & rx)
QBool contains(QChar c, Qt::CaseSensitivity cs)
QBool contains(QChar c, Qt::CaseSensitivity cs = Qt::CaseSensitive)
QBool contains(const QString & s, Qt::CaseSensitivity cs)
QBool contains(const QString & s, Qt::CaseSensitivity cs = Qt::CaseSensitive)
int count()
int count(const QRegExp & arg0)
int count(QChar c, Qt::CaseSensitivity cs)
int count(QChar c, Qt::CaseSensitivity cs = Qt::CaseSensitive)
int count(const QString & s, Qt::CaseSensitivity cs)
int count(const QString & s, Qt::CaseSensitivity cs = Qt::CaseSensitive)
QChar * data()
const QChar * data()
void detach()
QChar * end()
const QChar * end()
bool endsWith(const QString & s, Qt::CaseSensitivity cs)
bool endsWith(const QString & s, Qt::CaseSensitivity cs = Qt::CaseSensitive)
bool endsWith(const QLatin1String & s, Qt::CaseSensitivity cs)
bool endsWith(const QLatin1String & s, Qt::CaseSensitivity cs = Qt::CaseSensitive)
bool endsWith(const QChar & c, Qt::CaseSensitivity cs)
bool endsWith(const QChar & c, Qt::CaseSensitivity cs = Qt::CaseSensitive)
QString & fill(QChar c, int size)
QString & fill(QChar c, int size = -1)
static QString fromAscii(const char * arg0, int size)
static QString fromAscii(const char * arg0, int size = -1)
static QString fromLatin1(const char * arg0, int size)
static QString fromLatin1(const char * arg0, int size = -1)
static QString fromLocal8Bit(const char * arg0, int size)
static QString fromLocal8Bit(const char * arg0, int size = -1)
static QString fromRawData(const QChar * arg0, int size)
static QString fromStdString(const std::string & s)
static QString fromUcs4(const uint * arg0, int size)
static QString fromUcs4(const uint * arg0, int size = -1)
static QString fromUtf16(const ushort * arg0, int size)
static QString fromUtf16(const ushort * arg0, int size = -1)
static QString fromUtf8(const char * arg0, int size)
static QString fromUtf8(const char * arg0, int size = -1)
static QString fromWCharArray(const wchar_t * arg0, int size)
static QString fromWCharArray(const wchar_t * arg0, int size = -1)
int indexOf(const QRegExp & arg0, int from)
int indexOf(const QRegExp & arg0, int from = 0)
int indexOf(QRegExp & arg0, int from)
int indexOf(QRegExp & arg0, int from = 0)
int indexOf(QChar c, int from, Qt::CaseSensitivity cs)
int indexOf(QChar c, int from, Qt::CaseSensitivity cs = Qt::CaseSensitive)
int indexOf(QChar c, int from = 0, Qt::CaseSensitivity cs = Qt::CaseSensitive)
int indexOf(const QString & s, int from, Qt::CaseSensitivity cs)
int indexOf(const QString & s, int from, Qt::CaseSensitivity cs = Qt::CaseSensitive)
int indexOf(const QString & s, int from = 0, Qt::CaseSensitivity cs = Qt::CaseSensitive)
int indexOf(const QLatin1String & s, int from, Qt::CaseSensitivity cs)
int indexOf(const QLatin1String & s, int from, Qt::CaseSensitivity cs = Qt::CaseSensitive)
int indexOf(const QLatin1String & s, int from = 0, Qt::CaseSensitivity cs = Qt::CaseSensitive)
QString & insert(int i, QChar c)
QString & insert(int i, const QString & s)
QString & insert(int i, const QLatin1String & s)
QString & insert(int i, const QChar * uc, int len)
bool isDetached()
bool isEmpty()
bool isNull()
bool isRightToLeft()
bool isSharedWith(const QString & other)
bool isSimpleText()
int lastIndexOf(const QRegExp & arg0, int from)
int lastIndexOf(const QRegExp & arg0, int from = -1)
int lastIndexOf(QRegExp & arg0, int from)
int lastIndexOf(QRegExp & arg0, int from = -1)
int lastIndexOf(QChar c, int from, Qt::CaseSensitivity cs)
int lastIndexOf(QChar c, int from, Qt::CaseSensitivity cs = Qt::CaseSensitive)
int lastIndexOf(QChar c, int from = -1, Qt::CaseSensitivity cs = Qt::CaseSensitive)
int lastIndexOf(const QString & s, int from, Qt::CaseSensitivity cs)
int lastIndexOf(const QString & s, int from, Qt::CaseSensitivity cs = Qt::CaseSensitive)
int lastIndexOf(const QString & s, int from = -1, Qt::CaseSensitivity cs = Qt::CaseSensitive)
int lastIndexOf(const QLatin1String & s, int from, Qt::CaseSensitivity cs)
int lastIndexOf(const QLatin1String & s, int from, Qt::CaseSensitivity cs = Qt::CaseSensitive)
int lastIndexOf(const QLatin1String & s, int from = -1, Qt::CaseSensitivity cs = Qt::CaseSensitive)
QString left(int n)
QString leftJustified(int width, QChar fill, bool trunc)
QString leftJustified(int width, QChar fill, bool trunc = false)
QString leftJustified(int width, QChar fill = QLatin1Char(' '), bool trunc = false)
QStringRef leftRef(int n)
int length()
int localeAwareCompare(const QString & s)
int localeAwareCompare(const QStringRef & s)
static int localeAwareCompare(const QString & s1, const QString & s2)
static int localeAwareCompare(const QString & s1, const QStringRef & s2)
QString mid(int position, int n)
QString mid(int position, int n = -1)
QStringRef midRef(int position, int n)
QStringRef midRef(int position, int n = -1)
QString normalized(QString::NormalizationForm mode)
QString normalized(QString::NormalizationForm mode, QChar::UnicodeVersion version)
static QString number(int arg0, int base)
static QString number(int arg0, int base = 10)
static QString number(uint arg0, int base)
static QString number(uint arg0, int base = 10)
static QString number(long arg0, int base)
static QString number(long arg0, int base = 10)
static QString number(ulong arg0, int base)
static QString number(ulong arg0, int base = 10)
static QString number(qlonglong arg0, int base)
static QString number(qlonglong arg0, int base = 10)
static QString number(qulonglong arg0, int base)
static QString number(qulonglong arg0, int base = 10)
static QString number(double arg0, char f, int prec)
static QString number(double arg0, char f, int prec = 6)
static QString number(double arg0, char f = 'g', int prec = 6)
bool operator!=(const QString & s)
bool operator!=(const QLatin1String & s)
bool operator!=(const char * s)
bool operator!=(const QByteArray & s)
QString & operator+=(QChar c)
QString & operator+=(QChar::SpecialCharacter c)
QString & operator+=(const QString & s)
QString & operator+=(const QStringRef & s)
QString & operator+=(const QLatin1String & s)
QString & operator+=(const char * s)
QString & operator+=(const QByteArray & s)
QString & operator+=(char c)
bool operator<(const QString & s)
bool operator<(const QLatin1String & s)
bool operator<(const char * s)
bool operator<(const QByteArray & s)
bool operator<=(const QString & s)
bool operator<=(const QLatin1String & s)
bool operator<=(const char * s2)
bool operator<=(const QByteArray & s)
QString & operator=(QChar c)
QString & operator=(const QString & arg0)
QString & operator=(const QLatin1String & arg0)
QString & operator=(const char * ch)
QString & operator=(const QByteArray & a)
QString & operator=(char c)
QString & operator=(const QString::Null & arg0)
bool operator==(const QString & s)
bool operator==(const QLatin1String & s)
bool operator==(const char * s)
bool operator==(const QByteArray & s)
bool operator>(const QString & s)
bool operator>(const QLatin1String & s)
bool operator>(const char * s2)
bool operator>(const QByteArray & s)
bool operator>=(const QString & s)
bool operator>=(const QLatin1String & s)
bool operator>=(const char * s2)
bool operator>=(const QByteArray & s)
const QChar operator[](int i)
QCharRef operator[](int i)
const QChar operator[](uint i)
QCharRef operator[](uint i)
QString & prepend(QChar c)
QString & prepend(const QString & s)
QString & prepend(const QLatin1String & s)
QString & prepend(const char * s)
QString & prepend(const QByteArray & s)
void push_back(QChar c)
void push_back(const QString & s)
void push_front(QChar c)
void push_front(const QString & s)
QString & remove(const QRegExp & rx)
QString & remove(int i, int len)
QString & remove(QChar c, Qt::CaseSensitivity cs)
QString & remove(QChar c, Qt::CaseSensitivity cs = Qt::CaseSensitive)
QString & remove(const QString & s, Qt::CaseSensitivity cs)
QString & remove(const QString & s, Qt::CaseSensitivity cs = Qt::CaseSensitive)
QString repeated(int times)
QString & replace(const QRegExp & rx, const QString & after)
QString & replace(int i, int len, QChar after)
QString & replace(int i, int len, const QString & after)
QString & replace(QChar before, QChar after, Qt::CaseSensitivity cs)
QString & replace(QChar before, QChar after, Qt::CaseSensitivity cs = Qt::CaseSensitive)
QString & replace(const QLatin1String & before, const QLatin1String & after, Qt::CaseSensitivity cs)
QString & replace(const QLatin1String & before, const QLatin1String & after, Qt::CaseSensitivity cs = Qt::CaseSensitive)
QString & replace(const QLatin1String & before, const QString & after, Qt::CaseSensitivity cs)
QString & replace(const QLatin1String & before, const QString & after, Qt::CaseSensitivity cs = Qt::CaseSensitive)
QString & replace(const QString & before, const QLatin1String & after, Qt::CaseSensitivity cs)
QString & replace(const QString & before, const QLatin1String & after, Qt::CaseSensitivity cs = Qt::CaseSensitive)
QString & replace(const QString & before, const QString & after, Qt::CaseSensitivity cs)
QString & replace(const QString & before, const QString & after, Qt::CaseSensitivity cs = Qt::CaseSensitive)
QString & replace(QChar c, const QString & after, Qt::CaseSensitivity cs)
QString & replace(QChar c, const QString & after, Qt::CaseSensitivity cs = Qt::CaseSensitive)
QString & replace(QChar c, const QLatin1String & after, Qt::CaseSensitivity cs)
QString & replace(QChar c, const QLatin1String & after, Qt::CaseSensitivity cs = Qt::CaseSensitive)
QString & replace(int i, int len, const QChar * s, int slen)
QString & replace(const QChar * before, int blen, const QChar * after, int alen, Qt::CaseSensitivity cs)
QString & replace(const QChar * before, int blen, const QChar * after, int alen, Qt::CaseSensitivity cs = Qt::CaseSensitive)
void reserve(int size)
void resize(int size)
QString right(int n)
QString rightJustified(int width, QChar fill, bool trunc)
QString rightJustified(int width, QChar fill, bool trunc = false)
QString rightJustified(int width, QChar fill = QLatin1Char(' '), bool trunc = false)
QStringRef rightRef(int n)
QString section(QChar sep, int start, int end, QFlags<QString::SectionFlag> flags)
QString section(QChar sep, int start, int end, QFlags<QString::SectionFlag> flags = QString::SectionDefault)
QString section(QChar sep, int start, int end = -1, QFlags<QString::SectionFlag> flags = QString::SectionDefault)
QString section(const QString & in_sep, int start, int end, QFlags<QString::SectionFlag> flags)
QString section(const QString & in_sep, int start, int end, QFlags<QString::SectionFlag> flags = QString::SectionDefault)
QString section(const QString & in_sep, int start, int end = -1, QFlags<QString::SectionFlag> flags = QString::SectionDefault)
QString section(const QRegExp & reg, int start, int end, QFlags<QString::SectionFlag> flags)
QString section(const QRegExp & reg, int start, int end, QFlags<QString::SectionFlag> flags = QString::SectionDefault)
QString section(const QRegExp & reg, int start, int end = -1, QFlags<QString::SectionFlag> flags = QString::SectionDefault)
QString & setNum(short arg0, int base)
QString & setNum(short arg0, int base = 10)
QString & setNum(ushort arg0, int base)
QString & setNum(ushort arg0, int base = 10)
QString & setNum(int arg0, int base)
QString & setNum(int arg0, int base = 10)
QString & setNum(uint arg0, int base)
QString & setNum(uint arg0, int base = 10)
QString & setNum(long arg0, int base)
QString & setNum(long arg0, int base = 10)
QString & setNum(ulong arg0, int base)
QString & setNum(ulong arg0, int base = 10)
QString & setNum(qlonglong arg0, int base)
QString & setNum(qlonglong arg0, int base = 10)
QString & setNum(qulonglong arg0, int base)
QString & setNum(qulonglong arg0, int base = 10)
QString & setNum(float arg0, char f, int prec)
QString & setNum(float arg0, char f, int prec = 6)
QString & setNum(float arg0, char f = 'g', int prec = 6)
QString & setNum(double arg0, char f, int prec)
QString & setNum(double arg0, char f, int prec = 6)
QString & setNum(double arg0, char f = 'g', int prec = 6)
QString & setRawData(const QChar * unicode, int size)
QString & setUnicode(const QChar * unicode, int size)
QString & setUtf16(const ushort * utf16, int size)
QString simplified()
int size()
QStringList split(const QRegExp & sep, QString::SplitBehavior behavior)
QStringList split(const QRegExp & sep, QString::SplitBehavior behavior = QString::KeepEmptyParts)
QStringList split(const QString & sep, QString::SplitBehavior behavior, Qt::CaseSensitivity cs)
QStringList split(const QString & sep, QString::SplitBehavior behavior, Qt::CaseSensitivity cs = Qt::CaseSensitive)
QStringList split(const QString & sep, QString::SplitBehavior behavior = QString::KeepEmptyParts, Qt::CaseSensitivity cs = Qt::CaseSensitive)
QStringList split(const QChar & sep, QString::SplitBehavior behavior, Qt::CaseSensitivity cs)
QStringList split(const QChar & sep, QString::SplitBehavior behavior, Qt::CaseSensitivity cs = Qt::CaseSensitive)
QStringList split(const QChar & sep, QString::SplitBehavior behavior = QString::KeepEmptyParts, Qt::CaseSensitivity cs = Qt::CaseSensitive)
void squeeze()
bool startsWith(const QString & s, Qt::CaseSensitivity cs)
bool startsWith(const QString & s, Qt::CaseSensitivity cs = Qt::CaseSensitive)
bool startsWith(const QLatin1String & s, Qt::CaseSensitivity cs)
bool startsWith(const QLatin1String & s, Qt::CaseSensitivity cs = Qt::CaseSensitive)
bool startsWith(const QChar & c, Qt::CaseSensitivity cs)
bool startsWith(const QChar & c, Qt::CaseSensitivity cs = Qt::CaseSensitive)
QByteArray toAscii()
QString toCaseFolded()
double toDouble(bool * ok)
double toDouble(bool * ok = 0)
float toFloat(bool * ok)
float toFloat(bool * ok = 0)
int toInt(bool * ok, int base)
int toInt(bool * ok, int base = 10)
int toInt(bool * ok = 0, int base = 10)
QByteArray toLatin1()
QByteArray toLocal8Bit()
long toLong(bool * ok, int base)
long toLong(bool * ok, int base = 10)
long toLong(bool * ok = 0, int base = 10)
qlonglong toLongLong(bool * ok, int base)
qlonglong toLongLong(bool * ok, int base = 10)
qlonglong toLongLong(bool * ok = 0, int base = 10)
QString toLower()
short toShort(bool * ok, int base)
short toShort(bool * ok, int base = 10)
short toShort(bool * ok = 0, int base = 10)
std::string toStdString()
uint toUInt(bool * ok, int base)
uint toUInt(bool * ok, int base = 10)
uint toUInt(bool * ok = 0, int base = 10)
ulong toULong(bool * ok, int base)
ulong toULong(bool * ok, int base = 10)
ulong toULong(bool * ok = 0, int base = 10)
qulonglong toULongLong(bool * ok, int base)
qulonglong toULongLong(bool * ok, int base = 10)
qulonglong toULongLong(bool * ok = 0, int base = 10)
ushort toUShort(bool * ok, int base)
ushort toUShort(bool * ok, int base = 10)
ushort toUShort(bool * ok = 0, int base = 10)
QString toUpper()
QByteArray toUtf8()
int toWCharArray(wchar_t * array)
QString trimmed()
void truncate(int pos)
const QChar * unicode()
const ushort * utf16()

ENUM VALUES

SectionDefault
SectionSkipEmpty
SectionIncludeLeadingSep
SectionIncludeTrailingSep
SectionCaseInsensitiveSeps
KeepEmptyParts
SkipEmptyParts
NormalizationForm_D
NormalizationForm_C
NormalizationForm_KD
NormalizationForm_KC

EXPORT

None by default.

AUTHOR

Dongxu Ma <dongxu@cpan.org>

COPYRIGHT AND LICENSE

Copyright (C) 2011 - 2011 by Dongxu Ma

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

See http://dev.perl.org/licenses/artistic.html