All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.qt.dbus.QDBusSignature Maven / Gradle / Ivy

There is a newer version: 6.7.2
Show newest version
package io.qt.dbus;

import io.qt.*;


/**
 * 

Enables the programmer to identify the SIGNATURE type provided by the D-Bus typesystem

*

Java wrapper for Qt class QDBusSignature

*/ public class QDBusSignature extends QtObject implements java.lang.Comparable, java.lang.Cloneable { static { QtJambi_LibraryUtilities.initialize(); } /** *

See QDBusSignature::QDBusSignature()

*/ public QDBusSignature(){ super((QPrivateConstructor)null); initialize_native(this); } private native static void initialize_native(QDBusSignature instance); /** *

See QDBusSignature::QDBusSignature(QDBusSignature)

*/ public QDBusSignature(io.qt.dbus.@NonNull QDBusSignature other){ super((QPrivateConstructor)null); initialize_native(this, other); } private native static void initialize_native(QDBusSignature instance, io.qt.dbus.QDBusSignature other); /** *

See QDBusSignature::QDBusSignature(QString&&)

*/ public QDBusSignature(java.lang.@NonNull CharSequence sig){ super((QPrivateConstructor)null); initialize_native(this, sig); } private native static void initialize_native(QDBusSignature instance, java.lang.CharSequence sig); /** *

See QDBusSignature::QDBusSignature(QString)

*/ public QDBusSignature(java.lang.@NonNull String signature){ super((QPrivateConstructor)null); initialize_native(this, signature); } private native static void initialize_native(QDBusSignature instance, java.lang.String signature); /** *

See operator<(QDBusSignature,QDBusSignature)

*/ @QtUninvokable private final boolean operator_less(io.qt.dbus.@NonNull QDBusSignature rhs){ return operator_less_native_cref_QDBusSignature(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(rhs)); } @QtUninvokable private native boolean operator_less_native_cref_QDBusSignature(long __this__nativeId, long rhs); /** *

See operator==(QDBusSignature,QDBusSignature)

*/ @QtUninvokable public final boolean equals(io.qt.dbus.@NonNull QDBusSignature rhs){ return equals_native_cref_QDBusSignature(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(rhs)); } @QtUninvokable private native boolean equals_native_cref_QDBusSignature(long __this__nativeId, long rhs); /** *

See QDBusSignature::setSignature(QString)

*/ @QtUninvokable public final void setSignature(java.lang.@NonNull String signature){ setSignature_native_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), signature); } @QtUninvokable private native void setSignature_native_cref_QString(long __this__nativeId, java.lang.String signature); /** *

See QDBusSignature::signature()const

*/ @QtUninvokable public final java.lang.@NonNull String signature(){ return signature_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native java.lang.String signature_native_constfct(long __this__nativeId); /** *

See QDBusSignature::swap(QDBusSignature&)

*/ @QtUninvokable public final void swap(io.qt.dbus.@StrictNonNull QDBusSignature other){ java.util.Objects.requireNonNull(other, "Argument 'other': null not expected."); swap_native_ref_QDBusSignature(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(other)); } @QtUninvokable private native void swap_native_ref_QDBusSignature(long __this__nativeId, long other); /** * Constructor for internal use only. * @param p expected to be null. * @hidden */ @NativeAccess protected QDBusSignature(QPrivateConstructor p) { super(p); } /** *

See operator==(QDBusSignature,QDBusSignature)

*/ @Override @QtUninvokable public boolean equals(Object other) { if (other instanceof io.qt.dbus.QDBusSignature) { return equals((io.qt.dbus.QDBusSignature) other); } return false; } /** *

See operator<(QDBusSignature,QDBusSignature)

*/ /** * {@inheritDoc} */ @QtUninvokable public int compareTo(io.qt.dbus.@StrictNonNull QDBusSignature other) { if (equals(other)) return 0; else if (operator_less(other)) return -1; else return 1; } /** * Returns the objects's hash code computed by qHash(QDBusSignature). */ @QtUninvokable @Override public int hashCode() { return hashCode_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native static int hashCode_native(long __this_nativeId); /** *

Creates and returns a copy of this object.

See QDBusSignature::QDBusSignature(QDBusSignature)

*/ @QtUninvokable @Override public QDBusSignature clone() { return clone_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } private static native QDBusSignature clone_native(long __this_nativeId); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy