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

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

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

import io.qt.*;


/**
 * 

Refers to one pending asynchronous call

*

Java wrapper for Qt class QDBusPendingCall

*/ public interface QDBusPendingCall extends QtObjectInterface { /** * @hidden *

Implementor class for interface {@link io.qt.dbus.QDBusPendingCall}

*/ public static class Impl extends QtObject implements io.qt.dbus.QDBusPendingCall, java.lang.Cloneable { static { QtJambi_LibraryUtilities.initialize(); } /** *

See QDBusPendingCall::QDBusPendingCall(QDBusPendingCall)

*/ public Impl(io.qt.dbus.@StrictNonNull QDBusPendingCall other){ super((QPrivateConstructor)null); java.util.Objects.requireNonNull(other, "Argument 'other': null not expected."); initialize_native(this, other); } private native static void initialize_native(QDBusPendingCall instance, io.qt.dbus.QDBusPendingCall other); /** *

See QDBusPendingCall::error()const

*/ @QtUninvokable public final io.qt.dbus.@NonNull QDBusError error(){ return error_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } private native static io.qt.dbus.QDBusError error_native_constfct(long __this__nativeId); /** *

See QDBusPendingCall::isError()const

*/ @QtUninvokable public final boolean isError(){ return isError_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } private native static boolean isError_native_constfct(long __this__nativeId); /** *

See QDBusPendingCall::isFinished()const

*/ @QtUninvokable public final boolean isFinished(){ return isFinished_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } private native static boolean isFinished_native_constfct(long __this__nativeId); /** *

See QDBusPendingCall::isValid()const

*/ @QtUninvokable public final boolean isValid(){ return isValid_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } private native static boolean isValid_native_constfct(long __this__nativeId); /** *

See QDBusPendingCall::operator=(QDBusPendingCall)

*/ @QtUninvokable public final void assign(io.qt.dbus.@NonNull QDBusPendingCall other){ assign_native_cref_QDBusPendingCall(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(other)); } private native static void assign_native_cref_QDBusPendingCall(long __this__nativeId, long other); /** *

See QDBusPendingCall::reply()const

*/ @QtUninvokable public final io.qt.dbus.@NonNull QDBusMessage reply(){ return reply_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } private native static io.qt.dbus.QDBusMessage reply_native_constfct(long __this__nativeId); /** *

See QDBusPendingCall::swap(QDBusPendingCall&)

*/ @QtUninvokable public final void swap(io.qt.dbus.@StrictNonNull QDBusPendingCall other){ java.util.Objects.requireNonNull(other, "Argument 'other': null not expected."); swap_native_ref_QDBusPendingCall(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(other)); } private native static void swap_native_ref_QDBusPendingCall(long __this__nativeId, long other); /** *

See QDBusPendingCall::waitForFinished()

*/ @QtUninvokable public final void waitForFinished(){ waitForFinished_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } private native static void waitForFinished_native(long __this__nativeId); /** *

See QDBusPendingCall::fromCompletedCall(QDBusMessage)

*/ private static io.qt.dbus.@NonNull QDBusPendingCall fromCompletedCall(io.qt.dbus.@NonNull QDBusMessage message){ return fromCompletedCall_native_cref_QDBusMessage(QtJambi_LibraryUtilities.internal.checkedNativeId(message)); } private native static io.qt.dbus.QDBusPendingCall fromCompletedCall_native_cref_QDBusMessage(long message); /** *

See QDBusPendingCall::fromError(QDBusError)

*/ private static io.qt.dbus.@NonNull QDBusPendingCall fromError(io.qt.dbus.@NonNull QDBusError error){ return fromError_native_cref_QDBusError(QtJambi_LibraryUtilities.internal.checkedNativeId(error)); } private native static io.qt.dbus.QDBusPendingCall fromError_native_cref_QDBusError(long error); /** * Constructor for internal use only. * @param p expected to be null. * @hidden */ @NativeAccess protected Impl(QPrivateConstructor p) { super(p); } /** *

Creates and returns a copy of this object.

See QDBusPendingCall::

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

See QDBusPendingCall::error()const

*/ @QtDeclaredFinal @QtUninvokable public default io.qt.dbus.@NonNull QDBusError error(){ return Impl.error_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } /** *

See QDBusPendingCall::isError()const

*/ @QtDeclaredFinal @QtUninvokable public default boolean isError(){ return Impl.isError_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } /** *

See QDBusPendingCall::isFinished()const

*/ @QtDeclaredFinal @QtUninvokable public default boolean isFinished(){ return Impl.isFinished_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } /** *

See QDBusPendingCall::isValid()const

*/ @QtDeclaredFinal @QtUninvokable public default boolean isValid(){ return Impl.isValid_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } /** *

See QDBusPendingCall::operator=(QDBusPendingCall)

*/ @QtDeclaredFinal @QtUninvokable public default void assign(io.qt.dbus.@NonNull QDBusPendingCall other){ Impl.assign_native_cref_QDBusPendingCall(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(other)); } /** *

See QDBusPendingCall::reply()const

*/ @QtDeclaredFinal @QtUninvokable public default io.qt.dbus.@NonNull QDBusMessage reply(){ return Impl.reply_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } /** *

See QDBusPendingCall::swap(QDBusPendingCall&)

*/ @QtDeclaredFinal @QtUninvokable public default void swap(io.qt.dbus.@StrictNonNull QDBusPendingCall other){ Impl.swap_native_ref_QDBusPendingCall(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(other)); } /** *

See QDBusPendingCall::waitForFinished()

*/ @QtDeclaredFinal @QtUninvokable public default void waitForFinished(){ Impl.waitForFinished_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } /** *

See QDBusPendingCall::fromCompletedCall(QDBusMessage)

*/ public static io.qt.dbus.@NonNull QDBusPendingCall fromCompletedCall(io.qt.dbus.@NonNull QDBusMessage message){ return Impl.fromCompletedCall(message); } /** *

See QDBusPendingCall::fromError(QDBusError)

*/ public static io.qt.dbus.@NonNull QDBusPendingCall fromError(io.qt.dbus.@NonNull QDBusError error){ return Impl.fromError(error); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy