io.qt.activex.QAxBaseObject Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of qtjambi-activex Show documentation
Show all versions of qtjambi-activex Show documentation
Classes for applications which use ActiveX and COM
package io.qt.activex;
import io.qt.*;
/**
* Static properties and signals for QAxObject
* Java wrapper for Qt class QAxBaseObject
* This class was introduced in Qt 6.0.
*/
public abstract class QAxBaseObject extends io.qt.core.QObject
implements io.qt.activex.QAxObjectInterface
{
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(QAxBaseObject.class);
@NativeAccess
private static final class ConcreteWrapper extends QAxBaseObject {
@NativeAccess
private ConcreteWrapper(QPrivateConstructor p) { super(p); }
@Override
@QtUninvokable
public int classContext(){
return classContext_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private native static int classContext_native_constfct(long __this__nativeId);
@Override
@QtUninvokable
public java.lang.@NonNull String control(){
return control_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private native static java.lang.String control_native_constfct(long __this__nativeId);
@Override
@QtUninvokable
public void resetControl(){
resetControl_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private native static void resetControl_native(long __this__nativeId);
@Override
@QtUninvokable
public void setClassContext(int classContext){
setClassContext_native_ulong(QtJambi_LibraryUtilities.internal.nativeId(this), classContext);
}
private native static void setClassContext_native_ulong(long __this__nativeId, int classContext);
@Override
@QtUninvokable
public boolean setControl(java.lang.@NonNull String c){
return setControl_native_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), c);
}
private native static boolean setControl_native_cref_QString(long __this__nativeId, java.lang.String c);
}
/**
* See QAxBaseObject:: exception(int, QString, QString, QString)
*/
public final @NonNull Signal4 exception = new Signal4<>();
/**
* See QAxBaseObject:: propertyChanged(QString)
*/
public final @NonNull Signal1 propertyChanged = new Signal1<>();
/**
* See QAxBaseObject:: signal(QString, int, void*)
*/
@SuppressWarnings({"unused"})
private final @NonNull Signal3 signal = new Signal3<>();
/**
* See QAxBaseObject:: QAxBaseObject(QObject*)
*/
protected QAxBaseObject(io.qt.core.@Nullable QObject parent){
super((QPrivateConstructor)null);
initialize_native(this, parent);
}
private native static void initialize_native(QAxBaseObject instance, io.qt.core.QObject parent);
/**
* See QAxObjectInterface:: classContext()const
*/
@QtUninvokable
public abstract int classContext();
private native static int classContext_native_constfct(long __this__nativeId);
/**
* See QAxObjectInterface:: control()const
*/
@QtUninvokable
public abstract java.lang.@NonNull String control();
private native static java.lang.String control_native_constfct(long __this__nativeId);
/**
* See QAxObjectInterface:: resetControl()
*/
@QtUninvokable
public abstract void resetControl();
private native static void resetControl_native(long __this__nativeId);
/**
* See QAxObjectInterface:: setClassContext(ulong)
*/
@QtUninvokable
public abstract void setClassContext(int classContext);
private native static void setClassContext_native_ulong(long __this__nativeId, int classContext);
/**
* See QAxObjectInterface:: setControl(QString)
*/
@QtUninvokable
public abstract boolean setControl(java.lang.@NonNull String c);
private native static boolean setControl_native_cref_QString(long __this__nativeId, java.lang.String c);
/**
* Constructor for internal use only.
* @param p expected to be null
.
* @hidden
*/
@NativeAccess
protected QAxBaseObject(QPrivateConstructor p) { super(p); }
/**
* Constructor for internal use only.
* It is not allowed to call the declarative constructor from inside Java.
* @hidden
*/
@NativeAccess
protected QAxBaseObject(QDeclarativeConstructor constructor) {
super((QPrivateConstructor)null);
initialize_native(this, constructor);
}
@QtUninvokable
private static native void initialize_native(QAxBaseObject instance, QDeclarativeConstructor constructor);
/**
* Overloaded constructor for {@link #QAxBaseObject(io.qt.core.QObject)}
* with parent = null
.
*/
protected QAxBaseObject() {
this((io.qt.core.QObject)null);
}
}