io.qt.script.QScriptExtensionInterface Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of qtjambi-script Show documentation
Show all versions of qtjambi-script Show documentation
Classes for making Qt applications scriptable. Deprecated in favor of the QJS* classes in the Qt QML module.
The newest version!
package io.qt.script;
import io.qt.*;
/**
* Java wrapper for Qt class QScriptExtensionInterface
*/
public interface QScriptExtensionInterface extends QtObjectInterface, io.qt.core.QFactoryInterface
{
/**
* @hidden
* Implementor class for interface {@link io.qt.script.QScriptExtensionInterface}
*/
public static abstract class Impl extends QtObject
implements io.qt.script.QScriptExtensionInterface,
io.qt.core.QFactoryInterface
{
static {
QtJambi_LibraryUtilities.initialize();
}
@NativeAccess
private static final class ConcreteWrapper extends QScriptExtensionInterface.Impl {
@NativeAccess
private ConcreteWrapper(QPrivateConstructor p) { super(p); }
@Override
@QtUninvokable
public void initialize(java.lang.@NonNull String key, io.qt.script.@Nullable QScriptEngine engine){
initialize_native_cref_QString_QScriptEngine_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), key, QtJambi_LibraryUtilities.internal.checkedNativeId(engine));
}
private native static void initialize_native_cref_QString_QScriptEngine_ptr(long __this__nativeId, java.lang.String key, long engine);
@Override
@QtUninvokable
public java.util.@NonNull List keys(){
return keys_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private native static java.util.List keys_native_constfct(long __this__nativeId);
}
/**
* See QScriptExtensionInterface:: QScriptExtensionInterface()
*/
public Impl(){
super((QPrivateConstructor)null);
initialize_native(this);
}
private native static void initialize_native(QScriptExtensionInterface instance);
/**
* See QScriptExtensionInterface:: initialize(QString, QScriptEngine*)
* @param key
* @param engine
*/
@QtUninvokable
public abstract void initialize(java.lang.@NonNull String key, io.qt.script.@Nullable QScriptEngine engine);
private native static void initialize_native_cref_QString_QScriptEngine_ptr(long __this__nativeId, java.lang.String key, long engine);
/**
* See QFactoryInterface:: keys()const
* @return
*/
@QtUninvokable
public abstract java.util.@NonNull List keys();
private native static java.util.List keys_native_constfct(long __this__nativeId);
/**
* Constructor for internal use only.
* @param p expected to be null
.
* @hidden
*/
@NativeAccess
protected Impl(QPrivateConstructor p) { super(p); }
}
/**
* See QScriptExtensionInterface:: initialize(QString, QScriptEngine*)
* @param key
* @param engine
*/
@QtUninvokable
public void initialize(java.lang.@NonNull String key, io.qt.script.@Nullable QScriptEngine engine);
/**
* See QFactoryInterface:: keys()const
* @return
*/
@QtUninvokable
public java.util.@NonNull List keys();
}