java.lang.Object
io.qt.QtObject
io.qt.script.QScriptClass
- All Implemented Interfaces:
QtObjectInterface
Interface for defining custom behavior of (a class of) Qt Script objects
Java wrapper for Qt class QScriptClass
- Since:
- This class was introduced in Qt 4.4.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Java wrapper for Qt enumQScriptClass::Extension
static enum
Java wrapper for Qt enumQScriptClass::QueryFlag
static final class
QFlags
type for enumQScriptClass.QueryFlag
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal QScriptEngine
engine()
final Object
extension
(QScriptClass.Extension extension) Overloaded function forextension(io.qt.script.QScriptClass.Extension, java.lang.Object)
withargument = null
.extension
(QScriptClass.Extension extension, Object argument) name()
newIterator
(QScriptValue object) property
(QScriptValue object, QScriptString name, int id) propertyFlags
(QScriptValue object, QScriptString name, int id) 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) Methods inherited from class io.qt.QtObject
dispose, equals, isDisposed
-
Constructor Details
-
QScriptClass
- Parameters:
engine
-
-
-
Method Details
-
engine
- Returns:
-
extension
- Parameters:
extension
-argument
-- Returns:
-
name
- Returns:
-
newIterator
- Parameters:
object
-- Returns:
-
property
- Parameters:
object
-name
-id
-- Returns:
-
propertyFlags
@QtUninvokable public QScriptValue.PropertyFlags propertyFlags(QScriptValue object, QScriptString name, int id) - Parameters:
object
-name
-id
-- Returns:
-
prototype
- Returns:
-
queryProperty
@QtUninvokable public QScriptClass.QueryFlags queryProperty(QScriptValue object, QScriptString name, QScriptClass.QueryFlags flags, Integer id) - Parameters:
object
-name
-flags
-id
-- Returns:
-
setProperty
@QtUninvokable public void setProperty(QScriptValue object, QScriptString name, int id, QScriptValue value) - Parameters:
object
-name
-id
-value
-
-
supportsExtension
- Parameters:
extension
-- Returns:
-
extension
Overloaded function for
extension(io.qt.script.QScriptClass.Extension, java.lang.Object)
withargument = null
.
-