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

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

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

import io.qt.*;


/**
 * 

Peer-to-peer communication between processes on the same computer

*

Java wrapper for Qt class QDBusServer

*/ public class QDBusServer extends io.qt.core.QObject { 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(QDBusServer.class); /** *

See QDBusServer::newConnection(QDBusConnection)

*/ public final @NonNull Signal1 newConnection = new Signal1<>(); /** *

See QDBusServer::QDBusServer(QObject*)

*/ public QDBusServer(io.qt.core.@Nullable QObject parent){ super((QPrivateConstructor)null); initialize_native(this, parent); } private native static void initialize_native(QDBusServer instance, io.qt.core.QObject parent); /** *

See QDBusServer::QDBusServer(QString,QObject*)

*/ public QDBusServer(java.lang.@NonNull String address, io.qt.core.@Nullable QObject parent){ super((QPrivateConstructor)null); initialize_native(this, address, parent); } private native static void initialize_native(QDBusServer instance, java.lang.String address, io.qt.core.QObject parent); /** *

See QDBusServer::address()const

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

See QDBusServer::isAnonymousAuthenticationAllowed()const

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

See QDBusServer::isConnected()const

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

See QDBusServer::lastError()const

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

See QDBusServer::setAnonymousAuthenticationAllowed(bool)

*/ @QtUninvokable public final void setAnonymousAuthenticationAllowed(boolean value){ setAnonymousAuthenticationAllowed_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), value); } @QtUninvokable private native void setAnonymousAuthenticationAllowed_native_bool(long __this__nativeId, boolean value); /** * Constructor for internal use only. * @param p expected to be null. * @hidden */ @NativeAccess protected QDBusServer(QPrivateConstructor p) { super(p); } /** * Constructor for internal use only. * It is not allowed to call the declarative constructor from inside Java. * @hidden */ @NativeAccess protected QDBusServer(QDeclarativeConstructor constructor) { super((QPrivateConstructor)null); initialize_native(this, constructor); } @QtUninvokable private static native void initialize_native(QDBusServer instance, QDeclarativeConstructor constructor); /** *

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

*/ public QDBusServer() { this((io.qt.core.QObject)null); } /** *

Overloaded constructor for {@link #QDBusServer(java.lang.String, io.qt.core.QObject)} * with parent = null.

*/ public QDBusServer(java.lang.@NonNull String address) { this(address, (io.qt.core.QObject)null); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy