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

io.qt.script.QScriptExtensionPlugin Maven / Gradle / Ivy

Go to download

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.*;


/**
 * 

Abstract base for custom QScript extension plugins

*

Java wrapper for Qt class QScriptExtensionPlugin

* @since This class was introduced in Qt 4.3. */ public abstract class QScriptExtensionPlugin extends io.qt.core.QObject implements io.qt.script.QScriptExtensionInterface, io.qt.core.QFactoryInterface { 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(QScriptExtensionPlugin.class); @NativeAccess private static final class ConcreteWrapper extends QScriptExtensionPlugin { @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 QScriptExtensionPlugin::QScriptExtensionPlugin(QObject*)

* @param parent */ public QScriptExtensionPlugin(io.qt.core.@Nullable QObject parent){ super((QPrivateConstructor)null); initialize_native(this, parent); if (parent != null) QtJambi_LibraryUtilities.internal.setCppOwnership(this); } private native static void initialize_native(QScriptExtensionPlugin instance, io.qt.core.QObject parent); /** *

See QScriptExtensionPlugin::setupPackage(QString,QScriptEngine*)const

* @param key * @param engine * @return */ @QtUninvokable public final io.qt.script.@NonNull QScriptValue setupPackage(java.lang.@NonNull String key, io.qt.script.@Nullable QScriptEngine engine){ return setupPackage_native_cref_QString_QScriptEngine_ptr_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), key, QtJambi_LibraryUtilities.internal.checkedNativeId(engine)); } @QtUninvokable private native io.qt.script.QScriptValue setupPackage_native_cref_QString_QScriptEngine_ptr_constfct(long __this__nativeId, java.lang.String key, long engine); /** *

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 QScriptExtensionPlugin(QPrivateConstructor p) { super(p); } /** * Constructor for internal use only. * It is not allowed to call the declarative constructor from inside Java. * @hidden */ @NativeAccess protected QScriptExtensionPlugin(QDeclarativeConstructor constructor) { super((QPrivateConstructor)null); initialize_native(this, constructor); } @QtUninvokable private static native void initialize_native(QScriptExtensionPlugin instance, QDeclarativeConstructor constructor); /** *

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

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy