- 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 interface
Java wrapper for Qt function pointer std::function<bool(QChar)>static 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 format) Overloaded function forarg(double, int, byte, int, char)
final QString
arg
(double a, int fieldWidth, byte format, int precision) Overloaded function forarg(double, int, byte, int, char)
withfillChar = ' '
.final QString
arg
(double a, int fieldWidth, byte format, int precision, 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
(long i) final char
back()
final long
capacity()
final char
charAt
(int index) final void
chop
(long n) final QString
chopped
(long 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) 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
Overloaded function forcontains(io.qt.core.QRegularExpression, io.qt.core.QRegularExpressionMatch)
withrmatch = null
.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 long
count()
final long
count
(char c) Overloaded function forcount(char, io.qt.core.Qt.CaseSensitivity)
withcs = io.qt.core.Qt.CaseSensitivity.CaseSensitive
.final long
count
(char c, Qt.CaseSensitivity cs) final long
final long
Overloaded function forcount(java.lang.CharSequence, io.qt.core.Qt.CaseSensitivity)
withcs = io.qt.core.Qt.CaseSensitivity.CaseSensitive
.final long
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, long)
withsize = -1
.final QString
fill
(char c, long size) final QString
first
(long n) static QString
format
(CharSequence format, Object... args) Similar toString.format(String, Object...)
but usingarg(Object...)
.static QString
fromLatin1
(byte[] str) static QString
fromLatin1
(QByteArray ba) static QString
static QString
fromLocal8Bit
(byte[] str) static QString
static QString
static QString
fromRawData
(char[] arg__1) static QString
fromUcs4
(int[] arg__1) static QString
fromUtf16
(char[] arg__1) static QString
fromUtf16
(short[] str) Deprecated.Use char16_t* overload.static QString
fromUtf8
(byte[] utf8) static QString
fromUtf8
(QByteArray ba) static QString
fromUtf8
(QByteArrayView utf8) final char
front()
final char
get
(long i) int
hashCode()
final long
indexOf
(char c) Overloaded function forindexOf(char, long, io.qt.core.Qt.CaseSensitivity)
final long
indexOf
(char c, long from) Overloaded function forindexOf(char, long, io.qt.core.Qt.CaseSensitivity)
withcs = io.qt.core.Qt.CaseSensitivity.CaseSensitive
.final long
indexOf
(char c, long from, Qt.CaseSensitivity cs) final long
Overloaded function forindexOf(io.qt.core.QRegularExpression, long, io.qt.core.QRegularExpressionMatch)
final long
indexOf
(QRegularExpression re, long from) Overloaded function forindexOf(io.qt.core.QRegularExpression, long, io.qt.core.QRegularExpressionMatch)
withrmatch = null
.final long
indexOf
(QRegularExpression re, long from, QRegularExpressionMatch rmatch) final long
Overloaded function forindexOf(java.lang.CharSequence, long, io.qt.core.Qt.CaseSensitivity)
final long
indexOf
(CharSequence s, long from) Overloaded function forindexOf(java.lang.CharSequence, long, io.qt.core.Qt.CaseSensitivity)
withcs = io.qt.core.Qt.CaseSensitivity.CaseSensitive
.final long
indexOf
(CharSequence s, long from, Qt.CaseSensitivity cs) final QString
insert
(long i, char c) final QString
insert
(long i, char[] uc) final QString
insert
(long i, QByteArray s) final QString
insert
(long 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 QString
last
(long n) final long
lastIndexOf
(char c) Overloaded function forlastIndexOf(char, long, io.qt.core.Qt.CaseSensitivity)
final long
lastIndexOf
(char c, long from) Overloaded function forlastIndexOf(char, long, io.qt.core.Qt.CaseSensitivity)
withcs = io.qt.core.Qt.CaseSensitivity.CaseSensitive
.final long
lastIndexOf
(char c, long from, Qt.CaseSensitivity cs) final long
lastIndexOf
(QRegularExpression re, long from) Overloaded function forlastIndexOf(io.qt.core.QRegularExpression, long, io.qt.core.QRegularExpressionMatch)
withrmatch = null
.final long
lastIndexOf
(QRegularExpression re, long from, QRegularExpressionMatch rmatch) final long
Overloaded function forlastIndexOf(java.lang.CharSequence, io.qt.core.Qt.CaseSensitivity)
withcs = io.qt.core.Qt.CaseSensitivity.CaseSensitive
.final long
lastIndexOf
(CharSequence s, long from) Overloaded function forlastIndexOf(java.lang.CharSequence, long, io.qt.core.Qt.CaseSensitivity)
withcs = io.qt.core.Qt.CaseSensitivity.CaseSensitive
.final long
lastIndexOf
(CharSequence s, long from, Qt.CaseSensitivity cs) final long
final QString
left
(long n) final QString
leftJustified
(long width) Overloaded function forleftJustified(long, char, boolean)
final QString
leftJustified
(long width, char fill) Overloaded function forleftJustified(long, char, boolean)
withtrunc = false
.final QString
leftJustified
(long width, char fill, boolean trunc) final int
length()
final int
static int
final QString
mid
(long position) Overloaded function formid(long, long)
withn = -1
.final QString
mid
(long position, long n) static QString
number
(double arg__1) Overloaded function fornumber(double, byte, int)
static QString
number
(double arg__1, byte format) Overloaded function fornumber(double, byte, int)
withprecision = 6
.static QString
number
(double arg__1, byte format, int precision) 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
(char s2) final QString
plus
(QByteArray ba) final QString
plus
(CharSequence s2) 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
(long i, long len) 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
removeIf
(QString.Predicate pred) final QString
repeated
(long 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
(long i, long len, char after) final QString
replace
(long i, long len, char[] s) final QString
replace
(long i, long len, 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
(long size) final void
resize
(long size) final void
resize
(long size, char fillChar) final QString
right
(long n) final QString
rightJustified
(long width) Overloaded function forrightJustified(long, char, boolean)
final QString
rightJustified
(long width, char fill) Overloaded function forrightJustified(long, char, boolean)
withtrunc = false
.final QString
rightJustified
(long width, char fill, boolean trunc) final QString
section
(char sep, long start) Overloaded function forsection(char, long, long, io.qt.core.QString.SectionFlags)
final QString
section
(char sep, long start, long end) Overloaded function forsection(char, long, long, io.qt.core.QString.SectionFlags)
withflags = new io.qt.core.QString.SectionFlags(0)
.final QString
section
(char sep, long start, long end, QString.SectionFlag ... flags) Overloaded function forsection(char, long, long, io.qt.core.QString.SectionFlags)
.final QString
section
(char sep, long start, long end, QString.SectionFlags flags) final QString
section
(QRegularExpression re, long start) Overloaded function forsection(io.qt.core.QRegularExpression, long, long, io.qt.core.QString.SectionFlags)
final QString
section
(QRegularExpression re, long start, long end) Overloaded function forsection(io.qt.core.QRegularExpression, long, long, io.qt.core.QString.SectionFlags)
withflags = new io.qt.core.QString.SectionFlags(0)
.final QString
section
(QRegularExpression re, long start, long end, QString.SectionFlag ... flags) Overloaded function forsection(io.qt.core.QRegularExpression, long, long, io.qt.core.QString.SectionFlags)
.final QString
section
(QRegularExpression re, long start, long end, QString.SectionFlags flags) final QString
section
(CharSequence in_sep, long start) Overloaded function forsection(java.lang.CharSequence, long, long, io.qt.core.QString.SectionFlags)
final QString
section
(CharSequence in_sep, long start, long end) Overloaded function forsection(java.lang.CharSequence, long, long, io.qt.core.QString.SectionFlags)
withflags = new io.qt.core.QString.SectionFlags(0)
.final QString
section
(CharSequence in_sep, long start, long end, QString.SectionFlag ... flags) Overloaded function forsection(java.lang.CharSequence, long, long, io.qt.core.QString.SectionFlags)
.final QString
section
(CharSequence in_sep, long start, long end, QString.SectionFlags flags) final void
set
(long i, char value) final QString
setNum
(double arg__1) Overloaded function forsetNum(double, byte, int)
final QString
setNum
(double arg__1, byte format) Overloaded function forsetNum(double, byte, int)
withprecision = 6
.final QString
setNum
(double arg__1, byte format, int precision) final QString
setNum
(float arg__1) Overloaded function forsetNum(float, byte, int)
final QString
setNum
(float arg__1, byte format) Overloaded function forsetNum(float, byte, int)
withprecision = 6
.final QString
setNum
(float arg__1, byte format, int precision) 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 long
size()
final QString
sliced
(long pos) final QString
sliced
(long pos, long n) 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
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()
final QList<@QtPrimitiveType Integer>
toUcs4()
final QString
toUpper()
final QByteArray
toUtf8()
static QByteArray
toUtf8
(CharSequence string) Static version oftoUtf8()
final QString
trimmed()
final void
truncate
(long 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(long 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
Overloaded function for
arg(double, int, byte, int, char)
with:
format = 'g'
precision = -1
fillChar = ' '
-
arg
Overloaded function for
arg(double, int, byte, int, char)
with:
fieldWidth = 0
format = 'g'
precision = -1
fillChar = ' '
-
arg
@QtUninvokable public final QString arg(double a, int fieldWidth, byte format, int precision, 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.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
Overloaded function for
contains(io.qt.core.QRegularExpression, io.qt.core.QRegularExpressionMatch)
withrmatch = null
. -
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
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, long)
withsize = -1
. -
fill
-
first
-
front
-
indexOf
Overloaded function for
indexOf(char, long, io.qt.core.Qt.CaseSensitivity)
withcs = io.qt.core.Qt.CaseSensitivity.CaseSensitive
. -
indexOf
Overloaded function for
indexOf(char, long, io.qt.core.Qt.CaseSensitivity)
with:
from = 0
cs = io.qt.core.Qt.CaseSensitivity.CaseSensitive
-
indexOf
-
indexOf
Overloaded function for
indexOf(io.qt.core.QRegularExpression, long, io.qt.core.QRegularExpressionMatch)
withrmatch = null
. -
indexOf
Overloaded function for
indexOf(io.qt.core.QRegularExpression, long, io.qt.core.QRegularExpressionMatch)
with:
from = 0
rmatch = null
-
indexOf
@QtUninvokable public final long indexOf(QRegularExpression re, long from, QRegularExpressionMatch rmatch) -
indexOf
Overloaded function for
indexOf(java.lang.CharSequence, long, io.qt.core.Qt.CaseSensitivity)
withcs = io.qt.core.Qt.CaseSensitivity.CaseSensitive
. -
indexOf
Overloaded function for
indexOf(java.lang.CharSequence, long, 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
-
last
-
lastIndexOf
Overloaded function for
lastIndexOf(char, long, io.qt.core.Qt.CaseSensitivity)
withcs = io.qt.core.Qt.CaseSensitivity.CaseSensitive
. -
lastIndexOf
Overloaded function for
lastIndexOf(char, long, io.qt.core.Qt.CaseSensitivity)
with:
from = -1
cs = io.qt.core.Qt.CaseSensitivity.CaseSensitive
-
lastIndexOf
-
lastIndexOf
Overloaded function for
lastIndexOf(io.qt.core.QRegularExpression, long, io.qt.core.QRegularExpressionMatch)
withrmatch = null
. -
lastIndexOf
@QtUninvokable public final long lastIndexOf(QRegularExpression re, long from, QRegularExpressionMatch rmatch) -
lastIndexOf
Overloaded function for
lastIndexOf(java.lang.CharSequence, io.qt.core.Qt.CaseSensitivity)
withcs = io.qt.core.Qt.CaseSensitivity.CaseSensitive
. -
lastIndexOf
-
lastIndexOf
Overloaded function for
lastIndexOf(java.lang.CharSequence, long, io.qt.core.Qt.CaseSensitivity)
withcs = io.qt.core.Qt.CaseSensitivity.CaseSensitive
. -
lastIndexOf
-
left
-
leftJustified
Overloaded function for
leftJustified(long, char, boolean)
withtrunc = false
. -
leftJustified
-
leftJustified
-
length
- Specified by:
length
in interfaceCharSequence
-
localeAwareCompare
-
mid
Overloaded function for
mid(long, long)
withn = -1
. -
mid
-
plus
-
plus
-
plus
-
writeTo
-
assign
-
assign
-
assign
-
assign
-
readFrom
-
get
-
set
-
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
Overloaded function for
remove(java.lang.CharSequence, io.qt.core.Qt.CaseSensitivity)
withcs = io.qt.core.Qt.CaseSensitivity.CaseSensitive
. -
remove
-
remove
-
removeIf
-
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
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(long, char, boolean)
withtrunc = false
. -
rightJustified
-
rightJustified
-
section
@QtUninvokable public final QString section(char sep, long start, long end, QString.SectionFlag ... flags) Overloaded function for
section(char, long, long, io.qt.core.QString.SectionFlags)
. -
section
Overloaded function for
section(char, long, long, io.qt.core.QString.SectionFlags)
withflags = new io.qt.core.QString.SectionFlags(0)
. -
section
Overloaded function for
section(char, long, long, io.qt.core.QString.SectionFlags)
with:
end = -1
flags = new io.qt.core.QString.SectionFlags(0)
-
section
@QtUninvokable public final QString section(char sep, long start, long end, QString.SectionFlags flags) -
section
@QtUninvokable public final QString section(QRegularExpression re, long start, long end, QString.SectionFlag ... flags) Overloaded function for
section(io.qt.core.QRegularExpression, long, long, io.qt.core.QString.SectionFlags)
. -
section
Overloaded function for
section(io.qt.core.QRegularExpression, long, long, io.qt.core.QString.SectionFlags)
withflags = new io.qt.core.QString.SectionFlags(0)
. -
section
Overloaded function for
section(io.qt.core.QRegularExpression, long, long, io.qt.core.QString.SectionFlags)
with:
end = -1
flags = new io.qt.core.QString.SectionFlags(0)
-
section
@QtUninvokable public final QString section(QRegularExpression re, long start, long end, QString.SectionFlags flags) -
section
@QtUninvokable public final QString section(CharSequence in_sep, long start, long end, QString.SectionFlag ... flags) Overloaded function for
section(java.lang.CharSequence, long, long, io.qt.core.QString.SectionFlags)
. -
section
Overloaded function for
section(java.lang.CharSequence, long, long, io.qt.core.QString.SectionFlags)
withflags = new io.qt.core.QString.SectionFlags(0)
. -
section
Overloaded function for
section(java.lang.CharSequence, long, long, 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, long start, long end, QString.SectionFlags flags) -
setNum
Overloaded function for
setNum(double, byte, int)
withprecision = 6
. -
setNum
-
setNum
-
setNum
Overloaded function for
setNum(float, byte, int)
withprecision = 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
-
sliced
-
sliced
-
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
@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
-
fromLatin1
-
fromLocal8Bit
-
fromLocal8Bit
-
fromLocal8Bit
-
fromRawData
-
fromUcs4
-
fromUtf16
-
fromUtf16
Deprecated.Use char16_t* overload. -
fromUtf8
-
fromUtf8
-
fromUtf8
-
localeAwareCompare
-
number
Overloaded function for
number(double, byte, int)
withprecision = 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
-