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

io.qt.activex.QAxScriptManager Maven / Gradle / Ivy

There is a newer version: 6.8.0
Show newest version
package io.qt.activex;

import io.qt.*;


/**
 * 

Bridge between application objects and script code

*

Java wrapper for Qt class QAxScriptManager

*/ public class QAxScriptManager extends io.qt.core.QObject { static { QtJambi_LibraryUtilities.initialize(); } @QtPropertyMember(enabled=false) private java.util.Collection __rcObjects; /** * This variable stores the meta-object for the class. */ public static final io.qt.core.@NonNull QMetaObject staticMetaObject = io.qt.core.QMetaObject.forType(QAxScriptManager.class); /** *

See QAxScriptManager::error(QAxScript*,int,QString,int,QString)

*/ public final @NonNull Signal5 error = new Signal5<>(); /** *

See QAxScriptManager::QAxScriptManager(QObject*)

*/ public QAxScriptManager(io.qt.core.@Nullable QObject parent){ super((QPrivateConstructor)null); initialize_native(this, parent); } private native static void initialize_native(QAxScriptManager instance, io.qt.core.QObject parent); /** *

See QAxScriptManager::addObject(QAxBase*)

*/ @QtUninvokable public final void addObject(io.qt.activex.@Nullable QAxBase object){ addObject_native_QAxBase_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(object)); if (object != null) { if(__rcObjects==null) __rcObjects = QtJambi_LibraryUtilities.internal.newRCList(); __rcObjects.add(object); } } @QtUninvokable private native void addObject_native_QAxBase_ptr(long __this__nativeId, long object); /** *

See QAxScriptManager::call(QString,QList<QVariant>&)

*/ @QtUninvokable public final java.lang.Object call(java.lang.@NonNull String function, java.util.@NonNull Collection arguments){ return call_native_cref_QString_ref_QList(QtJambi_LibraryUtilities.internal.nativeId(this), function, arguments); } @QtUninvokable private native java.lang.Object call_native_cref_QString_ref_QList(long __this__nativeId, java.lang.String function, java.util.Collection arguments); /** *

See QAxScriptManager::call(QString,QVariant,QVariant,QVariant,QVariant,QVariant,QVariant,QVariant,QVariant)

*/ @QtUninvokable public final java.lang.Object call(java.lang.@NonNull String function, java.lang.Object v1, java.lang.Object v2, java.lang.Object v3, java.lang.Object v4, java.lang.Object v5, java.lang.Object v6, java.lang.Object v7, java.lang.Object v8){ return call_native_cref_QString_cref_QVariant_cref_QVariant_cref_QVariant_cref_QVariant_cref_QVariant_cref_QVariant_cref_QVariant_cref_QVariant(QtJambi_LibraryUtilities.internal.nativeId(this), function, v1, v2, v3, v4, v5, v6, v7, v8); } @QtUninvokable private native java.lang.Object call_native_cref_QString_cref_QVariant_cref_QVariant_cref_QVariant_cref_QVariant_cref_QVariant_cref_QVariant_cref_QVariant_cref_QVariant(long __this__nativeId, java.lang.String function, java.lang.Object v1, java.lang.Object v2, java.lang.Object v3, java.lang.Object v4, java.lang.Object v5, java.lang.Object v6, java.lang.Object v7, java.lang.Object v8); /** *

See QAxScriptManager::functions(QAxScript::FunctionFlags)const

*/ @QtUninvokable public final io.qt.core.@NonNull QStringList functions(io.qt.activex.QAxScript.@NonNull FunctionFlags arg__1){ return functions_native_QAxScript_FunctionFlags_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), arg__1.value()); } @QtUninvokable private native io.qt.core.QStringList functions_native_QAxScript_FunctionFlags_constfct(long __this__nativeId, int arg__1); /** *

See QAxScriptManager::load(QString,QString)

*/ @QtUninvokable public final io.qt.activex.@Nullable QAxScript load(java.lang.@NonNull String file, java.lang.@NonNull String name){ return load_native_cref_QString_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), file, name); } @QtUninvokable private native io.qt.activex.QAxScript load_native_cref_QString_cref_QString(long __this__nativeId, java.lang.String file, java.lang.String name); /** *

See QAxScriptManager::load(QString,QString,QString)

*/ @QtUninvokable public final io.qt.activex.@Nullable QAxScript load(java.lang.@NonNull String code, java.lang.@NonNull String name, java.lang.@NonNull String language){ return load_native_cref_QString_cref_QString_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), code, name, language); } @QtUninvokable private native io.qt.activex.QAxScript load_native_cref_QString_cref_QString_cref_QString(long __this__nativeId, java.lang.String code, java.lang.String name, java.lang.String language); /** *

See QAxScriptManager::script(QString)const

*/ @QtUninvokable public final io.qt.activex.@Nullable QAxScript script(java.lang.@NonNull String name){ return script_native_cref_QString_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), name); } @QtUninvokable private native io.qt.activex.QAxScript script_native_cref_QString_constfct(long __this__nativeId, java.lang.String name); /** *

See QAxScriptManager::scriptNames()const

*/ @QtUninvokable public final io.qt.core.@NonNull QStringList scriptNames(){ return scriptNames_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.core.QStringList scriptNames_native_constfct(long __this__nativeId); /** *

See QAxScriptManager::registerEngine(QString,QString,QString)

*/ public native static boolean registerEngine(java.lang.@NonNull String name, java.lang.@NonNull String extension, java.lang.@NonNull String code); /** *

See QAxScriptManager::scriptFileFilter()

*/ public native static java.lang.@NonNull String scriptFileFilter(); /** * Constructor for internal use only. * @param p expected to be null. * @hidden */ @NativeAccess protected QAxScriptManager(QPrivateConstructor p) { super(p); } /** * Constructor for internal use only. * It is not allowed to call the declarative constructor from inside Java. * @hidden */ @NativeAccess protected QAxScriptManager(QDeclarativeConstructor constructor) { super((QPrivateConstructor)null); initialize_native(this, constructor); } @QtUninvokable private static native void initialize_native(QAxScriptManager instance, QDeclarativeConstructor constructor); /** *

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

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

Overloaded function for {@link #call(java.lang.String, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object)} * with v8 = null.

*/ @QtUninvokable public final java.lang.Object call(java.lang.@NonNull String function, java.lang.Object v1, java.lang.Object v2, java.lang.Object v3, java.lang.Object v4, java.lang.Object v5, java.lang.Object v6, java.lang.Object v7) { return call(function, v1, v2, v3, v4, v5, v6, v7, (java.lang.Object)null); } /** *

Overloaded function for {@link #call(java.lang.String, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object)}

*

with:

    *
  • v7 = null
  • *
  • v8 = null
  • *
*/ @QtUninvokable public final java.lang.Object call(java.lang.@NonNull String function, java.lang.Object v1, java.lang.Object v2, java.lang.Object v3, java.lang.Object v4, java.lang.Object v5, java.lang.Object v6) { return call(function, v1, v2, v3, v4, v5, v6, (java.lang.Object)null, (java.lang.Object)null); } /** *

Overloaded function for {@link #call(java.lang.String, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object)}

*

with:

    *
  • v6 = null
  • *
  • v7 = null
  • *
  • v8 = null
  • *
*/ @QtUninvokable public final java.lang.Object call(java.lang.@NonNull String function, java.lang.Object v1, java.lang.Object v2, java.lang.Object v3, java.lang.Object v4, java.lang.Object v5) { return call(function, v1, v2, v3, v4, v5, (java.lang.Object)null, (java.lang.Object)null, (java.lang.Object)null); } /** *

Overloaded function for {@link #call(java.lang.String, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object)}

*

with:

    *
  • v5 = null
  • *
  • v6 = null
  • *
  • v7 = null
  • *
  • v8 = null
  • *
*/ @QtUninvokable public final java.lang.Object call(java.lang.@NonNull String function, java.lang.Object v1, java.lang.Object v2, java.lang.Object v3, java.lang.Object v4) { return call(function, v1, v2, v3, v4, (java.lang.Object)null, (java.lang.Object)null, (java.lang.Object)null, (java.lang.Object)null); } /** *

Overloaded function for {@link #call(java.lang.String, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object)}

*

with:

    *
  • v4 = null
  • *
  • v5 = null
  • *
  • v6 = null
  • *
  • v7 = null
  • *
  • v8 = null
  • *
*/ @QtUninvokable public final java.lang.Object call(java.lang.@NonNull String function, java.lang.Object v1, java.lang.Object v2, java.lang.Object v3) { return call(function, v1, v2, v3, (java.lang.Object)null, (java.lang.Object)null, (java.lang.Object)null, (java.lang.Object)null, (java.lang.Object)null); } /** *

Overloaded function for {@link #call(java.lang.String, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object)}

*

with:

    *
  • v3 = null
  • *
  • v4 = null
  • *
  • v5 = null
  • *
  • v6 = null
  • *
  • v7 = null
  • *
  • v8 = null
  • *
*/ @QtUninvokable public final java.lang.Object call(java.lang.@NonNull String function, java.lang.Object v1, java.lang.Object v2) { return call(function, v1, v2, (java.lang.Object)null, (java.lang.Object)null, (java.lang.Object)null, (java.lang.Object)null, (java.lang.Object)null, (java.lang.Object)null); } /** *

Overloaded function for {@link #call(java.lang.String, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object)}

*

with:

    *
  • v2 = null
  • *
  • v3 = null
  • *
  • v4 = null
  • *
  • v5 = null
  • *
  • v6 = null
  • *
  • v7 = null
  • *
  • v8 = null
  • *
*/ @QtUninvokable public final java.lang.Object call(java.lang.@NonNull String function, java.lang.Object v1) { return call(function, v1, (java.lang.Object)null, (java.lang.Object)null, (java.lang.Object)null, (java.lang.Object)null, (java.lang.Object)null, (java.lang.Object)null, (java.lang.Object)null); } /** *

Overloaded function for {@link #call(java.lang.String, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object)}

*

with:

    *
  • v1 = null
  • *
  • v2 = null
  • *
  • v3 = null
  • *
  • v4 = null
  • *
  • v5 = null
  • *
  • v6 = null
  • *
  • v7 = null
  • *
  • v8 = null
  • *
*/ @QtUninvokable public final java.lang.Object call(java.lang.@NonNull String function) { return call(function, (java.lang.Object)null, (java.lang.Object)null, (java.lang.Object)null, (java.lang.Object)null, (java.lang.Object)null, (java.lang.Object)null, (java.lang.Object)null, (java.lang.Object)null); } /** *

Overloaded function for {@link #functions(io.qt.activex.QAxScript.FunctionFlags)} * with arg__1 = io.qt.activex.QAxScript.FunctionFlags.FunctionNames.

*/ @QtUninvokable public final io.qt.core.@NonNull QStringList functions() { return functions(io.qt.activex.QAxScript.FunctionFlags.FunctionNames); } /** *

Overloaded function for {@link #registerEngine(java.lang.String, java.lang.String, java.lang.String)} * with code = (String)null.

*/ public static boolean registerEngine(java.lang.@NonNull String name, java.lang.@NonNull String extension) { return registerEngine(name, extension, (String)null); } }