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

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

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

import io.qt.*;


/**
 * 

Convenient way for waiting for asynchronous replies

*

Java wrapper for Qt class QDBusPendingCallWatcher

*/ public class QDBusPendingCallWatcher extends io.qt.core.QObject implements io.qt.dbus.QDBusPendingCall { static { QtJambi_LibraryUtilities.initialize(); } /** * This variable stores the meta-object for the class. */ public static final io.qt.core.@NonNull QMetaObject staticMetaObject = io.qt.core.QMetaObject.forType(QDBusPendingCallWatcher.class); /** *

See QDBusPendingCallWatcher::finished(QDBusPendingCallWatcher*)

*/ public final @NonNull Signal1Default1 finished = new Signal1Default1<>(()->null); /** *

See QDBusPendingCallWatcher::QDBusPendingCallWatcher(QDBusPendingCall,QObject*)

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

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::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); /** * Constructor for internal use only. * @param p expected to be null. * @hidden */ @NativeAccess protected QDBusPendingCallWatcher(QPrivateConstructor p) { super(p); } /** *

Overloaded constructor for {@link #QDBusPendingCallWatcher(io.qt.dbus.QDBusPendingCall, io.qt.core.QObject)} * with parent = null.

*/ public QDBusPendingCallWatcher(io.qt.dbus.@StrictNonNull QDBusPendingCall call) { this(call, (io.qt.core.QObject)null); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy