io.qt.dbus.QDBusArgument Maven / Gradle / Ivy
Show all versions of qtjambi-dbus Show documentation
package io.qt.dbus;
import io.qt.*;
/**
* Used to marshall and demarshall D-Bus arguments
* Java wrapper for Qt class QDBusArgument
*/
public class QDBusArgument extends QtObject
implements java.lang.Cloneable
{
static {
QtJambi_LibraryUtilities.initialize();
}
/**
* Java wrapper for Qt enum QDBusArgument::ElementType
*/
public enum ElementType implements QtEnumerator {
/**
* Representing QDBusArgument:: BasicType
*/
BasicType(0),
/**
* Representing QDBusArgument:: VariantType
*/
VariantType(1),
/**
* Representing QDBusArgument:: ArrayType
*/
ArrayType(2),
/**
* Representing QDBusArgument:: StructureType
*/
StructureType(3),
/**
* Representing QDBusArgument:: MapType
*/
MapType(4),
/**
* Representing QDBusArgument:: MapEntryType
*/
MapEntryType(5),
/**
* Representing QDBusArgument:: UnknownType
*/
UnknownType(-1);
static {
QtJambi_LibraryUtilities.initialize();
}
private ElementType(int value) {
this.value = value;
}
/**
* {@inheritDoc}
*/
public int value() {
return value;
}
/**
* Returns the corresponding enum entry for the given value.
* @param value
* @return enum entry
*/
public static @NonNull ElementType resolve(int value) {
switch (value) {
case 0: return BasicType;
case 1: return VariantType;
case 2: return ArrayType;
case 3: return StructureType;
case 4: return MapType;
case 5: return MapEntryType;
case -1: return UnknownType;
default: throw new QNoSuchEnumValueException(value);
}
}
private final int value;
}
/**
* See QDBusArgument:: QDBusArgument()
*/
public QDBusArgument(){
super((QPrivateConstructor)null);
initialize_native(this);
}
private native static void initialize_native(QDBusArgument instance);
/**
* See QDBusArgument:: QDBusArgument(QDBusArgument)
*/
public QDBusArgument(io.qt.dbus.@NonNull QDBusArgument other){
super((QPrivateConstructor)null);
initialize_native(this, other);
}
private native static void initialize_native(QDBusArgument instance, io.qt.dbus.QDBusArgument other);
/**
* See QDBusArgument:: appendVariant(QVariant)
*/
@QtUninvokable
public final void appendVariant(java.lang.Object v){
appendVariant_native_cref_QVariant(QtJambi_LibraryUtilities.internal.nativeId(this), v);
}
@QtUninvokable
private native void appendVariant_native_cref_QVariant(long __this__nativeId, java.lang.Object v);
/**
* See QDBusArgument:: asVariant()const
*/
@QtUninvokable
public final java.lang.Object asVariant(){
return asVariant_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native java.lang.Object asVariant_native_constfct(long __this__nativeId);
/**
* See QDBusArgument:: atEnd()const
*/
@QtUninvokable
public final boolean atEnd(){
return atEnd_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean atEnd_native_constfct(long __this__nativeId);
/**
* See QDBusArgument:: beginArray()const
*/
@QtUninvokable
public final void beginArray(){
beginArray_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native void beginArray_native_constfct(long __this__nativeId);
/**
* See QDBusArgument:: beginArray(int)
*/
@QtUninvokable
public final void beginArray(int elementMetaTypeId){
beginArray_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), elementMetaTypeId);
}
@QtUninvokable
private native void beginArray_native_int(long __this__nativeId, int elementMetaTypeId);
/**
* See QDBusArgument:: beginMap()const
*/
@QtUninvokable
public final void beginMap(){
beginMap_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native void beginMap_native_constfct(long __this__nativeId);
/**
* See QDBusArgument:: beginMap(int, int)
*/
@QtUninvokable
public final void beginMap(int keyMetaTypeId, int valueMetaTypeId){
beginMap_native_int_int(QtJambi_LibraryUtilities.internal.nativeId(this), keyMetaTypeId, valueMetaTypeId);
}
@QtUninvokable
private native void beginMap_native_int_int(long __this__nativeId, int keyMetaTypeId, int valueMetaTypeId);
/**
* See QDBusArgument:: beginMapEntry()
*/
@QtUninvokable
public final void beginMapEntry(){
beginMapEntry_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native void beginMapEntry_native(long __this__nativeId);
/**
* See QDBusArgument:: beginStructure()
*/
@QtUninvokable
public final void beginStructure(){
beginStructure_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native void beginStructure_native(long __this__nativeId);
/**
* See QDBusArgument:: currentSignature()const
*/
@QtUninvokable
public final java.lang.@NonNull String currentSignature(){
return currentSignature_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native java.lang.String currentSignature_native_constfct(long __this__nativeId);
/**
* See QDBusArgument:: currentType()const
*/
@QtUninvokable
public final io.qt.dbus.QDBusArgument.@NonNull ElementType currentType(){
return io.qt.dbus.QDBusArgument.ElementType.resolve(currentType_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)));
}
@QtUninvokable
private native int currentType_native_constfct(long __this__nativeId);
/**
*
*/
@QtUninvokable
public final void endArray(){
endArray_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native void endArray_native(long __this__nativeId);
/**
*
*/
@QtUninvokable
public final void endMap(){
endMap_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native void endMap_native(long __this__nativeId);
/**
* See QDBusArgument:: endMapEntry()
*/
@QtUninvokable
public final void endMapEntry(){
endMapEntry_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native void endMapEntry_native(long __this__nativeId);
/**
* See QDBusArgument:: endStructure()
*/
@QtUninvokable
public final void endStructure(){
endStructure_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native void endStructure_native(long __this__nativeId);
/**
* See QDBusArgument:: operator<<(QByteArray)
*/
@QtUninvokable
public final @NonNull QDBusArgument append(io.qt.core.@NonNull QByteArray arg){
return append_native_cref_QByteArray(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg));
}
@QtUninvokable
private native QDBusArgument append_native_cref_QByteArray(long __this__nativeId, long arg);
/**
* See QDBusArgument:: operator<<(QDBusObjectPath)
*/
@QtUninvokable
public final @NonNull QDBusArgument append(io.qt.dbus.@NonNull QDBusObjectPath arg){
return append_native_cref_QDBusObjectPath(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg));
}
@QtUninvokable
private native QDBusArgument append_native_cref_QDBusObjectPath(long __this__nativeId, long arg);
/**
* See QDBusArgument:: operator<<(QDBusSignature)
*/
@QtUninvokable
public final @NonNull QDBusArgument append(io.qt.dbus.@NonNull QDBusSignature arg){
return append_native_cref_QDBusSignature(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg));
}
@QtUninvokable
private native QDBusArgument append_native_cref_QDBusSignature(long __this__nativeId, long arg);
/**
* See QDBusArgument:: operator<<(QDBusUnixFileDescriptor)
*/
@QtUninvokable
public final @NonNull QDBusArgument append(io.qt.dbus.@NonNull QDBusUnixFileDescriptor arg){
return append_native_cref_QDBusUnixFileDescriptor(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg));
}
@QtUninvokable
private native QDBusArgument append_native_cref_QDBusUnixFileDescriptor(long __this__nativeId, long arg);
/**
* See QDBusArgument:: operator<<(QDBusVariant)
*/
@QtUninvokable
public final @NonNull QDBusArgument append(io.qt.dbus.@StrictNonNull QDBusVariant arg){
java.util.Objects.requireNonNull(arg, "Argument 'arg': null not expected.");
return append_native_cref_QDBusVariant(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg));
}
@QtUninvokable
private native QDBusArgument append_native_cref_QDBusVariant(long __this__nativeId, long arg);
/**
* See operator<<(QDBusArgument&, QDate)
*/
@QtUninvokable
public final @NonNull QDBusArgument append(io.qt.core.@NonNull QDate date){
return append_native_cref_QDate(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(date));
}
@QtUninvokable
private native QDBusArgument append_native_cref_QDate(long __this__nativeId, long date);
/**
* See operator<<(QDBusArgument&, QDateTime)
*/
@QtUninvokable
public final @NonNull QDBusArgument append(io.qt.core.@NonNull QDateTime dt){
return append_native_cref_QDateTime(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(dt));
}
@QtUninvokable
private native QDBusArgument append_native_cref_QDateTime(long __this__nativeId, long dt);
/**
* See operator<<(QDBusArgument&, QLine)
*/
@QtUninvokable
public final @NonNull QDBusArgument append(io.qt.core.@NonNull QLine line){
return append_native_cref_QLine(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(line));
}
@QtUninvokable
private native QDBusArgument append_native_cref_QLine(long __this__nativeId, long line);
/**
* See operator<<(QDBusArgument&, QLineF)
*/
@QtUninvokable
public final @NonNull QDBusArgument append(io.qt.core.@NonNull QLineF line){
return append_native_cref_QLineF(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(line));
}
@QtUninvokable
private native QDBusArgument append_native_cref_QLineF(long __this__nativeId, long line);
/**
* See operator<<(QDBusArgument&, QPoint)
*/
@QtUninvokable
public final @NonNull QDBusArgument append(io.qt.core.@NonNull QPoint pt){
return append_native_cref_QPoint(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(pt));
}
@QtUninvokable
private native QDBusArgument append_native_cref_QPoint(long __this__nativeId, long pt);
/**
* See operator<<(QDBusArgument&, QPointF)
*/
@QtUninvokable
public final @NonNull QDBusArgument append(io.qt.core.@NonNull QPointF pt){
return append_native_cref_QPointF(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(pt));
}
@QtUninvokable
private native QDBusArgument append_native_cref_QPointF(long __this__nativeId, long pt);
/**
* See operator<<(QDBusArgument&, QRect)
*/
@QtUninvokable
public final @NonNull QDBusArgument append(io.qt.core.@NonNull QRect rect){
return append_native_cref_QRect(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(rect));
}
@QtUninvokable
private native QDBusArgument append_native_cref_QRect(long __this__nativeId, long rect);
/**
* See operator<<(QDBusArgument&, QRectF)
*/
@QtUninvokable
public final @NonNull QDBusArgument append(io.qt.core.@NonNull QRectF rect){
return append_native_cref_QRectF(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(rect));
}
@QtUninvokable
private native QDBusArgument append_native_cref_QRectF(long __this__nativeId, long rect);
/**
* See operator<<(QDBusArgument&, QSize)
*/
@QtUninvokable
public final @NonNull QDBusArgument append(io.qt.core.@NonNull QSize size){
return append_native_cref_QSize(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(size));
}
@QtUninvokable
private native QDBusArgument append_native_cref_QSize(long __this__nativeId, long size);
/**
* See operator<<(QDBusArgument&, QSizeF)
*/
@QtUninvokable
public final @NonNull QDBusArgument append(io.qt.core.@NonNull QSizeF size){
return append_native_cref_QSizeF(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(size));
}
@QtUninvokable
private native QDBusArgument append_native_cref_QSizeF(long __this__nativeId, long size);
/**
* See QDBusArgument:: operator<<(QString)
*/
@QtUninvokable
public final @NonNull QDBusArgument append(java.lang.@Nullable CharSequence arg){
return append_native_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), arg);
}
@QtUninvokable
private native QDBusArgument append_native_cref_QString(long __this__nativeId, java.lang.CharSequence arg);
/**
* See QDBusArgument:: operator<<(QStringList)
*/
@QtUninvokable
public final @NonNull QDBusArgument append(java.util.@NonNull List arg){
return append_native_cref_QStringList(QtJambi_LibraryUtilities.internal.nativeId(this), arg);
}
@QtUninvokable
private native QDBusArgument append_native_cref_QStringList(long __this__nativeId, java.util.List arg);
/**
* See operator<<(QDBusArgument&, QTime)
*/
@QtUninvokable
public final @NonNull QDBusArgument append(io.qt.core.@NonNull QTime time){
return append_native_cref_QTime(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(time));
}
@QtUninvokable
private native QDBusArgument append_native_cref_QTime(long __this__nativeId, long time);
/**
* See QDBusArgument:: operator<<(bool)
*/
@QtUninvokable
public final @NonNull QDBusArgument append(boolean arg){
return append_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), arg);
}
@QtUninvokable
private native QDBusArgument append_native_bool(long __this__nativeId, boolean arg);
/**
* See QDBusArgument:: operator<<(double)
*/
@QtUninvokable
public final @NonNull QDBusArgument append(double arg){
return append_native_double(QtJambi_LibraryUtilities.internal.nativeId(this), arg);
}
@QtUninvokable
private native QDBusArgument append_native_double(long __this__nativeId, double arg);
/**
* See QDBusArgument:: operator<<(int)
*/
@QtUninvokable
public final @NonNull QDBusArgument append(int arg){
return append_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), arg);
}
@QtUninvokable
private native QDBusArgument append_native_int(long __this__nativeId, int arg);
/**
* See QDBusArgument:: operator<<(qlonglong)
*/
@QtUninvokable
public final @NonNull QDBusArgument append(long arg){
return append_native_qlonglong(QtJambi_LibraryUtilities.internal.nativeId(this), arg);
}
@QtUninvokable
private native QDBusArgument append_native_qlonglong(long __this__nativeId, long arg);
/**
* See QDBusArgument:: operator<<(short)
*/
@QtUninvokable
public final @NonNull QDBusArgument append(short arg){
return append_native_short(QtJambi_LibraryUtilities.internal.nativeId(this), arg);
}
@QtUninvokable
private native QDBusArgument append_native_short(long __this__nativeId, short arg);
/**
* See QDBusArgument:: operator<<(uchar)
*/
@QtUninvokable
public final @NonNull QDBusArgument append(byte arg){
return append_native_uchar(QtJambi_LibraryUtilities.internal.nativeId(this), arg);
}
@QtUninvokable
private native QDBusArgument append_native_uchar(long __this__nativeId, byte arg);
/**
* See QDBusArgument:: operator=(QDBusArgument)
*/
@QtUninvokable
public final void assign(io.qt.dbus.@NonNull QDBusArgument other){
assign_native_cref_QDBusArgument(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(other));
}
@QtUninvokable
private native void assign_native_cref_QDBusArgument(long __this__nativeId, long other);
/**
* See QDBusArgument:: operator>>(QByteArray&)const
*/
@QtUninvokable
public final io.qt.core.@NonNull QByteArray extractBytes(){
return extractBytes_native_ref_QByteArray_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.@NonNull QByteArray extractBytes_native_ref_QByteArray_constfct(long __this__nativeId);
/**
* See QDBusArgument:: operator>>(QDBusObjectPath&)const
*/
@QtUninvokable
public final io.qt.dbus.@NonNull QDBusObjectPath extractObjectPath(){
return extractObjectPath_native_ref_QDBusObjectPath_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.dbus.@NonNull QDBusObjectPath extractObjectPath_native_ref_QDBusObjectPath_constfct(long __this__nativeId);
/**
* See QDBusArgument:: operator>>(QDBusSignature&)const
*/
@QtUninvokable
public final io.qt.dbus.@NonNull QDBusObjectPath extractSignature(){
return extractSignature_native_ref_QDBusSignature_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.dbus.@NonNull QDBusObjectPath extractSignature_native_ref_QDBusSignature_constfct(long __this__nativeId);
/**
* See QDBusArgument:: operator>>(QDBusUnixFileDescriptor&)const
*/
@QtUninvokable
public final io.qt.dbus.@NonNull QDBusUnixFileDescriptor extractUnixFileDescriptor(){
return extractUnixFileDescriptor_native_ref_QDBusUnixFileDescriptor_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.dbus.@NonNull QDBusUnixFileDescriptor extractUnixFileDescriptor_native_ref_QDBusUnixFileDescriptor_constfct(long __this__nativeId);
/**
* See QDBusArgument:: operator>>(QDBusVariant&)const
*/
@QtUninvokable
public final io.qt.dbus.@NonNull QDBusVariant extractVariant(){
return extractVariant_native_ref_QDBusVariant_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.dbus.@NonNull QDBusVariant extractVariant_native_ref_QDBusVariant_constfct(long __this__nativeId);
/**
* See operator>>(QDBusArgument, QDate&)
*/
@QtUninvokable
public final io.qt.core.@NonNull QDate extractDate(){
return extractDate_native_ref_QDate(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.@NonNull QDate extractDate_native_ref_QDate(long __this__nativeId);
/**
* See operator>>(QDBusArgument, QDateTime&)
*/
@QtUninvokable
public final io.qt.core.@NonNull QDateTime extractDateTime(){
return extractDateTime_native_ref_QDateTime(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.@NonNull QDateTime extractDateTime_native_ref_QDateTime(long __this__nativeId);
/**
* See operator>>(QDBusArgument, QLine&)
*/
@QtUninvokable
public final io.qt.core.@NonNull QLine extractLine(){
return extractLine_native_ref_QLine(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.@NonNull QLine extractLine_native_ref_QLine(long __this__nativeId);
/**
* See operator>>(QDBusArgument, QLineF&)
*/
@QtUninvokable
public final io.qt.core.@NonNull QLineF extractLineF(){
return extractLineF_native_ref_QLineF(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.@NonNull QLineF extractLineF_native_ref_QLineF(long __this__nativeId);
/**
* See operator>>(QDBusArgument, QPoint&)
*/
@QtUninvokable
public final io.qt.core.@NonNull QPoint extractPoint(){
return extractPoint_native_ref_QPoint(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.@NonNull QPoint extractPoint_native_ref_QPoint(long __this__nativeId);
/**
* See operator>>(QDBusArgument, QPointF&)
*/
@QtUninvokable
public final io.qt.core.@NonNull QPointF extractPointF(){
return extractPointF_native_ref_QPointF(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.@NonNull QPointF extractPointF_native_ref_QPointF(long __this__nativeId);
/**
* See operator>>(QDBusArgument, QRect&)
*/
@QtUninvokable
public final io.qt.core.@NonNull QRect extractRect(){
return extractRect_native_ref_QRect(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.@NonNull QRect extractRect_native_ref_QRect(long __this__nativeId);
/**
* See operator>>(QDBusArgument, QRectF&)
*/
@QtUninvokable
public final io.qt.core.@NonNull QRectF extractRectF(){
return extractRectF_native_ref_QRectF(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.@NonNull QRectF extractRectF_native_ref_QRectF(long __this__nativeId);
/**
* See operator>>(QDBusArgument, QSize&)
*/
@QtUninvokable
public final io.qt.core.@NonNull QSize extractSize(){
return extractSize_native_ref_QSize(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.@NonNull QSize extractSize_native_ref_QSize(long __this__nativeId);
/**
* See operator>>(QDBusArgument, QSizeF&)
*/
@QtUninvokable
public final io.qt.core.@NonNull QSizeF extractSizeF(){
return extractSizeF_native_ref_QSizeF(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.@NonNull QSizeF extractSizeF_native_ref_QSizeF(long __this__nativeId);
/**
* See QDBusArgument:: operator>>(QString&)const
*/
@QtUninvokable
public final io.qt.core.QString extractQString(){
return extractQString_native_ref_QString_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QString extractQString_native_ref_QString_constfct(long __this__nativeId);
/**
* See QDBusArgument:: operator>>(QStringList&)const
*/
@QtUninvokable
public final io.qt.core.@NonNull QStringList extractStrings(){
return extractStrings_native_ref_QStringList_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.@NonNull QStringList extractStrings_native_ref_QStringList_constfct(long __this__nativeId);
/**
* See operator>>(QDBusArgument, QTime&)
*/
@QtUninvokable
public final io.qt.core.@NonNull QTime extractTime(){
return extractTime_native_ref_QTime(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.@NonNull QTime extractTime_native_ref_QTime(long __this__nativeId);
/**
* See operator>>(QDBusArgument, QVariant&)
*/
@QtUninvokable
public final io.qt.core.@NonNull QVariant extractObject(){
return extractObject_native_ref_QVariant(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.@NonNull QVariant extractObject_native_ref_QVariant(long __this__nativeId);
/**
* See QDBusArgument:: operator>>(bool&)const
*/
@QtUninvokable
public final boolean extractBoolean(){
return extractBoolean_native_ref_bool_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean extractBoolean_native_ref_bool_constfct(long __this__nativeId);
/**
* See QDBusArgument:: operator>>(double&)const
*/
@QtUninvokable
public final double extractDouble(){
return extractDouble_native_ref_double_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native double extractDouble_native_ref_double_constfct(long __this__nativeId);
/**
* See QDBusArgument:: operator>>(int&)const
*/
@QtUninvokable
public final int extractInt(){
return extractInt_native_ref_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native int extractInt_native_ref_int_constfct(long __this__nativeId);
/**
* See QDBusArgument:: operator>>(qlonglong&)const
*/
@QtUninvokable
public final long extractLong(){
return extractLong_native_ref_qlonglong_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native long extractLong_native_ref_qlonglong_constfct(long __this__nativeId);
/**
* See QDBusArgument:: operator>>(short&)const
*/
@QtUninvokable
public final short extractShort(){
return extractShort_native_ref_short_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native short extractShort_native_ref_short_constfct(long __this__nativeId);
/**
* See QDBusArgument:: operator>>(uchar&)const
*/
@QtUninvokable
public final byte extractByte(){
return extractByte_native_ref_uchar_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native byte extractByte_native_ref_uchar_constfct(long __this__nativeId);
/**
* See QDBusArgument:: swap(QDBusArgument&)
*/
@QtUninvokable
public final void swap(io.qt.dbus.@StrictNonNull QDBusArgument other){
java.util.Objects.requireNonNull(other, "Argument 'other': null not expected.");
swap_native_ref_QDBusArgument(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(other));
}
@QtUninvokable
private native void swap_native_ref_QDBusArgument(long __this__nativeId, long other);
/**
* Constructor for internal use only.
* @param p expected to be null
.
* @hidden
*/
@NativeAccess
protected QDBusArgument(QPrivateConstructor p) { super(p); }
/**
* Creates and returns a copy of this object.
See QDBusArgument:: QDBusArgument(QDBusArgument)
*/
@QtUninvokable
@Override
public QDBusArgument clone() {
return clone_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private static native QDBusArgument clone_native(long __this_nativeId);
/**
* Overloaded function for {@link #append(io.qt.core.QByteArray)}.
*/
@QtUninvokable
public final @NonNull QDBusArgument append(byte @NonNull[] arg) {
return append(new io.qt.core.QByteArray(arg));
}
}