- All Implemented Interfaces:
QtObjectInterface
,Appendable
,CharSequence
,Cloneable
,Comparable<Object>
Unicode character string
Java wrapper for Qt's class QString
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Java wrapper for Qt enum QString::SectionFlagstatic 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 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()
See QString::clear()clone()
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
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
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 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()
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
Used to check if this object shares the same native counterpart with the other object, i.e. the objects are equals if their native counterparts are identical.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()
int
hashCode()
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.QRegExp, int)
withfrom = 0
.final int
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 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
final boolean
isEmpty()
final boolean
isLower()
final boolean
isNull()
final boolean
final boolean
isSharedWith
(QString other) final boolean
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
lastIndexOf
(QRegExp arg__1) Overloaded function forlastIndexOf(io.qt.core.QRegExp, int)
withfrom = -1
.final int
lastIndexOf
(QRegExp arg__1, int from) 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 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
prepend
(char c) final QString
prepend
(char[] uc) final QString
final QString
void
readFrom
(QDataStream arg__1) 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 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()
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) 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) -
QString
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
append
- Specified by:
append
in interfaceAppendable
-
append
-
append
-
append
- Specified by:
append
in interfaceAppendable
-
arg
Overloaded function for
arg(char, int, char)
withfillChar = ' '
. -
arg
-
arg
-
arg
Overloaded function for
arg(byte, int, char)
withfillChar = ' '
. -
arg
-
arg
-
arg
Overloaded function for
arg(java.lang.CharSequence, int, char)
withfillChar = ' '
. -
arg
-
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
@QtUninvokable public final QString arg(double a, int fieldWidth, byte fmt, int prec, char fillChar) -
arg
Overloaded function for
arg(int, int, int, char)
withfillChar = ' '
. -
arg
-
arg
-
arg
-
arg
Overloaded function for
arg(long, int, int, char)
withfillChar = ' '
. -
arg
-
arg
-
arg
-
arg
Overloaded function for
arg(short, int, int, char)
withfillChar = ' '
. -
arg
-
arg
-
arg
-
at
-
back
-
capacity
-
chop
-
chopped
-
clear
See QString::clear()
-
compare
Overloaded function for
compare(char, io.qt.core.Qt.CaseSensitivity)
withcs = io.qt.core.Qt.CaseSensitivity.CaseSensitive
. -
compare
-
compare
Overloaded function for
compare(java.lang.String, io.qt.core.Qt.CaseSensitivity)
withcs = io.qt.core.Qt.CaseSensitivity.CaseSensitive
. -
compare
-
compare
Overloaded function for
compare(java.lang.CharSequence, io.qt.core.Qt.CaseSensitivity)
withcs = io.qt.core.Qt.CaseSensitivity.CaseSensitive
. -
compare
-
contains
Overloaded function for
contains(char, io.qt.core.Qt.CaseSensitivity)
withcs = io.qt.core.Qt.CaseSensitivity.CaseSensitive
. -
contains
-
contains
-
contains
-
contains
-
contains
Overloaded function for
contains(java.lang.CharSequence, io.qt.core.Qt.CaseSensitivity)
withcs = io.qt.core.Qt.CaseSensitivity.CaseSensitive
. -
contains
-
count
-
count
Overloaded function for
count(char, io.qt.core.Qt.CaseSensitivity)
withcs = io.qt.core.Qt.CaseSensitivity.CaseSensitive
. -
count
-
count
-
count
-
count
Overloaded function for
count(java.lang.CharSequence, io.qt.core.Qt.CaseSensitivity)
withcs = io.qt.core.Qt.CaseSensitivity.CaseSensitive
. -
count
-
detach
-
endsWith
Overloaded function for
endsWith(char, io.qt.core.Qt.CaseSensitivity)
withcs = io.qt.core.Qt.CaseSensitivity.CaseSensitive
. -
endsWith
-
endsWith
Overloaded function for
endsWith(java.lang.CharSequence, io.qt.core.Qt.CaseSensitivity)
withcs = io.qt.core.Qt.CaseSensitivity.CaseSensitive
. -
endsWith
-
fill
Overloaded function for
fill(char, int)
withsize = -1
. -
fill
-
front
-
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
-
indexOf
Overloaded function for
indexOf(io.qt.core.QRegExp, int)
withfrom = 0
. -
indexOf
-
indexOf
Overloaded function for
indexOf(io.qt.core.QRegularExpression, int)
withfrom = 0
. -
indexOf
-
indexOf
@QtUninvokable public final int indexOf(QRegularExpression re, int from, QRegularExpressionMatch rmatch) -
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
-
indexOf
-
insert
-
insert
-
insert
-
insert
-
isDetached
-
isEmpty
- Specified by:
isEmpty
in interfaceCharSequence
-
isLower
-
isNull
-
isRightToLeft
-
isSimpleText
-
isUpper
-
isValidUtf16
-
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
-
lastIndexOf
Overloaded function for
lastIndexOf(io.qt.core.QRegExp, int)
withfrom = -1
. -
lastIndexOf
-
lastIndexOf
Overloaded function for
lastIndexOf(io.qt.core.QRegularExpression, int)
withfrom = -1
. -
lastIndexOf
-
lastIndexOf
@QtUninvokable public final int lastIndexOf(QRegularExpression re, int from, QRegularExpressionMatch rmatch) -
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
-
lastIndexOf
-
left
-
leftJustified
Overloaded function for
leftJustified(int, char, boolean)
withtrunc = false
. -
leftJustified
-
leftJustified
-
length
- Specified by:
length
in interfaceCharSequence
-
localeAwareCompare
-
mid
Overloaded function for
mid(int, int)
withn = -1
. -
mid
-
writeTo
-
readFrom
-
prepend
-
prepend
-
prepend
-
prepend
-
remove
Overloaded function for
remove(char, io.qt.core.Qt.CaseSensitivity)
withcs = io.qt.core.Qt.CaseSensitivity.CaseSensitive
. -
remove
-
remove
-
remove
-
remove
Overloaded function for
remove(java.lang.CharSequence, io.qt.core.Qt.CaseSensitivity)
withcs = io.qt.core.Qt.CaseSensitivity.CaseSensitive
. -
remove
-
remove
-
repeated
-
replace
Overloaded function for
replace(char, char, io.qt.core.Qt.CaseSensitivity)
withcs = io.qt.core.Qt.CaseSensitivity.CaseSensitive
. -
replace
-
replace
Overloaded function for
replace(char, java.lang.CharSequence, io.qt.core.Qt.CaseSensitivity)
withcs = io.qt.core.Qt.CaseSensitivity.CaseSensitive
. -
replace
-
replace
Overloaded function for
replace(char[], char[], io.qt.core.Qt.CaseSensitivity)
withcs = io.qt.core.Qt.CaseSensitivity.CaseSensitive
. -
replace
-
replace
-
replace
-
replace
Overloaded function for
replace(java.lang.CharSequence, java.lang.CharSequence, io.qt.core.Qt.CaseSensitivity)
withcs = io.qt.core.Qt.CaseSensitivity.CaseSensitive
. -
replace
@QtUninvokable public final QString replace(CharSequence before, CharSequence after, Qt.CaseSensitivity cs) -
replace
-
replace
-
replace
-
reserve
-
resize
-
resize
-
right
-
rightJustified
Overloaded function for
rightJustified(int, char, boolean)
withtrunc = false
. -
rightJustified
-
rightJustified
-
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(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.SectionFlags flags) -
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.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.SectionFlags flags) -
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(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.SectionFlags flags) -
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)
. -
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.SectionFlags flags) -
setNum
Overloaded function for
setNum(double, byte, int)
withprec = 6
. -
setNum
-
setNum
-
setNum
Overloaded function for
setNum(float, byte, int)
withprec = 6
. -
setNum
-
setNum
-
setNum
Overloaded function for
setNum(int, int)
withbase = 10
. -
setNum
-
setNum
Overloaded function for
setNum(long, int)
withbase = 10
. -
setNum
-
setNum
Overloaded function for
setNum(short, int)
withbase = 10
. -
setNum
-
setRawData
-
setUnicode
-
setUtf16
-
shrink_to_fit
-
simplified
-
size
-
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
@QtUninvokable public final QStringList split(char sep, Qt.SplitBehavior behavior, Qt.CaseSensitivity cs) -
split
Overloaded function for
split(io.qt.core.QRegExp, io.qt.core.Qt.SplitBehavior)
. -
split
Overloaded function for
split(io.qt.core.QRegExp, io.qt.core.Qt.SplitBehavior)
withbehavior = new io.qt.core.Qt.SplitBehavior(0)
. -
split
-
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(io.qt.core.QRegularExpression, io.qt.core.Qt.SplitBehavior)
withbehavior = new io.qt.core.Qt.SplitBehavior(0)
. -
split
-
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
-
split
@QtUninvokable public final QStringList split(CharSequence sep, Qt.SplitBehavior behavior, Qt.CaseSensitivity cs) -
squeeze
-
startsWith
Overloaded function for
startsWith(char, io.qt.core.Qt.CaseSensitivity)
withcs = io.qt.core.Qt.CaseSensitivity.CaseSensitive
. -
startsWith
-
startsWith
Overloaded function for
startsWith(java.lang.CharSequence, io.qt.core.Qt.CaseSensitivity)
withcs = io.qt.core.Qt.CaseSensitivity.CaseSensitive
. -
startsWith
-
swap
-
toCaseFolded
-
toDouble
- Throws:
NumberFormatException
-
toFloat
- Throws:
NumberFormatException
-
toHtmlEscaped
-
toInt
Overloaded function for
toInt(int)
withbase = 10
.- Throws:
NumberFormatException
-
toInt
- Throws:
NumberFormatException
-
toLatin1
-
toLocal8Bit
-
toLong
Overloaded function for
toLong(int)
withbase = 10
.- Throws:
NumberFormatException
-
toLong
- Throws:
NumberFormatException
-
toLower
-
toShort
Overloaded function for
toShort(int)
withbase = 10
.- Throws:
NumberFormatException
-
toShort
- Throws:
NumberFormatException
-
toUcs4
-
toUpper
-
toUtf8
-
trimmed
-
truncate
-
unicode
-
utf16
-
compare
Overloaded function for
compare(java.lang.CharSequence, java.lang.CharSequence, io.qt.core.Qt.CaseSensitivity)
withcs = io.qt.core.Qt.CaseSensitivity.CaseSensitive
. -
compare
-
fromLatin1
-
fromLatin1
-
fromLocal8Bit
-
fromLocal8Bit
-
fromRawData
-
fromUcs4
-
fromUtf16
-
fromUtf8
-
fromUtf8
-
localeAwareCompare
-
number
Overloaded function for
number(double, byte, int)
withprec = 6
. -
number
-
number
-
number
Overloaded function for
number(int, int)
withbase = 10
. -
number
-
number
Overloaded function for
number(long, int)
withbase = 10
. -
number
-
equals
Description copied from class:QtObject
Used to check if this object shares the same native counterpart with the other object, i.e. the objects are equals if their native counterparts are identical. Qt value types override this method to make a value comparison. Otherwise it will return the result of calling the super class implementation. -
compareTo
- Specified by:
compareTo
in interfaceComparable<Object>
-
hashCode
-
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
-