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

io.qt.script.QScriptable 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.*;


/**
 * 

Access to the Qt Script environment from Qt C++ member functions

*

Java wrapper for Qt class QScriptable

* @since This class was introduced in Qt 4.3. */ public interface QScriptable extends QtObjectInterface { /** * @hidden *

Implementor class for interface {@link io.qt.script.QScriptable}

*/ public static class Impl extends QtObject implements io.qt.script.QScriptable { static { QtJambi_LibraryUtilities.initialize(); } /** *

See QScriptable::QScriptable()

*/ public Impl(){ super((QPrivateConstructor)null); initialize_native(this); } private native static void initialize_native(QScriptable instance); /** *

See QScriptable::argument(int)const

* @param index * @return */ @QtUninvokable public final io.qt.script.@NonNull QScriptValue argument(int index){ return argument_native_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), index); } private native static io.qt.script.QScriptValue argument_native_int_constfct(long __this__nativeId, int index); /** *

See QScriptable::argumentCount()const

* @return */ @QtUninvokable public final int argumentCount(){ return argumentCount_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } private native static int argumentCount_native_constfct(long __this__nativeId); /** *

See QScriptable::context()const

* @return */ @QtUninvokable public final io.qt.script.@Nullable QScriptContext context(){ return context_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } private native static io.qt.script.QScriptContext context_native_constfct(long __this__nativeId); /** *

See QScriptable::engine()const

* @return */ @QtUninvokable public final io.qt.script.@Nullable QScriptEngine engine(){ return engine_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } private native static io.qt.script.QScriptEngine engine_native_constfct(long __this__nativeId); /** *

See QScriptable::thisObject()const

* @return */ @QtUninvokable public final io.qt.script.@NonNull QScriptValue thisObject(){ return thisObject_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } private native static io.qt.script.QScriptValue thisObject_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 QScriptable::argument(int)const

* @param index * @return */ @QtDeclaredFinal @QtUninvokable public default io.qt.script.@NonNull QScriptValue argument(int index){ return Impl.argument_native_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), index); } /** *

See QScriptable::argumentCount()const

* @return */ @QtDeclaredFinal @QtUninvokable public default int argumentCount(){ return Impl.argumentCount_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } /** *

See QScriptable::context()const

* @return */ @QtDeclaredFinal @QtUninvokable public default io.qt.script.@Nullable QScriptContext context(){ return Impl.context_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } /** *

See QScriptable::engine()const

* @return */ @QtDeclaredFinal @QtUninvokable public default io.qt.script.@Nullable QScriptEngine engine(){ return Impl.engine_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } /** *

See QScriptable::thisObject()const

* @return */ @QtDeclaredFinal @QtUninvokable public default io.qt.script.@NonNull QScriptValue thisObject(){ return Impl.thisObject_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy