@NoOffset @Properties(inherit=Qt5Core.class) public class QString extends Qt5Core.AbstractQString
Modifier and Type | Class and Description |
---|---|
static class |
QString.SectionFlag |
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Modifier and Type | Field and Description |
---|---|
static int |
KeepEmptyParts
enum QString::SplitBehavior
|
static int |
NormalizationForm_C
enum QString::NormalizationForm
|
static int |
NormalizationForm_D
enum QString::NormalizationForm
|
static int |
NormalizationForm_KC
enum QString::NormalizationForm
|
static int |
NormalizationForm_KD
enum QString::NormalizationForm
|
static int |
SkipEmptyParts
enum QString::SplitBehavior
|
Constructor and Description |
---|
QString() |
QString(int size,
int arg1) |
QString(long size)
Native array allocator.
|
QString(Pointer p)
Pointer cast constructor.
|
QString(QString arg0) |
add, equals, hashCode, toString
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, fill, formatBytes, free, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetof, parseBytes, physicalBytes, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, totalBytes, totalPhysicalBytes, withDeallocator, zero
public static final int KeepEmptyParts
public static final int SkipEmptyParts
public static final int NormalizationForm_D
public static final int NormalizationForm_C
public static final int NormalizationForm_KD
public static final int NormalizationForm_KC
public QString(Pointer p)
Pointer.Pointer(Pointer)
.public QString(long size)
Pointer.position(long)
.public QString()
@NoException public void swap(@ByRef QString other)
public int size()
public int count()
public int length()
public void resize(int size)
public void truncate(int pos)
public void chop(int n)
public void reserve(int size)
public void squeeze()
public void detach()
public void clear()
@ByVal public QString arg(@Const @ByRef QString a1, @Const @ByRef QString a2, @Const @ByRef QString a3)
@ByVal public QString arg(@Const @ByRef QString a1, @Const @ByRef QString a2, @Const @ByRef QString a3, @Const @ByRef QString a4)
@ByVal public QString arg(@Const @ByRef QString a1, @Const @ByRef QString a2, @Const @ByRef QString a3, @Const @ByRef QString a4, @Const @ByRef QString a5)
@ByVal public QString arg(@Const @ByRef QString a1, @Const @ByRef QString a2, @Const @ByRef QString a3, @Const @ByRef QString a4, @Const @ByRef QString a5, @Const @ByRef QString a6)
@ByVal public QString arg(@Const @ByRef QString a1, @Const @ByRef QString a2, @Const @ByRef QString a3, @Const @ByRef QString a4, @Const @ByRef QString a5, @Const @ByRef QString a6, @Const @ByRef QString a7)
@ByVal public QString arg(@Const @ByRef QString a1, @Const @ByRef QString a2, @Const @ByRef QString a3, @Const @ByRef QString a4, @Const @ByRef QString a5, @Const @ByRef QString a6, @Const @ByRef QString a7, @Const @ByRef QString a8)
@ByVal public QString arg(@Const @ByRef QString a1, @Const @ByRef QString a2, @Const @ByRef QString a3, @Const @ByRef QString a4, @Const @ByRef QString a5, @Const @ByRef QString a6, @Const @ByRef QString a7, @Const @ByRef QString a8, @Const @ByRef QString a9)
@ByRef public QString vsprintf(@Cast(value="const char*") BytePointer format, @ByVal @Cast(value="va_list*") Pointer ap)
@ByRef public QString sprintf(@Cast(value="const char*") BytePointer format)
@ByVal public static QString vasprintf(@Cast(value="const char*") BytePointer format, @ByVal @Cast(value="va_list*") Pointer ap)
@ByVal public static QString vasprintf(String format, @ByVal @Cast(value="va_list*") Pointer ap)
@ByVal public static QString asprintf(@Cast(value="const char*") BytePointer format)
public int indexOf(@Const @ByRef QString s, int from, Qt5Core.CaseSensitivity cs)
public int lastIndexOf(@Const @ByRef QString s, int from, Qt5Core.CaseSensitivity cs)
@Cast(value="bool") public boolean contains(@Const @ByRef QString s, Qt5Core.CaseSensitivity cs)
public int count(@Const @ByRef QString s, Qt5Core.CaseSensitivity cs)
@Cast(value="bool") public boolean startsWith(@Const @ByRef QString s, Qt5Core.CaseSensitivity cs)
@Cast(value="bool") public boolean endsWith(@Const @ByRef QString s, Qt5Core.CaseSensitivity cs)
@ByRef public QString replace(@Const @ByRef QString before, @Const @ByRef QString after, Qt5Core.CaseSensitivity cs)
@Cast(value="const unsigned short*") public ShortPointer utf16()
@ByVal public QByteArray toLatin1()
@ByVal public QByteArray toUtf8()
@ByVal public QByteArray toLocal8Bit()
@ByVal public static QString fromLatin1(@Cast(value="const char*") BytePointer str, int size)
@ByVal public static QString fromLatin1(@Cast(value="const char*") BytePointer str)
@ByVal public static QString fromUtf8(@Cast(value="const char*") BytePointer str, int size)
@ByVal public static QString fromUtf8(@Cast(value="const char*") BytePointer str)
@ByVal public static QString fromLocal8Bit(@Cast(value="const char*") BytePointer str, int size)
@ByVal public static QString fromLocal8Bit(@Cast(value="const char*") BytePointer str)
@ByVal public static QString fromLatin1(@Const @ByRef QByteArray str)
@ByVal public static QString fromUtf8(@Const @ByRef QByteArray str)
@ByVal public static QString fromLocal8Bit(@Const @ByRef QByteArray str)
@ByVal public static QString fromUtf16(@Cast(value="const unsigned short*") ShortPointer arg0, int size)
@ByVal public static QString fromUtf16(@Cast(value="const unsigned short*") ShortPointer arg0)
@ByVal public static QString fromUtf16(@Cast(value="const unsigned short*") ShortBuffer arg0, int size)
@ByVal public static QString fromUtf16(@Cast(value="const unsigned short*") ShortBuffer arg0)
@ByVal public static QString fromUtf16(@Cast(value="const unsigned short*") short[] arg0, int size)
@ByVal public static QString fromUcs4(@Cast(value="const unsigned int*") IntPointer arg0, int size)
@ByVal public static QString fromUcs4(@Cast(value="const unsigned int*") IntPointer arg0)
@ByVal public static QString fromUcs4(@Cast(value="const unsigned int*") IntBuffer arg0, int size)
@ByVal public static QString fromUcs4(@Cast(value="const unsigned int*") int[] arg0, int size)
public int toWCharArray(@Cast(value="wchar_t*") CharPointer array)
public int toWCharArray(@Cast(value="wchar_t*") IntPointer array)
@ByVal public static QString fromWCharArray(@Cast(value="const wchar_t*") CharPointer string, int size)
@ByVal public static QString fromWCharArray(@Cast(value="const wchar_t*") CharPointer string)
@ByVal public static QString fromWCharArray(@Cast(value="const wchar_t*") IntPointer string, int size)
@ByVal public static QString fromWCharArray(@Cast(value="const wchar_t*") IntPointer string)
@ByRef public QString setUtf16(@Cast(value="const unsigned short*") ShortPointer utf16, int size)
@ByRef public QString setUtf16(@Cast(value="const unsigned short*") ShortBuffer utf16, int size)
@ByRef public QString setUtf16(@Cast(value="const unsigned short*") short[] utf16, int size)
@NoException public int compare(@Const @ByRef QString s, Qt5Core.CaseSensitivity cs)
@NoException public int compare(@Const @ByRef QString s)
compare
in class Qt5Core.AbstractQString
@NoException public static int compare(@Const @ByRef QString s1, @Const @ByRef QString s2, Qt5Core.CaseSensitivity cs)
public static int localeAwareCompare(@Const @ByRef QString s1, @Const @ByRef QString s2)
public short toShort(@Cast(value="bool*") BoolPointer ok, int base)
public short toShort()
@Cast(value="unsigned short") public short toUShort(@Cast(value="bool*") BoolPointer ok, int base)
@Cast(value="unsigned short") public short toUShort(@Cast(value="bool*") boolean[] ok, int base)
public int toInt(@Cast(value="bool*") BoolPointer ok, int base)
public int toInt()
@Cast(value="unsigned int") public int toUInt(@Cast(value="bool*") BoolPointer ok, int base)
public long toLong(@Cast(value="bool*") BoolPointer ok, int base)
public long toLong()
@Cast(value="unsigned long") public long toULong(@Cast(value="bool*") BoolPointer ok, int base)
@Cast(value="unsigned long") public long toULong(@Cast(value="bool*") boolean[] ok, int base)
public long toLongLong(@Cast(value="bool*") BoolPointer ok, int base)
public long toLongLong()
@Cast(value="unsigned long long") public long toULongLong(@Cast(value="bool*") BoolPointer ok, int base)
@Cast(value="unsigned long long") public long toULongLong(@Cast(value="bool*") boolean[] ok, int base)
public float toFloat(@Cast(value="bool*") BoolPointer ok)
public float toFloat()
public double toDouble(@Cast(value="bool*") BoolPointer ok)
public double toDouble()
public void shrink_to_fit()
@ByVal public static QString fromStdString(@StdString BytePointer s)
@ByVal public static QString fromStdString(@StdString String s)
@StdString public String toStdString()
toStdString
in class Qt5Core.AbstractQString
@ByVal public static QString fromStdWString(@StdWString CharPointer s)
@ByVal public static QString fromStdWString(@StdWString IntPointer s)
@StdWString public CharPointer toStdWString()
@Cast(value="QString::DataPtr*") @ByRef public PointerPointer data_ptr()
Copyright © 2020. All rights reserved.