io.qt.gui.QGenericPlugin Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of qtjambi Show documentation
Show all versions of qtjambi Show documentation
QtJambi base module containing QtCore, QtGui and QtWidgets.
package io.qt.gui;
import io.qt.*;
/**
* Abstract base class for plugins
* Java wrapper for Qt class QGenericPlugin
*/
public abstract class QGenericPlugin 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(QGenericPlugin.class);
@NativeAccess
private static final class ConcreteWrapper extends QGenericPlugin {
@NativeAccess
private ConcreteWrapper(QPrivateConstructor p) { super(p); }
@Override
@QtUninvokable
public io.qt.core.@Nullable QObject create(java.lang.@NonNull String name, java.lang.@NonNull String spec){
return create_native_cref_QString_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), name, spec);
}
@QtUninvokable
private native io.qt.core.QObject create_native_cref_QString_cref_QString(long __this__nativeId, java.lang.String name, java.lang.String spec);
}
/**
* See QGenericPlugin:: QGenericPlugin(QObject*)
*/
public QGenericPlugin(io.qt.core.@Nullable QObject parent){
super((QPrivateConstructor)null);
initialize_native(this, parent);
}
private native static void initialize_native(QGenericPlugin instance, io.qt.core.QObject parent);
/**
* See QGenericPlugin:: create(QString, QString)
*/
@QtUninvokable
public abstract io.qt.core.@Nullable QObject create(java.lang.@NonNull String name, java.lang.@NonNull String spec);
@QtUninvokable
private native io.qt.core.QObject create_native_cref_QString_cref_QString(long __this__nativeId, java.lang.String name, java.lang.String spec);
/**
* Constructor for internal use only.
* @param p expected to be null
.
* @hidden
*/
@NativeAccess
protected QGenericPlugin(QPrivateConstructor p) { super(p); }
/**
* Constructor for internal use only.
* It is not allowed to call the declarative constructor from inside Java.
* @hidden
*/
@NativeAccess
protected QGenericPlugin(QDeclarativeConstructor constructor) {
super((QPrivateConstructor)null);
initialize_native(this, constructor);
}
@QtUninvokable
private static native void initialize_native(QGenericPlugin instance, QDeclarativeConstructor constructor);
/**
* Overloaded constructor for {@link #QGenericPlugin(io.qt.core.QObject)}
* with parent = null
.
*/
public QGenericPlugin() {
this((io.qt.core.QObject)null);
}
}