@Properties(inherit=Qt5Core.class) public class QVariant extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
QVariant() |
QVariant(boolean b) |
QVariant(BytePointer str) |
QVariant(double d) |
QVariant(float f) |
QVariant(int i) |
QVariant(int typeId,
Pointer copy) |
QVariant(int typeId,
Pointer copy,
int flags) |
QVariant(long ll) |
QVariant(Pointer p)
Pointer cast constructor.
|
QVariant(QByteArray bytearray) |
QVariant(QSize size) |
QVariant(QString string) |
QVariant(QVariant other) |
QVariant(String str) |
Modifier and Type | Method and Description |
---|---|
boolean |
canConvert(int targetTypeId) |
void |
clear() |
boolean |
convert(int targetTypeId) |
void |
detach() |
boolean |
isDetached() |
boolean |
isNull() |
boolean |
isValid() |
QVariant |
put(QVariant other) |
void |
swap(QVariant other) |
boolean |
toBool() |
QByteArray |
toByteArray() |
double |
toDouble() |
double |
toDouble(boolean[] ok) |
double |
toDouble(BoolPointer ok) |
float |
toFloat() |
float |
toFloat(boolean[] ok) |
float |
toFloat(BoolPointer ok) |
int |
toInt() |
int |
toInt(boolean[] ok) |
int |
toInt(BoolPointer ok) |
long |
toLongLong() |
long |
toLongLong(boolean[] ok) |
long |
toLongLong(BoolPointer ok) |
QString |
toQString() |
double |
toReal() |
double |
toReal(boolean[] ok) |
double |
toReal(BoolPointer ok) |
QSize |
toSize() |
int |
toUInt() |
int |
toUInt(boolean[] ok) |
int |
toUInt(BoolPointer ok) |
long |
toULongLong() |
long |
toULongLong(boolean[] ok) |
long |
toULongLong(BoolPointer ok) |
BytePointer |
typeName() |
int |
userType() |
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, hashCode, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetof, parseBytes, physicalBytes, position, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, toString, totalBytes, totalPhysicalBytes, withDeallocator, zero
public QVariant(Pointer p)
Pointer.Pointer(Pointer)
.public QVariant()
public QVariant(int i)
public QVariant(long ll)
public QVariant(double d)
public QVariant(float f)
public QVariant(@Cast(value="const char*") BytePointer str)
public QVariant(String str)
public QVariant(@Const @ByRef QByteArray bytearray)
@NoException public void swap(@ByRef QVariant other)
public int userType()
@Cast(value="const char*") public BytePointer typeName()
public void clear()
public void detach()
public int toInt(@Cast(value="bool*") BoolPointer ok)
public int toInt()
@Cast(value="unsigned int") public int toUInt(@Cast(value="bool*") BoolPointer ok)
public long toLongLong(@Cast(value="bool*") BoolPointer ok)
public long toLongLong()
@Cast(value="unsigned long long") public long toULongLong(@Cast(value="bool*") BoolPointer ok)
@Cast(value="unsigned long long") public long toULongLong(@Cast(value="bool*") boolean[] ok)
public double toDouble(@Cast(value="bool*") BoolPointer ok)
public double toDouble()
public float toFloat(@Cast(value="bool*") BoolPointer ok)
public float toFloat()
public double toReal(@Cast(value="bool*") BoolPointer ok)
public double toReal()
@ByVal public QByteArray toByteArray()
Copyright © 2020. All rights reserved.