java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.script.QScriptClass
- All Implemented Interfaces:
QtObjectInterface
public class QScriptClass extends QtObject
Interface for defining custom behavior of (a class of) Qt Script objects
Java wrapper for Qt class QScriptClass
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
QScriptClass.Extension
Java wrapper for Qt enum QScriptClass::Extensionstatic class
QScriptClass.QueryFlag
Java wrapper for Qt enum QScriptClass::QueryFlagstatic class
QScriptClass.QueryFlags
QFlags type for enumQScriptClass.QueryFlag
-
Constructor Summary
Constructors Modifier Constructor Description protected
QScriptClass(QtObject.QPrivateConstructor p)
Constructor for internal use only.QScriptClass(QScriptEngine engine)
-
Method Summary
Modifier and Type Method Description QScriptEngine
engine()
Object
extension(QScriptClass.Extension extension)
Overloaded function forextension(io.qt.script.QScriptClass.Extension, java.lang.Object)
withargument = null
.Object
extension(QScriptClass.Extension extension, Object argument)
String
name()
QScriptClassPropertyIterator
newIterator(QScriptValue object)
QScriptValue
property(QScriptValue object, QScriptString name, int id)
QScriptValue.PropertyFlags
propertyFlags(QScriptValue object, QScriptString name, int id)
QScriptValue
prototype()
QScriptClass.QueryFlags
queryProperty(QScriptValue object, QScriptString name, QScriptClass.QueryFlags flags, Integer id)
void
setProperty(QScriptValue object, QScriptString name, int id, QScriptValue value)
boolean
supportsExtension(QScriptClass.Extension extension)
-
Constructor Details
-
QScriptClass
-
QScriptClass
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
engine
-
extension
Overloaded function for
extension(io.qt.script.QScriptClass.Extension, java.lang.Object)
withargument = null
. -
extension
-
name
-
newIterator
-
property
-
propertyFlags
@QtUninvokable public QScriptValue.PropertyFlags propertyFlags(QScriptValue object, QScriptString name, int id) -
prototype
-
queryProperty
@QtUninvokable public QScriptClass.QueryFlags queryProperty(QScriptValue object, QScriptString name, QScriptClass.QueryFlags flags, Integer id) -
setProperty
@QtUninvokable public void setProperty(QScriptValue object, QScriptString name, int id, QScriptValue value) -
supportsExtension
-