io.qt.widgets.QStylePlugin 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.widgets;
import io.qt.*;
/**
* Abstract base for custom QStyle plugins
* Java wrapper for Qt class QStylePlugin
*/
public abstract class QStylePlugin 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(QStylePlugin.class);
@NativeAccess
private static final class ConcreteWrapper extends QStylePlugin {
@NativeAccess
private ConcreteWrapper(QPrivateConstructor p) { super(p); }
@Override
@QtUninvokable
public io.qt.widgets.@Nullable QStyle create(java.lang.@NonNull String key){
return create_native_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), key);
}
@QtUninvokable
private native io.qt.widgets.QStyle create_native_cref_QString(long __this__nativeId, java.lang.String key);
}
/**
* See QStylePlugin:: QStylePlugin(QObject*)
*/
public QStylePlugin(io.qt.core.@Nullable QObject parent){
super((QPrivateConstructor)null);
initialize_native(this, parent);
}
private native static void initialize_native(QStylePlugin instance, io.qt.core.QObject parent);
/**
* See QStylePlugin:: create(QString)
*/
@QtUninvokable
public abstract io.qt.widgets.@Nullable QStyle create(java.lang.@NonNull String key);
@QtUninvokable
private native io.qt.widgets.QStyle create_native_cref_QString(long __this__nativeId, java.lang.String key);
/**
* Constructor for internal use only.
* @param p expected to be null
.
* @hidden
*/
@NativeAccess
protected QStylePlugin(QPrivateConstructor p) { super(p); }
/**
* Constructor for internal use only.
* It is not allowed to call the declarative constructor from inside Java.
* @hidden
*/
@NativeAccess
protected QStylePlugin(QDeclarativeConstructor constructor) {
super((QPrivateConstructor)null);
initialize_native(this, constructor);
}
@QtUninvokable
private static native void initialize_native(QStylePlugin instance, QDeclarativeConstructor constructor);
/**
* Overloaded constructor for {@link #QStylePlugin(io.qt.core.QObject)}
* with parent = null
.
*/
public QStylePlugin() {
this((io.qt.core.QObject)null);
}
}