- All Implemented Interfaces:
QtObjectInterface
,Appendable
,CharSequence
,Cloneable
,Comparable<Object>
Unicode character string
Java wrapper for Qt class QString
-
Nested Class Summary
Nested ClassesModifier 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
-
Constructor Summary
ConstructorsConstructorDescriptionQString()
QString
(byte [] a) Overloaded constructor forQString(io.qt.core.QByteArray)
.QString
(char c) QString
(char[] unicode) QString
(long size, char c) QString
(CharSequence arg__1) -
Method Summary
Modifier and TypeMethodDescriptionfinal QString
append
(byte [] s) Overloaded function forappend(io.qt.core.QByteArray)
.final 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
(byte [] a) Overloaded function forassign(io.qt.core.QByteArray)
.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()
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) 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()
Deprecated.Use size() or length() instead.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()
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
final boolean
equals
(byte [] s) Overloaded function forequals(io.qt.core.QByteArray)
.final boolean
equals
(char rhs) Seeoperator==(QString,
QChar) final boolean
equals
(QByteArray s) final boolean
equals
(CharSequence s2) Seeoperator==(QString,
QString) boolean
Checks for equality depending on the type of given object.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
fromLatin1
(ByteBuffer ba) Overloaded function forfromLatin1(io.qt.core.QByteArrayView)
.static QString
fromLocal8Bit
(byte[] str) static QString
static QString
static QString
Overloaded function forfromLocal8Bit(io.qt.core.QByteArrayView)
.static QString
fromRawData
(char[] arg__1) static QString
fromUcs4
(int[] arg__1) static QString
fromUtf16
(char[] arg__1) static QString
fromUtf8
(byte[] utf8) static QString
fromUtf8
(QByteArray ba) static QString
fromUtf8
(QByteArrayView utf8) static QString
fromUtf8
(ByteBuffer utf8) Overloaded function forfromUtf8(io.qt.core.QByteArrayView)
.final char
front()
final char
get
(long i) int
hashCode()
Returns the objects's hash code computed byqHash(QString)
.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, byte [] s) Overloaded function forinsert(long, io.qt.core.QByteArray)
.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
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 QString
last
(long n) final long
lastIndexOf
(char c) Overloaded function forlastIndexOf(char, io.qt.core.Qt.CaseSensitivity)
withcs = io.qt.core.Qt.CaseSensitivity.CaseSensitive
.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
(char c, 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
(byte [] ba) Overloaded function forplus(io.qt.core.QByteArray)
.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
prepend
(byte [] s) Overloaded function forprepend(io.qt.core.QByteArray)
.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
removeAt
(long pos) final QString
final QString
removeIf
(QString.Predicate pred) final QString
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) SeeQString::
operator[](qsizetype) 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()
Returns the string representation of the object given byQVariant(this).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
-
QString
public QString(char c) -
QString
-
QString
public QString(char[] unicode) -
QString
public QString(long size, char c) -
QString
public QString(byte [] a) Overloaded constructor for
QString(io.qt.core.QByteArray)
.
-
-
Method Details
-
append
-
append
- Specified by:
append
in interfaceAppendable
-
append
- Specified by:
append
in interfaceAppendable
-
append
-
arg
-
arg
-
arg
-
arg
@QtUninvokable public final QString arg(double a, int fieldWidth, byte format, int precision, char fillChar) -
arg
-
arg
-
arg
-
at
-
back
-
capacity
-
chop
-
chopped
-
clear
See
QString::
clear() -
compare
-
compare
-
contains
-
contains
-
contains
-
count
Deprecated.Use size() or length() instead.See
QString::
count()const -
count
-
count
-
count
-
detach
See
QString::
detach() -
endsWith
-
endsWith
-
fill
-
first
-
front
-
indexOf
-
indexOf
@QtUninvokable public final long indexOf(QRegularExpression re, long 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
-
last
-
lastIndexOf
-
lastIndexOf
-
lastIndexOf
@QtUninvokable public final long lastIndexOf(QRegularExpression re, long from, QRegularExpressionMatch rmatch) -
lastIndexOf
-
lastIndexOf
-
left
-
leftJustified
-
length
- Specified by:
length
in interfaceCharSequence
-
localeAwareCompare
-
mid
-
plus
See
operator+(QString,
QByteArray) -
plus
See
operator+(QString,
QChar) -
plus
See
operator+(QString,
QString) -
writeTo
-
assign
-
assign
-
assign
-
assign
-
equals
-
equals
See
operator==(QString,
QChar) -
equals
See
operator==(QString,
QString) -
readFrom
-
get
-
set
See
QString::
operator[](qsizetype) -
prepend
-
prepend
-
prepend
-
prepend
-
remove
-
remove
-
remove
-
remove
-
removeAt
-
removeFirst
-
removeIf
-
removeLast
-
repeated
-
replace
-
replace
-
replace
-
replace
@QtUninvokable public final QString replace(CharSequence before, CharSequence after, Qt.CaseSensitivity cs) -
replace
-
replace
-
replace
-
replace
-
reserve
-
resize
-
resize
-
right
-
rightJustified
-
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.SectionFlags flags) -
section
@QtUninvokable public final QString section(CharSequence in_sep, long start, long end, QString.SectionFlags flags) -
setNum
-
setNum
-
setNum
-
setNum
-
setNum
-
setRawData
-
setUnicode
-
setUtf16
-
shrink_to_fit
-
simplified
-
size
-
sliced
-
sliced
-
split
@QtUninvokable public final QStringList split(char sep, Qt.SplitBehavior behavior, Qt.CaseSensitivity cs) -
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
-
fromLatin1
-
fromLocal8Bit
-
fromLocal8Bit
-
fromLocal8Bit
-
fromRawData
-
fromUcs4
-
fromUtf16
-
fromUtf8
-
fromUtf8
-
fromUtf8
-
localeAwareCompare
-
number
-
number
-
number
-
equals
Checks for equality depending on the type of given object.
ckecked by toCharSequence
operator==(QString,
QString)
ckecked by toCharacter
operator==(QString,
QChar)
ckecked by toQByteArray
QString::
operator==(QByteArray)const
ckecked by toString
operator!=(QString,
QLatin1StringView) null
ckecked by tooperator!=(QString,
std::nullptr_t)
-
compareTo
- 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.
-
append
Overloaded function for
append(io.qt.core.QByteArray)
. -
arg
Overloaded function for
arg(char, int, char)
withfillChar = ' '
. -
arg
-
arg
Overloaded function for
arg(java.lang.CharSequence, int, char)
withfillChar = ' '
. -
arg
-
arg
Overloaded function for
arg(byte, int, char)
withfillChar = ' '
. -
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
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.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(io.qt.core.QRegularExpression, io.qt.core.QRegularExpressionMatch)
withrmatch = null
. -
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, long)
withsize = -1
. -
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
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
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
-
insert
Overloaded function for
insert(long, io.qt.core.QByteArray)
. -
lastIndexOf
Overloaded function for
lastIndexOf(char, io.qt.core.Qt.CaseSensitivity)
withcs = io.qt.core.Qt.CaseSensitivity.CaseSensitive
. -
lastIndexOf
Overloaded function for
lastIndexOf(char, long, io.qt.core.Qt.CaseSensitivity)
withcs = io.qt.core.Qt.CaseSensitivity.CaseSensitive
. -
lastIndexOf
Overloaded function for
lastIndexOf(io.qt.core.QRegularExpression, long, io.qt.core.QRegularExpressionMatch)
withrmatch = null
. -
lastIndexOf
Overloaded function for
lastIndexOf(java.lang.CharSequence, io.qt.core.Qt.CaseSensitivity)
withcs = io.qt.core.Qt.CaseSensitivity.CaseSensitive
. -
lastIndexOf
Overloaded function for
lastIndexOf(java.lang.CharSequence, long, io.qt.core.Qt.CaseSensitivity)
withcs = io.qt.core.Qt.CaseSensitivity.CaseSensitive
. -
leftJustified
Overloaded function for
leftJustified(long, char, boolean)
withtrunc = false
. -
leftJustified
-
mid
Overloaded function for
mid(long, long)
withn = -1
. -
plus
Overloaded function for
plus(io.qt.core.QByteArray)
. -
assign
Overloaded function for
assign(io.qt.core.QByteArray)
. -
equals
Overloaded function for
equals(io.qt.core.QByteArray)
. -
prepend
Overloaded function for
prepend(io.qt.core.QByteArray)
. -
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(java.lang.CharSequence, 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
. -
rightJustified
Overloaded function for
rightJustified(long, char, boolean)
withtrunc = false
. -
rightJustified
-
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.SectionFlag ... flags) Overloaded function for
section(char, 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.SectionFlag ... flags) Overloaded function for
section(io.qt.core.QRegularExpression, 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.SectionFlag ... flags) Overloaded function for
section(java.lang.CharSequence, long, long, io.qt.core.QString.SectionFlags)
. -
setNum
Overloaded function for
setNum(double, byte, int)
withprecision = 6
. -
setNum
-
setNum
Overloaded function for
setNum(float, byte, int)
withprecision = 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.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
. -
fromLatin1
Overloaded function for
fromLatin1(io.qt.core.QByteArrayView)
. -
fromLocal8Bit
Overloaded function for
fromLocal8Bit(io.qt.core.QByteArrayView)
. -
fromUtf8
Overloaded function for
fromUtf8(io.qt.core.QByteArrayView)
. -
number
Overloaded function for
number(double, byte, int)
withprecision = 6
. -
number
-
number
Overloaded function for
number(int, int)
withbase = 10
. -
number
Overloaded function for
number(long, int)
withbase = 10
.
-