- All Implemented Interfaces:
QtObjectInterface
,Appendable
,CharSequence
,Cloneable
,Comparable<Object>
Unicode character string
Java wrapper for Qt class QString
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic interface
Java wrapper for Qt callablestd::function<bool(QChar)>
static enum
Java wrapper for Qt enumQString::SectionFlag
static final class
QFlags
type for enumQString.SectionFlag
Nested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal QString
append
(char c) final QString
append
(char[] uc) final QString
append
(QByteArray s) final QString
final QString
append
(CharSequence csq, int start, int end) final QString
arg
(byte a) Overloaded function forarg(byte, int, char)
final QString
arg
(byte a, int fieldWidth) Overloaded function forarg(byte, int, char)
withfillChar = ' '
.final QString
arg
(byte a, int fieldWidth, char fillChar) final QString
arg
(char a) Overloaded function forarg(char, int, char)
final QString
arg
(char a, int fieldWidth) Overloaded function forarg(char, int, char)
withfillChar = ' '
.final QString
arg
(char a, int fieldWidth, char fillChar) final QString
arg
(double a) Overloaded function forarg(double, int, byte, int, char)
final QString
arg
(double a, int fieldWidth) Overloaded function forarg(double, int, byte, int, char)
final QString
arg
(double a, int fieldWidth, byte fmt) Overloaded function forarg(double, int, byte, int, char)
final QString
arg
(double a, int fieldWidth, byte fmt, int prec) Overloaded function forarg(double, int, byte, int, char)
withfillChar = ' '
.final QString
arg
(double a, int fieldWidth, byte fmt, int prec, char fillChar) final QString
arg
(int a) Overloaded function forarg(int, int, int, char)
final QString
arg
(int a, int fieldWidth) Overloaded function forarg(int, int, int, char)
final QString
arg
(int a, int fieldWidth, int base) Overloaded function forarg(int, int, int, char)
withfillChar = ' '
.final QString
arg
(int a, int fieldWidth, int base, char fillChar) final QString
arg
(long a) Overloaded function forarg(long, int, int, char)
final QString
arg
(long a, int fieldwidth) Overloaded function forarg(long, int, int, char)
final QString
arg
(long a, int fieldwidth, int base) Overloaded function forarg(long, int, int, char)
withfillChar = ' '
.final QString
arg
(long a, int fieldwidth, int base, char fillChar) final QString
arg
(short a) Overloaded function forarg(short, int, int, char)
final QString
arg
(short a, int fieldWidth) Overloaded function forarg(short, int, int, char)
final QString
arg
(short a, int fieldWidth, int base) Overloaded function forarg(short, int, int, char)
withfillChar = ' '
.final QString
arg
(short a, int fieldWidth, int base, char fillChar) final QString
arg
(CharSequence a) Overloaded function forarg(java.lang.CharSequence, int, char)
final QString
arg
(CharSequence a, int fieldWidth) Overloaded function forarg(java.lang.CharSequence, int, char)
withfillChar = ' '
.final QString
arg
(CharSequence a, int fieldWidth, char fillChar) final QString
final void
assign
(char c) final void
assign
(QByteArray a) final void
assign
(CharSequence arg__1) final void
final char
at
(int i) final char
back()
final int
capacity()
final char
charAt
(int index) final void
chop
(int n) final QString
chopped
(int n) final void
clear()
SeeQString::
clear() clone()
Creates and returns a copy of this object.final int
compare
(char ch) Overloaded function forcompare(char, io.qt.core.Qt.CaseSensitivity)
withcs = io.qt.core.Qt.CaseSensitivity.CaseSensitive
.final int
compare
(char ch, Qt.CaseSensitivity cs) final int
Overloaded function forcompare(java.lang.CharSequence, io.qt.core.Qt.CaseSensitivity)
withcs = io.qt.core.Qt.CaseSensitivity.CaseSensitive
.final int
static int
compare
(CharSequence s1, CharSequence s2) Overloaded function forcompare(java.lang.CharSequence, java.lang.CharSequence, io.qt.core.Qt.CaseSensitivity)
withcs = io.qt.core.Qt.CaseSensitivity.CaseSensitive
.static int
compare
(CharSequence s1, CharSequence s2, Qt.CaseSensitivity cs) final int
Overloaded function forcompare(java.lang.String, io.qt.core.Qt.CaseSensitivity)
withcs = io.qt.core.Qt.CaseSensitivity.CaseSensitive
.final int
compare
(String s, Qt.CaseSensitivity cs) int
Compares to other object depending on its type.final boolean
contains
(char c) Overloaded function forcontains(char, io.qt.core.Qt.CaseSensitivity)
withcs = io.qt.core.Qt.CaseSensitivity.CaseSensitive
.final boolean
contains
(char c, Qt.CaseSensitivity cs) final boolean
final boolean
contains
(QRegularExpression re, QRegularExpressionMatch rmatch) final boolean
Overloaded function forcontains(java.lang.CharSequence, io.qt.core.Qt.CaseSensitivity)
withcs = io.qt.core.Qt.CaseSensitivity.CaseSensitive
.final boolean
final boolean
final int
count()
final int
count
(char c) Overloaded function forcount(char, io.qt.core.Qt.CaseSensitivity)
withcs = io.qt.core.Qt.CaseSensitivity.CaseSensitive
.final int
count
(char c, Qt.CaseSensitivity cs) final int
final int
final int
Overloaded function forcount(java.lang.CharSequence, io.qt.core.Qt.CaseSensitivity)
withcs = io.qt.core.Qt.CaseSensitivity.CaseSensitive
.final int
count
(CharSequence s, Qt.CaseSensitivity cs) final void
detach()
SeeQString::
detach() final boolean
endsWith
(char c) Overloaded function forendsWith(char, io.qt.core.Qt.CaseSensitivity)
withcs = io.qt.core.Qt.CaseSensitivity.CaseSensitive
.final boolean
endsWith
(char c, Qt.CaseSensitivity cs) final boolean
Overloaded function forendsWith(java.lang.CharSequence, io.qt.core.Qt.CaseSensitivity)
withcs = io.qt.core.Qt.CaseSensitivity.CaseSensitive
.final boolean
boolean
Checks for equality depending on the type of given object.final QString
fill
(char c) Overloaded function forfill(char, int)
withsize = -1
.final QString
fill
(char c, int size) static QString
format
(CharSequence format, Object... args) Similar toString.format(String, Object...)
but usingarg(Object...)
.static QString
fromLatin1
(byte[] str) static QString
fromLatin1
(QByteArray str) static QString
fromLocal8Bit
(byte[] str) static QString
fromLocal8Bit
(QByteArray str) static QString
fromRawData
(char[] arg__1) static QString
fromUcs4
(int[] arg__1) static QString
fromUtf16
(short[] arg__1) static QString
fromUtf8
(byte[] str) static QString
fromUtf8
(QByteArray str) final char
front()
final char
get
(int i) int
hashCode()
Returns the objects's hash code computed byqHash(QString)
.final int
indexOf
(char c) Overloaded function forindexOf(char, int, io.qt.core.Qt.CaseSensitivity)
final int
indexOf
(char c, int from) Overloaded function forindexOf(char, int, io.qt.core.Qt.CaseSensitivity)
withcs = io.qt.core.Qt.CaseSensitivity.CaseSensitive
.final int
indexOf
(char c, int from, Qt.CaseSensitivity cs) final int
Overloaded function forindexOf(io.qt.core.QRegularExpression, int)
withfrom = 0
.final int
indexOf
(QRegularExpression re, int from) final int
indexOf
(QRegularExpression re, int from, QRegularExpressionMatch rmatch) final int
Overloaded function forindexOf(java.lang.CharSequence, int, io.qt.core.Qt.CaseSensitivity)
final int
indexOf
(CharSequence s, int from) Overloaded function forindexOf(java.lang.CharSequence, int, io.qt.core.Qt.CaseSensitivity)
withcs = io.qt.core.Qt.CaseSensitivity.CaseSensitive
.final int
indexOf
(CharSequence s, int from, Qt.CaseSensitivity cs) final int
Overloaded function forindexOf(io.qt.core.QRegExp, int)
withfrom = 0
.final int
final QString
insert
(int i, char c) final QString
insert
(int i, char[] uc) final QString
insert
(int i, QByteArray s) final QString
insert
(int i, CharSequence s) final boolean
SeeQString::
isDetached()const final boolean
isEmpty()
final boolean
isLower()
final boolean
isNull()
final boolean
final boolean
isSharedWith
(QString other) SeeQString::
isSharedWith(QString)const final boolean
SeeQString::
isSimpleText()const final boolean
isUpper()
final boolean
final int
lastIndexOf
(char c) Overloaded function forlastIndexOf(char, int, io.qt.core.Qt.CaseSensitivity)
final int
lastIndexOf
(char c, int from) Overloaded function forlastIndexOf(char, int, io.qt.core.Qt.CaseSensitivity)
withcs = io.qt.core.Qt.CaseSensitivity.CaseSensitive
.final int
lastIndexOf
(char c, int from, Qt.CaseSensitivity cs) final int
Overloaded function forlastIndexOf(io.qt.core.QRegularExpression, int)
withfrom = -1
.final int
lastIndexOf
(QRegularExpression re, int from) final int
lastIndexOf
(QRegularExpression re, int from, QRegularExpressionMatch rmatch) final int
Overloaded function forlastIndexOf(java.lang.CharSequence, int, io.qt.core.Qt.CaseSensitivity)
final int
lastIndexOf
(CharSequence s, int from) Overloaded function forlastIndexOf(java.lang.CharSequence, int, io.qt.core.Qt.CaseSensitivity)
withcs = io.qt.core.Qt.CaseSensitivity.CaseSensitive
.final int
lastIndexOf
(CharSequence s, int from, Qt.CaseSensitivity cs) final int
lastIndexOf
(QRegExp arg__1) Overloaded function forlastIndexOf(io.qt.core.QRegExp, int)
withfrom = -1
.final int
lastIndexOf
(QRegExp arg__1, int from) final QString
left
(int n) final QString
leftJustified
(int width) Overloaded function forleftJustified(int, char, boolean)
final QString
leftJustified
(int width, char fill) Overloaded function forleftJustified(int, char, boolean)
withtrunc = false
.final QString
leftJustified
(int width, char fill, boolean trunc) final int
length()
final int
static int
final QString
mid
(int position) Overloaded function formid(int, int)
withn = -1
.final QString
mid
(int position, int n) static QString
number
(double arg__1) Overloaded function fornumber(double, byte, int)
static QString
number
(double arg__1, byte f) Overloaded function fornumber(double, byte, int)
withprec = 6
.static QString
number
(double arg__1, byte f, int prec) static QString
number
(int arg__1) Overloaded function fornumber(int, int)
withbase = 10
.static QString
number
(int arg__1, int base) static QString
number
(long arg__1) Overloaded function fornumber(long, int)
withbase = 10
.static QString
number
(long arg__1, int base) final QString
plus
(byte c) Seeoperator+(QString,
char) final QString
plus
(char s2) Seeoperator+(QString,
QChar) final QString
plus
(QByteArray ba) Seeoperator+(QString,
QByteArray) final QString
plus
(CharSequence s2) Seeoperator+(QString,
QString) final QString
Seeoperator+(QString,
QStringRef) final QString
prepend
(char c) final QString
prepend
(char[] uc) final QString
final QString
void
readFrom
(QDataStream arg__1) Seeoperator>>(QDataStream&,
QString&) final QString
remove
(char c) Overloaded function forremove(char, io.qt.core.Qt.CaseSensitivity)
withcs = io.qt.core.Qt.CaseSensitivity.CaseSensitive
.final QString
remove
(char c, Qt.CaseSensitivity cs) final QString
remove
(int i, int len) final QString
final QString
final QString
Overloaded function forremove(java.lang.CharSequence, io.qt.core.Qt.CaseSensitivity)
withcs = io.qt.core.Qt.CaseSensitivity.CaseSensitive
.final QString
remove
(CharSequence s, Qt.CaseSensitivity cs) final QString
repeated
(int times) final QString
replace
(char[] before, char[] after) Overloaded function forreplace(char[], char[], io.qt.core.Qt.CaseSensitivity)
withcs = io.qt.core.Qt.CaseSensitivity.CaseSensitive
.final QString
replace
(char[] before, char[] after, Qt.CaseSensitivity cs) final QString
replace
(char before, char after) Overloaded function forreplace(char, char, io.qt.core.Qt.CaseSensitivity)
withcs = io.qt.core.Qt.CaseSensitivity.CaseSensitive
.final QString
replace
(char before, char after, Qt.CaseSensitivity cs) final QString
replace
(char c, CharSequence after) Overloaded function forreplace(char, java.lang.CharSequence, io.qt.core.Qt.CaseSensitivity)
withcs = io.qt.core.Qt.CaseSensitivity.CaseSensitive
.final QString
replace
(char c, CharSequence after, Qt.CaseSensitivity cs) final QString
replace
(int i, int len, char after) final QString
replace
(int i, int len, char[] s) final QString
replace
(int i, int len, CharSequence after) final QString
replace
(QRegExp rx, CharSequence after) final QString
replace
(QRegularExpression re, CharSequence after) final QString
replace
(CharSequence before, CharSequence after) Overloaded function forreplace(java.lang.CharSequence, java.lang.CharSequence, io.qt.core.Qt.CaseSensitivity)
withcs = io.qt.core.Qt.CaseSensitivity.CaseSensitive
.final QString
replace
(CharSequence before, CharSequence after, Qt.CaseSensitivity cs) final void
reserve
(int size) final void
resize
(int size) final void
resize
(int size, char fillChar) final QString
right
(int n) final QString
rightJustified
(int width) Overloaded function forrightJustified(int, char, boolean)
final QString
rightJustified
(int width, char fill) Overloaded function forrightJustified(int, char, boolean)
withtrunc = false
.final QString
rightJustified
(int width, char fill, boolean trunc) final QString
section
(char sep, int start) Overloaded function forsection(char, int, int, io.qt.core.QString.SectionFlags)
final QString
section
(char sep, int start, int end) Overloaded function forsection(char, int, int, io.qt.core.QString.SectionFlags)
withflags = new io.qt.core.QString.SectionFlags(0)
.final QString
section
(char sep, int start, int end, QString.SectionFlag ... flags) Overloaded function forsection(char, int, int, io.qt.core.QString.SectionFlags)
.final QString
section
(char sep, int start, int end, QString.SectionFlags flags) final QString
Overloaded function forsection(io.qt.core.QRegExp, int, int, io.qt.core.QString.SectionFlags)
final QString
Overloaded function forsection(io.qt.core.QRegExp, int, int, io.qt.core.QString.SectionFlags)
withflags = new io.qt.core.QString.SectionFlags(0)
.final QString
section
(QRegExp reg, int start, int end, QString.SectionFlag ... flags) Overloaded function forsection(io.qt.core.QRegExp, int, int, io.qt.core.QString.SectionFlags)
.final QString
section
(QRegExp reg, int start, int end, QString.SectionFlags flags) final QString
section
(QRegularExpression re, int start) Overloaded function forsection(io.qt.core.QRegularExpression, int, int, io.qt.core.QString.SectionFlags)
final QString
section
(QRegularExpression re, int start, int end) Overloaded function forsection(io.qt.core.QRegularExpression, int, int, io.qt.core.QString.SectionFlags)
withflags = new io.qt.core.QString.SectionFlags(0)
.final QString
section
(QRegularExpression re, int start, int end, QString.SectionFlag ... flags) Overloaded function forsection(io.qt.core.QRegularExpression, int, int, io.qt.core.QString.SectionFlags)
.final QString
section
(QRegularExpression re, int start, int end, QString.SectionFlags flags) final QString
section
(CharSequence in_sep, int start) Overloaded function forsection(java.lang.CharSequence, int, int, io.qt.core.QString.SectionFlags)
final QString
section
(CharSequence in_sep, int start, int end) Overloaded function forsection(java.lang.CharSequence, int, int, io.qt.core.QString.SectionFlags)
withflags = new io.qt.core.QString.SectionFlags(0)
.final QString
section
(CharSequence in_sep, int start, int end, QString.SectionFlag ... flags) Overloaded function forsection(java.lang.CharSequence, int, int, io.qt.core.QString.SectionFlags)
.final QString
section
(CharSequence in_sep, int start, int end, QString.SectionFlags flags) final void
set
(int i, char value) SeeQString::
operator[](int) final QString
setNum
(double arg__1) Overloaded function forsetNum(double, byte, int)
final QString
setNum
(double arg__1, byte f) Overloaded function forsetNum(double, byte, int)
withprec = 6
.final QString
setNum
(double arg__1, byte f, int prec) final QString
setNum
(float arg__1) Overloaded function forsetNum(float, byte, int)
final QString
setNum
(float arg__1, byte f) Overloaded function forsetNum(float, byte, int)
withprec = 6
.final QString
setNum
(float arg__1, byte f, int prec) final QString
setNum
(int arg__1) Overloaded function forsetNum(int, int)
withbase = 10
.final QString
setNum
(int arg__1, int base) final QString
setNum
(long arg__1) Overloaded function forsetNum(long, int)
withbase = 10
.final QString
setNum
(long arg__1, int base) final QString
setNum
(short arg__1) Overloaded function forsetNum(short, int)
withbase = 10
.final QString
setNum
(short arg__1, int base) final QString
setRawData
(char[] unicode) final QString
setUnicode
(char[] unicode) final QString
setUtf16
(short[] utf16) final void
final QString
final int
size()
final QStringList
split
(char sep) Overloaded function forsplit(char, io.qt.core.Qt.SplitBehavior, io.qt.core.Qt.CaseSensitivity)
final QStringList
split
(char sep, Qt.SplitBehavior behavior) Overloaded function forsplit(char, io.qt.core.Qt.SplitBehavior, io.qt.core.Qt.CaseSensitivity)
withcs = io.qt.core.Qt.CaseSensitivity.CaseSensitive
.final QStringList
split
(char sep, Qt.SplitBehavior behavior, Qt.CaseSensitivity cs) final QStringList
Overloaded function forsplit(io.qt.core.QRegExp, io.qt.core.Qt.SplitBehavior)
withbehavior = new io.qt.core.Qt.SplitBehavior(0)
.final QStringList
split
(QRegExp sep, Qt.SplitBehavior behavior) final QStringList
split
(QRegExp sep, Qt.SplitBehaviorFlags ... behavior) Overloaded function forsplit(io.qt.core.QRegExp, io.qt.core.Qt.SplitBehavior)
.final QStringList
split
(QRegularExpression sep) Overloaded function forsplit(io.qt.core.QRegularExpression, io.qt.core.Qt.SplitBehavior)
withbehavior = new io.qt.core.Qt.SplitBehavior(0)
.final QStringList
split
(QRegularExpression sep, Qt.SplitBehavior behavior) final QStringList
split
(QRegularExpression sep, Qt.SplitBehaviorFlags ... behavior) Overloaded function forsplit(io.qt.core.QRegularExpression, io.qt.core.Qt.SplitBehavior)
.final QStringList
split
(CharSequence sep) Overloaded function forsplit(java.lang.CharSequence, io.qt.core.Qt.SplitBehavior, io.qt.core.Qt.CaseSensitivity)
final QStringList
split
(CharSequence sep, Qt.SplitBehavior behavior) Overloaded function forsplit(java.lang.CharSequence, io.qt.core.Qt.SplitBehavior, io.qt.core.Qt.CaseSensitivity)
withcs = io.qt.core.Qt.CaseSensitivity.CaseSensitive
.final QStringList
split
(CharSequence sep, Qt.SplitBehavior behavior, Qt.CaseSensitivity cs) final void
squeeze()
final boolean
startsWith
(char c) Overloaded function forstartsWith(char, io.qt.core.Qt.CaseSensitivity)
withcs = io.qt.core.Qt.CaseSensitivity.CaseSensitive
.final boolean
startsWith
(char c, Qt.CaseSensitivity cs) final boolean
Overloaded function forstartsWith(java.lang.CharSequence, io.qt.core.Qt.CaseSensitivity)
withcs = io.qt.core.Qt.CaseSensitivity.CaseSensitive
.final boolean
final QString
subSequence
(int start, int end) final void
final QString
final double
toDouble()
final float
toFloat()
final QString
final int
toInt()
Overloaded function fortoInt(int)
withbase = 10
.final int
toInt
(int base) final QByteArray
toLatin1()
static QByteArray
toLatin1
(CharSequence string) Static version oftoLatin1()
final QByteArray
static QByteArray
toLocal8Bit
(CharSequence string) Static version oftoLocal8Bit()
final long
toLong()
Overloaded function fortoLong(int)
withbase = 10
.final long
toLong
(int base) final QString
toLower()
final short
toShort()
Overloaded function fortoShort(int)
withbase = 10
.final short
toShort
(int base) toString()
Returns the string representation of the object given byQVariant(this).toString()
.final QVector<@QtPrimitiveType Integer>
toUcs4()
final QString
toUpper()
final QByteArray
toUtf8()
static QByteArray
toUtf8
(CharSequence string) Static version oftoUtf8()
final QString
trimmed()
final void
truncate
(int pos) final char []
unicode()
final short []
utf16()
void
writeTo
(QDataStream arg__1) Seeoperator<<(QDataStream&,
QString) Methods inherited from class io.qt.QtObject
dispose, isDisposed
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.lang.CharSequence
chars, codePoints
-
Constructor Details
-
QString
public QString() -
QString
public QString(char c) -
QString
-
QString
public QString(char[] unicode) -
QString
-
QString
public QString(int size, char c)
-
-
Method Details
-
append
- Specified by:
append
in interfaceAppendable
-
append
-
append
-
append
- Specified by:
append
in interfaceAppendable
-
arg
-
arg
-
arg
-
arg
@QtUninvokable public final QString arg(double a, int fieldWidth, byte fmt, int prec, char fillChar) -
arg
-
arg
-
arg
-
at
-
back
-
capacity
-
chop
-
chopped
-
clear
See
QString::
clear() -
compare
-
compare
-
compare
-
contains
-
contains
-
contains
-
contains
-
contains
-
count
-
count
-
count
-
count
-
count
-
detach
See
QString::
detach() -
endsWith
-
endsWith
-
fill
-
front
-
indexOf
-
indexOf
-
indexOf
-
indexOf
@QtUninvokable public final int indexOf(QRegularExpression re, int from, QRegularExpressionMatch rmatch) -
indexOf
-
insert
-
insert
-
insert
-
insert
-
isDetached
See
QString::
isDetached()const -
isEmpty
- Specified by:
isEmpty
in interfaceCharSequence
-
isLower
-
isNull
-
isRightToLeft
-
isSimpleText
See
QString::
isSimpleText()const -
isUpper
-
isValidUtf16
-
lastIndexOf
-
lastIndexOf
-
lastIndexOf
-
lastIndexOf
@QtUninvokable public final int lastIndexOf(QRegularExpression re, int from, QRegularExpressionMatch rmatch) -
lastIndexOf
-
left
-
leftJustified
-
length
- Specified by:
length
in interfaceCharSequence
-
localeAwareCompare
-
mid
-
plus
See
operator+(QString,
QChar) -
plus
See
operator+(QString,
char) -
plus
See
operator+(QString,
QByteArray) -
plus
See
operator+(QString,
QString) -
plus
See
operator+(QString,
QStringRef) -
writeTo
See
operator<<(QDataStream&,
QString) -
assign
-
assign
-
assign
-
assign
-
readFrom
See
operator>>(QDataStream&,
QString&) -
get
-
set
See
QString::
operator[](int) -
prepend
-
prepend
-
prepend
-
prepend
-
remove
-
remove
-
remove
-
remove
-
remove
-
repeated
-
replace
-
replace
-
replace
-
replace
-
replace
-
replace
@QtUninvokable public final QString replace(CharSequence before, CharSequence after, Qt.CaseSensitivity cs) -
replace
-
replace
-
replace
-
reserve
-
resize
-
resize
-
right
-
rightJustified
-
section
@QtUninvokable public final QString section(char sep, int start, int end, QString.SectionFlags flags) -
section
@QtUninvokable public final QString section(QRegExp reg, int start, int end, QString.SectionFlags flags) -
section
@QtUninvokable public final QString section(QRegularExpression re, int start, int end, QString.SectionFlags flags) -
section
@QtUninvokable public final QString section(CharSequence in_sep, int start, int end, QString.SectionFlags flags) -
setNum
-
setNum
-
setNum
-
setNum
-
setNum
-
setRawData
-
setUnicode
-
setUtf16
-
shrink_to_fit
-
simplified
-
size
-
split
@QtUninvokable public final QStringList split(char sep, Qt.SplitBehavior behavior, Qt.CaseSensitivity cs) -
split
-
split
-
split
@QtUninvokable public final QStringList split(CharSequence sep, Qt.SplitBehavior behavior, Qt.CaseSensitivity cs) -
squeeze
-
startsWith
-
startsWith
-
swap
-
toCaseFolded
-
toDouble
- Throws:
NumberFormatException
-
toFloat
- Throws:
NumberFormatException
-
toHtmlEscaped
-
toInt
- Throws:
NumberFormatException
-
toLatin1
-
toLocal8Bit
-
toLong
- Throws:
NumberFormatException
-
toLower
-
toShort
- Throws:
NumberFormatException
-
toUcs4
-
toUpper
-
toUtf8
-
trimmed
-
truncate
-
unicode
-
utf16
-
compare
-
fromLatin1
-
fromLatin1
-
fromLocal8Bit
-
fromLocal8Bit
-
fromRawData
-
fromUcs4
-
fromUtf16
-
fromUtf8
-
fromUtf8
-
localeAwareCompare
-
number
-
number
-
number
-
equals
Checks for equality depending on the type of given object.
ckecked by toQByteArray
QString::
operator==(QByteArray)const
ckecked by toCharacter
operator==(QString,
QChar)
ckecked by toCharSequence
operator!=(QString,
QString)
-
compareTo
Compares to other object depending on its type.
compared byQByteArray
QString::
operator<(QByteArray)const
compared byCharacter
operator<(QString,
QChar)
compared byCharSequence
operator<(QString,
QString)
- Specified by:
compareTo
in interfaceComparable<Object>
-
hashCode
Returns the objects's hash code computed byqHash(QString)
. -
toString
Returns the string representation of the object given byQVariant(this).toString()
.- Specified by:
toString
in interfaceCharSequence
- Overrides:
toString
in classObject
-
charAt
- Specified by:
charAt
in interfaceCharSequence
-
subSequence
- Specified by:
subSequence
in interfaceCharSequence
-
append
- Specified by:
append
in interfaceAppendable
- Throws:
IOException
-
arg
-
format
Similar toString.format(String, Object...)
but usingarg(Object...)
.- Parameters:
format
- format stringargs
- arguments- Returns:
- formatted string
-
toUtf8
Static version oftoUtf8()
- Parameters:
string
-- Returns:
- utf8
-
toLatin1
Static version oftoLatin1()
- Parameters:
string
-- Returns:
- latin1
-
toLocal8Bit
Static version oftoLocal8Bit()
- Parameters:
string
-- Returns:
- local8Bit
-
clone
Creates and returns a copy of this object.
-
arg
Overloaded function for
arg(char, int, char)
withfillChar = ' '
. -
arg
-
arg
Overloaded function for
arg(byte, int, char)
withfillChar = ' '
. -
arg
-
arg
Overloaded function for
arg(java.lang.CharSequence, int, char)
withfillChar = ' '
. -
arg
-
arg
Overloaded function for
arg(double, int, byte, int, char)
withfillChar = ' '
. -
arg
-
arg
-
arg
Overloaded function for
arg(double, int, byte, int, char)
with:
fieldWidth = 0
fmt = 'g'
prec = -1
fillChar = ' '
-
arg
Overloaded function for
arg(int, int, int, char)
withfillChar = ' '
. -
arg
-
arg
-
arg
Overloaded function for
arg(long, int, int, char)
withfillChar = ' '
. -
arg
-
arg
-
arg
Overloaded function for
arg(short, int, int, char)
withfillChar = ' '
. -
arg
-
arg
-
compare
Overloaded function for
compare(char, io.qt.core.Qt.CaseSensitivity)
withcs = io.qt.core.Qt.CaseSensitivity.CaseSensitive
. -
compare
Overloaded function for
compare(java.lang.String, io.qt.core.Qt.CaseSensitivity)
withcs = io.qt.core.Qt.CaseSensitivity.CaseSensitive
. -
compare
Overloaded function for
compare(java.lang.CharSequence, io.qt.core.Qt.CaseSensitivity)
withcs = io.qt.core.Qt.CaseSensitivity.CaseSensitive
. -
contains
Overloaded function for
contains(char, io.qt.core.Qt.CaseSensitivity)
withcs = io.qt.core.Qt.CaseSensitivity.CaseSensitive
. -
contains
Overloaded function for
contains(java.lang.CharSequence, io.qt.core.Qt.CaseSensitivity)
withcs = io.qt.core.Qt.CaseSensitivity.CaseSensitive
. -
count
Overloaded function for
count(char, io.qt.core.Qt.CaseSensitivity)
withcs = io.qt.core.Qt.CaseSensitivity.CaseSensitive
. -
count
Overloaded function for
count(java.lang.CharSequence, io.qt.core.Qt.CaseSensitivity)
withcs = io.qt.core.Qt.CaseSensitivity.CaseSensitive
. -
endsWith
Overloaded function for
endsWith(char, io.qt.core.Qt.CaseSensitivity)
withcs = io.qt.core.Qt.CaseSensitivity.CaseSensitive
. -
endsWith
Overloaded function for
endsWith(java.lang.CharSequence, io.qt.core.Qt.CaseSensitivity)
withcs = io.qt.core.Qt.CaseSensitivity.CaseSensitive
. -
fill
Overloaded function for
fill(char, int)
withsize = -1
. -
indexOf
Overloaded function for
indexOf(char, int, io.qt.core.Qt.CaseSensitivity)
withcs = io.qt.core.Qt.CaseSensitivity.CaseSensitive
. -
indexOf
Overloaded function for
indexOf(char, int, io.qt.core.Qt.CaseSensitivity)
with:
from = 0
cs = io.qt.core.Qt.CaseSensitivity.CaseSensitive
-
indexOf
Overloaded function for
indexOf(io.qt.core.QRegExp, int)
withfrom = 0
. -
indexOf
Overloaded function for
indexOf(io.qt.core.QRegularExpression, int)
withfrom = 0
. -
indexOf
Overloaded function for
indexOf(java.lang.CharSequence, int, io.qt.core.Qt.CaseSensitivity)
withcs = io.qt.core.Qt.CaseSensitivity.CaseSensitive
. -
indexOf
Overloaded function for
indexOf(java.lang.CharSequence, int, io.qt.core.Qt.CaseSensitivity)
with:
from = 0
cs = io.qt.core.Qt.CaseSensitivity.CaseSensitive
-
lastIndexOf
Overloaded function for
lastIndexOf(char, int, io.qt.core.Qt.CaseSensitivity)
withcs = io.qt.core.Qt.CaseSensitivity.CaseSensitive
. -
lastIndexOf
Overloaded function for
lastIndexOf(char, int, io.qt.core.Qt.CaseSensitivity)
with:
from = -1
cs = io.qt.core.Qt.CaseSensitivity.CaseSensitive
-
lastIndexOf
Overloaded function for
lastIndexOf(io.qt.core.QRegExp, int)
withfrom = -1
. -
lastIndexOf
Overloaded function for
lastIndexOf(io.qt.core.QRegularExpression, int)
withfrom = -1
. -
lastIndexOf
Overloaded function for
lastIndexOf(java.lang.CharSequence, int, io.qt.core.Qt.CaseSensitivity)
withcs = io.qt.core.Qt.CaseSensitivity.CaseSensitive
. -
lastIndexOf
Overloaded function for
lastIndexOf(java.lang.CharSequence, int, io.qt.core.Qt.CaseSensitivity)
with:
from = -1
cs = io.qt.core.Qt.CaseSensitivity.CaseSensitive
-
leftJustified
Overloaded function for
leftJustified(int, char, boolean)
withtrunc = false
. -
leftJustified
-
mid
Overloaded function for
mid(int, int)
withn = -1
. -
remove
Overloaded function for
remove(char, io.qt.core.Qt.CaseSensitivity)
withcs = io.qt.core.Qt.CaseSensitivity.CaseSensitive
. -
remove
Overloaded function for
remove(java.lang.CharSequence, io.qt.core.Qt.CaseSensitivity)
withcs = io.qt.core.Qt.CaseSensitivity.CaseSensitive
. -
replace
Overloaded function for
replace(char, char, io.qt.core.Qt.CaseSensitivity)
withcs = io.qt.core.Qt.CaseSensitivity.CaseSensitive
. -
replace
Overloaded function for
replace(char, java.lang.CharSequence, io.qt.core.Qt.CaseSensitivity)
withcs = io.qt.core.Qt.CaseSensitivity.CaseSensitive
. -
replace
Overloaded function for
replace(char[], char[], io.qt.core.Qt.CaseSensitivity)
withcs = io.qt.core.Qt.CaseSensitivity.CaseSensitive
. -
replace
Overloaded function for
replace(java.lang.CharSequence, java.lang.CharSequence, io.qt.core.Qt.CaseSensitivity)
withcs = io.qt.core.Qt.CaseSensitivity.CaseSensitive
. -
rightJustified
Overloaded function for
rightJustified(int, char, boolean)
withtrunc = false
. -
rightJustified
-
section
Overloaded function for
section(char, int, int, io.qt.core.QString.SectionFlags)
withflags = new io.qt.core.QString.SectionFlags(0)
. -
section
Overloaded function for
section(char, int, int, io.qt.core.QString.SectionFlags)
with:
end = -1
flags = new io.qt.core.QString.SectionFlags(0)
-
section
@QtUninvokable public final QString section(char sep, int start, int end, QString.SectionFlag ... flags) Overloaded function for
section(char, int, int, io.qt.core.QString.SectionFlags)
. -
section
Overloaded function for
section(io.qt.core.QRegExp, int, int, io.qt.core.QString.SectionFlags)
withflags = new io.qt.core.QString.SectionFlags(0)
. -
section
Overloaded function for
section(io.qt.core.QRegExp, int, int, io.qt.core.QString.SectionFlags)
with:
end = -1
flags = new io.qt.core.QString.SectionFlags(0)
-
section
@QtUninvokable public final QString section(QRegExp reg, int start, int end, QString.SectionFlag ... flags) Overloaded function for
section(io.qt.core.QRegExp, int, int, io.qt.core.QString.SectionFlags)
. -
section
Overloaded function for
section(io.qt.core.QRegularExpression, int, int, io.qt.core.QString.SectionFlags)
withflags = new io.qt.core.QString.SectionFlags(0)
. -
section
Overloaded function for
section(io.qt.core.QRegularExpression, int, int, io.qt.core.QString.SectionFlags)
with:
end = -1
flags = new io.qt.core.QString.SectionFlags(0)
-
section
@QtUninvokable public final QString section(QRegularExpression re, int start, int end, QString.SectionFlag ... flags) Overloaded function for
section(io.qt.core.QRegularExpression, int, int, io.qt.core.QString.SectionFlags)
. -
section
Overloaded function for
section(java.lang.CharSequence, int, int, io.qt.core.QString.SectionFlags)
withflags = new io.qt.core.QString.SectionFlags(0)
. -
section
Overloaded function for
section(java.lang.CharSequence, int, int, io.qt.core.QString.SectionFlags)
with:
end = -1
flags = new io.qt.core.QString.SectionFlags(0)
-
section
@QtUninvokable public final QString section(CharSequence in_sep, int start, int end, QString.SectionFlag ... flags) Overloaded function for
section(java.lang.CharSequence, int, int, io.qt.core.QString.SectionFlags)
. -
setNum
Overloaded function for
setNum(double, byte, int)
withprec = 6
. -
setNum
-
setNum
Overloaded function for
setNum(float, byte, int)
withprec = 6
. -
setNum
-
setNum
Overloaded function for
setNum(int, int)
withbase = 10
. -
setNum
Overloaded function for
setNum(long, int)
withbase = 10
. -
setNum
Overloaded function for
setNum(short, int)
withbase = 10
. -
split
Overloaded function for
split(char, io.qt.core.Qt.SplitBehavior, io.qt.core.Qt.CaseSensitivity)
withcs = io.qt.core.Qt.CaseSensitivity.CaseSensitive
. -
split
Overloaded function for
split(char, io.qt.core.Qt.SplitBehavior, io.qt.core.Qt.CaseSensitivity)
with:
behavior = new io.qt.core.Qt.SplitBehavior(0)
cs = io.qt.core.Qt.CaseSensitivity.CaseSensitive
-
split
Overloaded function for
split(io.qt.core.QRegExp, io.qt.core.Qt.SplitBehavior)
withbehavior = new io.qt.core.Qt.SplitBehavior(0)
. -
split
Overloaded function for
split(io.qt.core.QRegExp, io.qt.core.Qt.SplitBehavior)
. -
split
Overloaded function for
split(io.qt.core.QRegularExpression, io.qt.core.Qt.SplitBehavior)
withbehavior = new io.qt.core.Qt.SplitBehavior(0)
. -
split
@QtUninvokable public final QStringList split(QRegularExpression sep, Qt.SplitBehaviorFlags ... behavior) Overloaded function for
split(io.qt.core.QRegularExpression, io.qt.core.Qt.SplitBehavior)
. -
split
Overloaded function for
split(java.lang.CharSequence, io.qt.core.Qt.SplitBehavior, io.qt.core.Qt.CaseSensitivity)
withcs = io.qt.core.Qt.CaseSensitivity.CaseSensitive
. -
split
Overloaded function for
split(java.lang.CharSequence, io.qt.core.Qt.SplitBehavior, io.qt.core.Qt.CaseSensitivity)
with:
behavior = new io.qt.core.Qt.SplitBehavior(0)
cs = io.qt.core.Qt.CaseSensitivity.CaseSensitive
-
startsWith
Overloaded function for
startsWith(char, io.qt.core.Qt.CaseSensitivity)
withcs = io.qt.core.Qt.CaseSensitivity.CaseSensitive
. -
startsWith
Overloaded function for
startsWith(java.lang.CharSequence, io.qt.core.Qt.CaseSensitivity)
withcs = io.qt.core.Qt.CaseSensitivity.CaseSensitive
. -
toInt
Overloaded function for
toInt(int)
withbase = 10
.- Throws:
NumberFormatException
-
toLong
Overloaded function for
toLong(int)
withbase = 10
.- Throws:
NumberFormatException
-
toShort
Overloaded function for
toShort(int)
withbase = 10
.- Throws:
NumberFormatException
-
compare
Overloaded function for
compare(java.lang.CharSequence, java.lang.CharSequence, io.qt.core.Qt.CaseSensitivity)
withcs = io.qt.core.Qt.CaseSensitivity.CaseSensitive
. -
number
Overloaded function for
number(double, byte, int)
withprec = 6
. -
number
-
number
Overloaded function for
number(int, int)
withbase = 10
. -
number
Overloaded function for
number(long, int)
withbase = 10
.
-