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

io.qt.dbus.QDBusObjectPath 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 OBJECT_PATH type provided by the D-Bus typesystem

*

Java wrapper for Qt class QDBusObjectPath

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

See QDBusObjectPath::QDBusObjectPath()

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

See QDBusObjectPath::QDBusObjectPath(QDBusObjectPath)

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

See QDBusObjectPath::QDBusObjectPath(QString&&)

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

See QDBusObjectPath::QDBusObjectPath(QString)

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

See operator<(QDBusObjectPath,QDBusObjectPath)

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

See operator==(QDBusObjectPath,QDBusObjectPath)

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

See QDBusObjectPath::path()const

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

See QDBusObjectPath::setPath(QString)

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

See QDBusObjectPath::swap(QDBusObjectPath&)

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

See operator==(QDBusObjectPath,QDBusObjectPath)

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

See operator<(QDBusObjectPath,QDBusObjectPath)

*/ /** * {@inheritDoc} */ @QtUninvokable public int compareTo(io.qt.dbus.@StrictNonNull QDBusObjectPath 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(QDBusObjectPath). */ @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 QDBusObjectPath::QDBusObjectPath(QDBusObjectPath)

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy