Documentation ¶
Index ¶
- func QScriptEngine_Tr(s string) string
- func QScriptEngine_Tr2(s string, c string) string
- func QScriptEngine_Tr3(s string, c string, n int) string
- func QScriptEngine_TrUtf8(s string) string
- func QScriptEngine_TrUtf82(s string, c string) string
- func QScriptEngine_TrUtf83(s string, c string, n int) string
- func QScriptExtensionPlugin_Tr(s string) string
- func QScriptExtensionPlugin_Tr2(s string, c string) string
- func QScriptExtensionPlugin_Tr3(s string, c string, n int) string
- func QScriptExtensionPlugin_TrUtf8(s string) string
- func QScriptExtensionPlugin_TrUtf82(s string, c string) string
- func QScriptExtensionPlugin_TrUtf83(s string, c string, n int) string
- type QScriptClass
- func (this *QScriptClass) Delete()
- func (this *QScriptClass) Engine() *QScriptEngine
- func (this *QScriptClass) Extension(extension QScriptClass__Extension, argument *qt.QVariant) *qt.QVariant
- func (this *QScriptClass) GoGC()
- func (this *QScriptClass) Name() string
- func (this *QScriptClass) NewIterator(object *QScriptValue) *QScriptClassPropertyIterator
- func (this *QScriptClass) OnExtension(slot func(...) *qt.QVariant)
- func (this *QScriptClass) OnName(slot func(super func() string) string)
- func (this *QScriptClass) OnNewIterator(...)
- func (this *QScriptClass) OnProperty(...)
- func (this *QScriptClass) OnPropertyFlags(slot func(...) QScriptValue__PropertyFlag)
- func (this *QScriptClass) OnPrototype(slot func(super func() *QScriptValue) *QScriptValue)
- func (this *QScriptClass) OnQueryProperty(slot func(...) QScriptClass__QueryFlag)
- func (this *QScriptClass) OnSetProperty(slot func(...))
- func (this *QScriptClass) OnSupportsExtension(slot func(super func(extension QScriptClass__Extension) bool, ...) bool)
- func (this *QScriptClass) Property(object *QScriptValue, name *QScriptString, id uint) *QScriptValue
- func (this *QScriptClass) PropertyFlags(object *QScriptValue, name *QScriptString, id uint) QScriptValue__PropertyFlag
- func (this *QScriptClass) Prototype() *QScriptValue
- func (this *QScriptClass) QueryProperty(object *QScriptValue, name *QScriptString, flags QScriptClass__QueryFlag, ...) QScriptClass__QueryFlag
- func (this *QScriptClass) SetProperty(object *QScriptValue, name *QScriptString, id uint, value *QScriptValue)
- func (this *QScriptClass) SupportsExtension(extension QScriptClass__Extension) bool
- func (this *QScriptClass) UnsafePointer() unsafe.Pointer
- type QScriptClassPropertyIterator
- func (this *QScriptClassPropertyIterator) Delete()
- func (this *QScriptClassPropertyIterator) Flags() QScriptValue__PropertyFlag
- func (this *QScriptClassPropertyIterator) GoGC()
- func (this *QScriptClassPropertyIterator) HasNext() bool
- func (this *QScriptClassPropertyIterator) HasPrevious() bool
- func (this *QScriptClassPropertyIterator) Id() uint
- func (this *QScriptClassPropertyIterator) Name() *QScriptString
- func (this *QScriptClassPropertyIterator) Next()
- func (this *QScriptClassPropertyIterator) Object() *QScriptValue
- func (this *QScriptClassPropertyIterator) Previous()
- func (this *QScriptClassPropertyIterator) ToBack()
- func (this *QScriptClassPropertyIterator) ToFront()
- func (this *QScriptClassPropertyIterator) UnsafePointer() unsafe.Pointer
- type QScriptClass__Extension
- type QScriptClass__QueryFlag
- type QScriptContext
- func (this *QScriptContext) ActivationObject() *QScriptValue
- func (this *QScriptContext) Argument(index int) *QScriptValue
- func (this *QScriptContext) ArgumentCount() int
- func (this *QScriptContext) ArgumentsObject() *QScriptValue
- func (this *QScriptContext) Backtrace() []string
- func (this *QScriptContext) Callee() *QScriptValue
- func (this *QScriptContext) Delete()
- func (this *QScriptContext) Engine() *QScriptEngine
- func (this *QScriptContext) GoGC()
- func (this *QScriptContext) IsCalledAsConstructor() bool
- func (this *QScriptContext) ParentContext() *QScriptContext
- func (this *QScriptContext) PopScope() *QScriptValue
- func (this *QScriptContext) PushScope(object *QScriptValue)
- func (this *QScriptContext) ReturnValue() *QScriptValue
- func (this *QScriptContext) ScopeChain() []QScriptValue
- func (this *QScriptContext) SetActivationObject(activation *QScriptValue)
- func (this *QScriptContext) SetReturnValue(result *QScriptValue)
- func (this *QScriptContext) SetThisObject(thisObject *QScriptValue)
- func (this *QScriptContext) State() QScriptContext__ExecutionState
- func (this *QScriptContext) ThisObject() *QScriptValue
- func (this *QScriptContext) ThrowError(error QScriptContext__Error, text string) *QScriptValue
- func (this *QScriptContext) ThrowErrorWithText(text string) *QScriptValue
- func (this *QScriptContext) ThrowValue(value *QScriptValue) *QScriptValue
- func (this *QScriptContext) ToString() string
- func (this *QScriptContext) UnsafePointer() unsafe.Pointer
- type QScriptContextInfo
- func (this *QScriptContextInfo) ColumnNumber() int
- func (this *QScriptContextInfo) Delete()
- func (this *QScriptContextInfo) FileName() string
- func (this *QScriptContextInfo) FunctionEndLineNumber() int
- func (this *QScriptContextInfo) FunctionMetaIndex() int
- func (this *QScriptContextInfo) FunctionName() string
- func (this *QScriptContextInfo) FunctionParameterNames() []string
- func (this *QScriptContextInfo) FunctionStartLineNumber() int
- func (this *QScriptContextInfo) FunctionType() QScriptContextInfo__FunctionType
- func (this *QScriptContextInfo) GoGC()
- func (this *QScriptContextInfo) IsNull() bool
- func (this *QScriptContextInfo) LineNumber() int
- func (this *QScriptContextInfo) OperatorAssign(other *QScriptContextInfo)
- func (this *QScriptContextInfo) OperatorEqual(other *QScriptContextInfo) bool
- func (this *QScriptContextInfo) OperatorNotEqual(other *QScriptContextInfo) bool
- func (this *QScriptContextInfo) ScriptId() int64
- func (this *QScriptContextInfo) UnsafePointer() unsafe.Pointer
- type QScriptContextInfo__FunctionType
- type QScriptContext__Error
- type QScriptContext__ExecutionState
- type QScriptEngine
- func (this *QScriptEngine) AbortEvaluation()
- func (this *QScriptEngine) AbortEvaluation1(result *QScriptValue)
- func (this *QScriptEngine) Agent() *QScriptEngineAgent
- func (this *QScriptEngine) AvailableExtensions() []string
- func (this *QScriptEngine) CanEvaluate(program string) bool
- func (this *QScriptEngine) ClearExceptions()
- func (this *QScriptEngine) CollectGarbage()
- func (this *QScriptEngine) CurrentContext() *QScriptContext
- func (this *QScriptEngine) DefaultPrototype(metaTypeId int) *QScriptValue
- func (this *QScriptEngine) Delete()
- func (this *QScriptEngine) Evaluate(program string) *QScriptValue
- func (this *QScriptEngine) Evaluate2(program string, fileName string) *QScriptValue
- func (this *QScriptEngine) Evaluate3(program string, fileName string, lineNumber int) *QScriptValue
- func (this *QScriptEngine) EvaluateWithProgram(program *QScriptProgram) *QScriptValue
- func (this *QScriptEngine) GlobalObject() *QScriptValue
- func (this *QScriptEngine) GoGC()
- func (this *QScriptEngine) HasUncaughtException() bool
- func (this *QScriptEngine) ImportExtension(extension string) *QScriptValue
- func (this *QScriptEngine) ImportedExtensions() []string
- func (this *QScriptEngine) InstallTranslatorFunctions()
- func (this *QScriptEngine) InstallTranslatorFunctions1(object *QScriptValue)
- func (this *QScriptEngine) IsEvaluating() bool
- func (this *QScriptEngine) MetaObject() *qt.QMetaObject
- func (this *QScriptEngine) Metacast(param1 string) unsafe.Pointer
- func (this *QScriptEngine) NewActivationObject() *QScriptValue
- func (this *QScriptEngine) NewArray() *QScriptValue
- func (this *QScriptEngine) NewArray1(length uint) *QScriptValue
- func (this *QScriptEngine) NewDate(value float64) *QScriptValue
- func (this *QScriptEngine) NewDateWithValue(value *qt.QDateTime) *QScriptValue
- func (this *QScriptEngine) NewObject() *QScriptValue
- func (this *QScriptEngine) NewObject2(scriptClass *QScriptClass, data *QScriptValue) *QScriptValue
- func (this *QScriptEngine) NewObjectWithScriptClass(scriptClass *QScriptClass) *QScriptValue
- func (this *QScriptEngine) NewQMetaObject(metaObject *qt.QMetaObject) *QScriptValue
- func (this *QScriptEngine) NewQMetaObject2(metaObject *qt.QMetaObject, ctor *QScriptValue) *QScriptValue
- func (this *QScriptEngine) NewQObject(object *qt.QObject) *QScriptValue
- func (this *QScriptEngine) NewQObject2(scriptObject *QScriptValue, qtObject *qt.QObject) *QScriptValue
- func (this *QScriptEngine) NewQObject22(object *qt.QObject, ownership QScriptEngine__ValueOwnership) *QScriptValue
- func (this *QScriptEngine) NewQObject3(object *qt.QObject, ownership QScriptEngine__ValueOwnership, ...) *QScriptValue
- func (this *QScriptEngine) NewQObject32(scriptObject *QScriptValue, qtObject *qt.QObject, ...) *QScriptValue
- func (this *QScriptEngine) NewQObject4(scriptObject *QScriptValue, qtObject *qt.QObject, ...) *QScriptValue
- func (this *QScriptEngine) NewRegExp(regexp *qt.QRegExp) *QScriptValue
- func (this *QScriptEngine) NewRegExp2(pattern string, flags string) *QScriptValue
- func (this *QScriptEngine) NewVariant(value *qt.QVariant) *QScriptValue
- func (this *QScriptEngine) NewVariant2(object *QScriptValue, value *qt.QVariant) *QScriptValue
- func (this *QScriptEngine) NullValue() *QScriptValue
- func (this *QScriptEngine) ObjectById(id int64) *QScriptValue
- func (this *QScriptEngine) OnChildEvent(slot func(super func(event *qt.QChildEvent), event *qt.QChildEvent))
- func (this *QScriptEngine) OnConnectNotify(slot func(super func(signal *qt.QMetaMethod), signal *qt.QMetaMethod))
- func (this *QScriptEngine) OnCustomEvent(slot func(super func(event *qt.QEvent), event *qt.QEvent))
- func (this *QScriptEngine) OnDisconnectNotify(slot func(super func(signal *qt.QMetaMethod), signal *qt.QMetaMethod))
- func (this *QScriptEngine) OnEvent(slot func(super func(event *qt.QEvent) bool, event *qt.QEvent) bool)
- func (this *QScriptEngine) OnEventFilter(...)
- func (this *QScriptEngine) OnSignalHandlerException(slot func(exception *QScriptValue))
- func (this *QScriptEngine) OnTimerEvent(slot func(super func(event *qt.QTimerEvent), event *qt.QTimerEvent))
- func (this *QScriptEngine) PopContext()
- func (this *QScriptEngine) ProcessEventsInterval() int
- func (this *QScriptEngine) PushContext() *QScriptContext
- func (this *QScriptEngine) ReportAdditionalMemoryCost(size int)
- func (this *QScriptEngine) SetAgent(agent *QScriptEngineAgent)
- func (this *QScriptEngine) SetDefaultPrototype(metaTypeId int, prototype *QScriptValue)
- func (this *QScriptEngine) SetGlobalObject(object *QScriptValue)
- func (this *QScriptEngine) SetProcessEventsInterval(interval int)
- func (this *QScriptEngine) SignalHandlerException(exception *QScriptValue)
- func (this *QScriptEngine) ToObject(value *QScriptValue) *QScriptValue
- func (this *QScriptEngine) ToStringHandle(str string) *QScriptString
- func (this *QScriptEngine) UncaughtException() *QScriptValue
- func (this *QScriptEngine) UncaughtExceptionBacktrace() []string
- func (this *QScriptEngine) UncaughtExceptionLineNumber() int
- func (this *QScriptEngine) UndefinedValue() *QScriptValue
- func (this *QScriptEngine) UnsafePointer() unsafe.Pointer
- type QScriptEngineAgent
- func (this *QScriptEngineAgent) ContextPop()
- func (this *QScriptEngineAgent) ContextPush()
- func (this *QScriptEngineAgent) Delete()
- func (this *QScriptEngineAgent) Engine() *QScriptEngine
- func (this *QScriptEngineAgent) ExceptionCatch(scriptId int64, exception *QScriptValue)
- func (this *QScriptEngineAgent) ExceptionThrow(scriptId int64, exception *QScriptValue, hasHandler bool)
- func (this *QScriptEngineAgent) Extension(extension QScriptEngineAgent__Extension, argument *qt.QVariant) *qt.QVariant
- func (this *QScriptEngineAgent) FunctionEntry(scriptId int64)
- func (this *QScriptEngineAgent) FunctionExit(scriptId int64, returnValue *QScriptValue)
- func (this *QScriptEngineAgent) GoGC()
- func (this *QScriptEngineAgent) OnContextPop(slot func(super func()))
- func (this *QScriptEngineAgent) OnContextPush(slot func(super func()))
- func (this *QScriptEngineAgent) OnExceptionCatch(...)
- func (this *QScriptEngineAgent) OnExceptionThrow(...)
- func (this *QScriptEngineAgent) OnExtension(slot func(...) *qt.QVariant)
- func (this *QScriptEngineAgent) OnFunctionEntry(slot func(super func(scriptId int64), scriptId int64))
- func (this *QScriptEngineAgent) OnFunctionExit(...)
- func (this *QScriptEngineAgent) OnPositionChange(...)
- func (this *QScriptEngineAgent) OnScriptLoad(...)
- func (this *QScriptEngineAgent) OnScriptUnload(slot func(super func(id int64), id int64))
- func (this *QScriptEngineAgent) OnSupportsExtension(slot func(super func(extension QScriptEngineAgent__Extension) bool, ...) bool)
- func (this *QScriptEngineAgent) PositionChange(scriptId int64, lineNumber int, columnNumber int)
- func (this *QScriptEngineAgent) ScriptLoad(id int64, program string, fileName string, baseLineNumber int)
- func (this *QScriptEngineAgent) ScriptUnload(id int64)
- func (this *QScriptEngineAgent) SupportsExtension(extension QScriptEngineAgent__Extension) bool
- func (this *QScriptEngineAgent) UnsafePointer() unsafe.Pointer
- type QScriptEngineAgent__Extension
- type QScriptEngine__QObjectWrapOption
- type QScriptEngine__ValueOwnership
- type QScriptExtensionInterface
- func (this *QScriptExtensionInterface) Delete()
- func (this *QScriptExtensionInterface) GoGC()
- func (this *QScriptExtensionInterface) Initialize(key string, engine *QScriptEngine)
- func (this *QScriptExtensionInterface) OnInitialize(slot func(key string, engine *QScriptEngine))
- func (this *QScriptExtensionInterface) OnKeys(slot func() []string)
- func (this *QScriptExtensionInterface) OperatorAssign(param1 *QScriptExtensionInterface)
- func (this *QScriptExtensionInterface) UnsafePointer() unsafe.Pointer
- type QScriptExtensionPlugin
- func (this *QScriptExtensionPlugin) Delete()
- func (this *QScriptExtensionPlugin) GoGC()
- func (this *QScriptExtensionPlugin) Initialize(key string, engine *QScriptEngine)
- func (this *QScriptExtensionPlugin) Keys() []string
- func (this *QScriptExtensionPlugin) MetaObject() *qt.QMetaObject
- func (this *QScriptExtensionPlugin) Metacast(param1 string) unsafe.Pointer
- func (this *QScriptExtensionPlugin) OnChildEvent(slot func(super func(event *qt.QChildEvent), event *qt.QChildEvent))
- func (this *QScriptExtensionPlugin) OnConnectNotify(slot func(super func(signal *qt.QMetaMethod), signal *qt.QMetaMethod))
- func (this *QScriptExtensionPlugin) OnCustomEvent(slot func(super func(event *qt.QEvent), event *qt.QEvent))
- func (this *QScriptExtensionPlugin) OnDisconnectNotify(slot func(super func(signal *qt.QMetaMethod), signal *qt.QMetaMethod))
- func (this *QScriptExtensionPlugin) OnEvent(slot func(super func(event *qt.QEvent) bool, event *qt.QEvent) bool)
- func (this *QScriptExtensionPlugin) OnEventFilter(...)
- func (this *QScriptExtensionPlugin) OnInitialize(slot func(key string, engine *QScriptEngine))
- func (this *QScriptExtensionPlugin) OnKeys(slot func() []string)
- func (this *QScriptExtensionPlugin) OnTimerEvent(slot func(super func(event *qt.QTimerEvent), event *qt.QTimerEvent))
- func (this *QScriptExtensionPlugin) SetupPackage(key string, engine *QScriptEngine) *QScriptValue
- func (this *QScriptExtensionPlugin) UnsafePointer() unsafe.Pointer
- type QScriptProgram
- func NewQScriptProgram() *QScriptProgram
- func NewQScriptProgram2(sourceCode string) *QScriptProgram
- func NewQScriptProgram3(other *QScriptProgram) *QScriptProgram
- func NewQScriptProgram4(sourceCode string, fileName string) *QScriptProgram
- func NewQScriptProgram5(sourceCode string, fileName string, firstLineNumber int) *QScriptProgram
- func UnsafeNewQScriptProgram(h unsafe.Pointer) *QScriptProgram
- func (this *QScriptProgram) Delete()
- func (this *QScriptProgram) FileName() string
- func (this *QScriptProgram) FirstLineNumber() int
- func (this *QScriptProgram) GoGC()
- func (this *QScriptProgram) IsNull() bool
- func (this *QScriptProgram) OperatorAssign(other *QScriptProgram)
- func (this *QScriptProgram) OperatorEqual(other *QScriptProgram) bool
- func (this *QScriptProgram) OperatorNotEqual(other *QScriptProgram) bool
- func (this *QScriptProgram) SourceCode() string
- func (this *QScriptProgram) UnsafePointer() unsafe.Pointer
- type QScriptString
- func (this *QScriptString) Delete()
- func (this *QScriptString) GoGC()
- func (this *QScriptString) IsValid() bool
- func (this *QScriptString) OperatorAssign(other *QScriptString)
- func (this *QScriptString) OperatorEqual(other *QScriptString) bool
- func (this *QScriptString) OperatorNotEqual(other *QScriptString) bool
- func (this *QScriptString) ToArrayIndex() uint
- func (this *QScriptString) ToArrayIndex1(ok *bool) uint
- func (this *QScriptString) ToString() string
- func (this *QScriptString) UnsafePointer() unsafe.Pointer
- type QScriptSyntaxCheckResult
- func (this *QScriptSyntaxCheckResult) Delete()
- func (this *QScriptSyntaxCheckResult) ErrorColumnNumber() int
- func (this *QScriptSyntaxCheckResult) ErrorLineNumber() int
- func (this *QScriptSyntaxCheckResult) ErrorMessage() string
- func (this *QScriptSyntaxCheckResult) GoGC()
- func (this *QScriptSyntaxCheckResult) OperatorAssign(other *QScriptSyntaxCheckResult)
- func (this *QScriptSyntaxCheckResult) State() QScriptSyntaxCheckResult__State
- func (this *QScriptSyntaxCheckResult) UnsafePointer() unsafe.Pointer
- type QScriptSyntaxCheckResult__State
- type QScriptValue
- func NewQScriptValue() *QScriptValue
- func NewQScriptValue10(value QScriptValue__SpecialValue) *QScriptValue
- func NewQScriptValue11(value bool) *QScriptValue
- func NewQScriptValue12(value int) *QScriptValue
- func NewQScriptValue13(value uint) *QScriptValue
- func NewQScriptValue14(value float64) *QScriptValue
- func NewQScriptValue15(value string) *QScriptValue
- func NewQScriptValue16(value string) *QScriptValue
- func NewQScriptValue2(other *QScriptValue) *QScriptValue
- func NewQScriptValue3(engine *QScriptEngine, val QScriptValue__SpecialValue) *QScriptValue
- func NewQScriptValue4(engine *QScriptEngine, val bool) *QScriptValue
- func NewQScriptValue5(engine *QScriptEngine, val int) *QScriptValue
- func NewQScriptValue6(engine *QScriptEngine, val uint) *QScriptValue
- func NewQScriptValue7(engine *QScriptEngine, val float64) *QScriptValue
- func NewQScriptValue8(engine *QScriptEngine, val string) *QScriptValue
- func NewQScriptValue9(engine *QScriptEngine, val string) *QScriptValue
- func UnsafeNewQScriptValue(h unsafe.Pointer) *QScriptValue
- func (this *QScriptValue) Call() *QScriptValue
- func (this *QScriptValue) Call1(thisObject *QScriptValue) *QScriptValue
- func (this *QScriptValue) Call2(thisObject *QScriptValue, arguments *QScriptValue) *QScriptValue
- func (this *QScriptValue) Call22(thisObject *QScriptValue, args []QScriptValue) *QScriptValue
- func (this *QScriptValue) Construct() *QScriptValue
- func (this *QScriptValue) Construct1(args []QScriptValue) *QScriptValue
- func (this *QScriptValue) ConstructWithArguments(arguments *QScriptValue) *QScriptValue
- func (this *QScriptValue) Data() *QScriptValue
- func (this *QScriptValue) Delete()
- func (this *QScriptValue) Engine() *QScriptEngine
- func (this *QScriptValue) Equals(other *QScriptValue) bool
- func (this *QScriptValue) GoGC()
- func (this *QScriptValue) InstanceOf(other *QScriptValue) bool
- func (this *QScriptValue) IsArray() bool
- func (this *QScriptValue) IsBool() bool
- func (this *QScriptValue) IsBoolean() bool
- func (this *QScriptValue) IsDate() bool
- func (this *QScriptValue) IsError() bool
- func (this *QScriptValue) IsFunction() bool
- func (this *QScriptValue) IsNull() bool
- func (this *QScriptValue) IsNumber() bool
- func (this *QScriptValue) IsObject() bool
- func (this *QScriptValue) IsQMetaObject() bool
- func (this *QScriptValue) IsQObject() bool
- func (this *QScriptValue) IsRegExp() bool
- func (this *QScriptValue) IsString() bool
- func (this *QScriptValue) IsUndefined() bool
- func (this *QScriptValue) IsValid() bool
- func (this *QScriptValue) IsVariant() bool
- func (this *QScriptValue) LessThan(other *QScriptValue) bool
- func (this *QScriptValue) ObjectId() int64
- func (this *QScriptValue) OperatorAssign(other *QScriptValue)
- func (this *QScriptValue) Property(name string) *QScriptValue
- func (this *QScriptValue) Property2(name string, mode *QScriptValue__ResolveFlag) *QScriptValue
- func (this *QScriptValue) Property22(arrayIndex uint, mode *QScriptValue__ResolveFlag) *QScriptValue
- func (this *QScriptValue) Property23(name *QScriptString, mode *QScriptValue__ResolveFlag) *QScriptValue
- func (this *QScriptValue) PropertyFlags(name string) QScriptValue__PropertyFlag
- func (this *QScriptValue) PropertyFlags2(name string, mode *QScriptValue__ResolveFlag) QScriptValue__PropertyFlag
- func (this *QScriptValue) PropertyFlags22(name *QScriptString, mode *QScriptValue__ResolveFlag) QScriptValue__PropertyFlag
- func (this *QScriptValue) PropertyFlagsWithName(name *QScriptString) QScriptValue__PropertyFlag
- func (this *QScriptValue) PropertyWithArrayIndex(arrayIndex uint) *QScriptValue
- func (this *QScriptValue) PropertyWithName(name *QScriptString) *QScriptValue
- func (this *QScriptValue) Prototype() *QScriptValue
- func (this *QScriptValue) Scope() *QScriptValue
- func (this *QScriptValue) ScriptClass() *QScriptClass
- func (this *QScriptValue) SetData(data *QScriptValue)
- func (this *QScriptValue) SetProperty(name string, value *QScriptValue)
- func (this *QScriptValue) SetProperty2(arrayIndex uint, value *QScriptValue)
- func (this *QScriptValue) SetProperty3(name *QScriptString, value *QScriptValue)
- func (this *QScriptValue) SetProperty32(name string, value *QScriptValue, flags *QScriptValue__PropertyFlag)
- func (this *QScriptValue) SetProperty33(arrayIndex uint, value *QScriptValue, flags *QScriptValue__PropertyFlag)
- func (this *QScriptValue) SetProperty34(name *QScriptString, value *QScriptValue, flags *QScriptValue__PropertyFlag)
- func (this *QScriptValue) SetPrototype(prototype *QScriptValue)
- func (this *QScriptValue) SetScope(scope *QScriptValue)
- func (this *QScriptValue) SetScriptClass(scriptClass *QScriptClass)
- func (this *QScriptValue) StrictlyEquals(other *QScriptValue) bool
- func (this *QScriptValue) ToBool() bool
- func (this *QScriptValue) ToBoolean() bool
- func (this *QScriptValue) ToDateTime() *qt.QDateTime
- func (this *QScriptValue) ToInt32() int
- func (this *QScriptValue) ToInteger() float64
- func (this *QScriptValue) ToNumber() float64
- func (this *QScriptValue) ToObject() *QScriptValue
- func (this *QScriptValue) ToQMetaObject() *qt.QMetaObject
- func (this *QScriptValue) ToQObject() *qt.QObject
- func (this *QScriptValue) ToRegExp() *qt.QRegExp
- func (this *QScriptValue) ToString() string
- func (this *QScriptValue) ToUInt16() uint16
- func (this *QScriptValue) ToUInt32() uint
- func (this *QScriptValue) ToVariant() *qt.QVariant
- func (this *QScriptValue) UnsafePointer() unsafe.Pointer
- type QScriptValueIterator
- func (this *QScriptValueIterator) Delete()
- func (this *QScriptValueIterator) Flags() QScriptValue__PropertyFlag
- func (this *QScriptValueIterator) GoGC()
- func (this *QScriptValueIterator) HasNext() bool
- func (this *QScriptValueIterator) HasPrevious() bool
- func (this *QScriptValueIterator) Name() string
- func (this *QScriptValueIterator) Next()
- func (this *QScriptValueIterator) OperatorAssign(value *QScriptValue)
- func (this *QScriptValueIterator) Previous()
- func (this *QScriptValueIterator) Remove()
- func (this *QScriptValueIterator) ScriptName() *QScriptString
- func (this *QScriptValueIterator) SetValue(value *QScriptValue)
- func (this *QScriptValueIterator) ToBack()
- func (this *QScriptValueIterator) ToFront()
- func (this *QScriptValueIterator) UnsafePointer() unsafe.Pointer
- func (this *QScriptValueIterator) Value() *QScriptValue
- type QScriptValue__PropertyFlag
- type QScriptValue__ResolveFlag
- type QScriptValue__SpecialValue
- type QScriptable
- func (this *QScriptable) Argument(index int) *QScriptValue
- func (this *QScriptable) ArgumentCount() int
- func (this *QScriptable) Context() *QScriptContext
- func (this *QScriptable) Delete()
- func (this *QScriptable) Engine() *QScriptEngine
- func (this *QScriptable) GoGC()
- func (this *QScriptable) ThisObject() *QScriptValue
- func (this *QScriptable) UnsafePointer() unsafe.Pointer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func QScriptEngine_Tr ¶
func QScriptEngine_Tr2 ¶
func QScriptEngine_TrUtf8 ¶
func QScriptEngine_TrUtf82 ¶
Types ¶
type QScriptClass ¶
type QScriptClass struct {
// contains filtered or unexported fields
}
func NewQScriptClass ¶
func NewQScriptClass(engine *QScriptEngine) *QScriptClass
NewQScriptClass constructs a new QScriptClass object.
func UnsafeNewQScriptClass ¶
func UnsafeNewQScriptClass(h unsafe.Pointer) *QScriptClass
UnsafeNewQScriptClass constructs the type using only unsafe pointers.
func (*QScriptClass) Delete ¶
func (this *QScriptClass) Delete()
Delete this object from C++ memory.
func (*QScriptClass) Engine ¶
func (this *QScriptClass) Engine() *QScriptEngine
func (*QScriptClass) Extension ¶
func (this *QScriptClass) Extension(extension QScriptClass__Extension, argument *qt.QVariant) *qt.QVariant
func (*QScriptClass) GoGC ¶
func (this *QScriptClass) GoGC()
GoGC adds a Go Finalizer to this pointer, so that it will be deleted from C++ memory once it is unreachable from Go memory.
func (*QScriptClass) Name ¶
func (this *QScriptClass) Name() string
func (*QScriptClass) NewIterator ¶
func (this *QScriptClass) NewIterator(object *QScriptValue) *QScriptClassPropertyIterator
func (*QScriptClass) OnExtension ¶
func (this *QScriptClass) OnExtension(slot func(super func(extension QScriptClass__Extension, argument *qt.QVariant) *qt.QVariant, extension QScriptClass__Extension, argument *qt.QVariant) *qt.QVariant)
func (*QScriptClass) OnName ¶
func (this *QScriptClass) OnName(slot func(super func() string) string)
func (*QScriptClass) OnNewIterator ¶
func (this *QScriptClass) OnNewIterator(slot func(super func(object *QScriptValue) *QScriptClassPropertyIterator, object *QScriptValue) *QScriptClassPropertyIterator)
func (*QScriptClass) OnProperty ¶
func (this *QScriptClass) OnProperty(slot func(super func(object *QScriptValue, name *QScriptString, id uint) *QScriptValue, object *QScriptValue, name *QScriptString, id uint) *QScriptValue)
func (*QScriptClass) OnPropertyFlags ¶
func (this *QScriptClass) OnPropertyFlags(slot func(super func(object *QScriptValue, name *QScriptString, id uint) QScriptValue__PropertyFlag, object *QScriptValue, name *QScriptString, id uint) QScriptValue__PropertyFlag)
func (*QScriptClass) OnPrototype ¶
func (this *QScriptClass) OnPrototype(slot func(super func() *QScriptValue) *QScriptValue)
func (*QScriptClass) OnQueryProperty ¶
func (this *QScriptClass) OnQueryProperty(slot func(super func(object *QScriptValue, name *QScriptString, flags QScriptClass__QueryFlag, id *uint) QScriptClass__QueryFlag, object *QScriptValue, name *QScriptString, flags QScriptClass__QueryFlag, id *uint) QScriptClass__QueryFlag)
func (*QScriptClass) OnSetProperty ¶
func (this *QScriptClass) OnSetProperty(slot func(super func(object *QScriptValue, name *QScriptString, id uint, value *QScriptValue), object *QScriptValue, name *QScriptString, id uint, value *QScriptValue))
func (*QScriptClass) OnSupportsExtension ¶
func (this *QScriptClass) OnSupportsExtension(slot func(super func(extension QScriptClass__Extension) bool, extension QScriptClass__Extension) bool)
func (*QScriptClass) Property ¶
func (this *QScriptClass) Property(object *QScriptValue, name *QScriptString, id uint) *QScriptValue
func (*QScriptClass) PropertyFlags ¶
func (this *QScriptClass) PropertyFlags(object *QScriptValue, name *QScriptString, id uint) QScriptValue__PropertyFlag
func (*QScriptClass) Prototype ¶
func (this *QScriptClass) Prototype() *QScriptValue
func (*QScriptClass) QueryProperty ¶
func (this *QScriptClass) QueryProperty(object *QScriptValue, name *QScriptString, flags QScriptClass__QueryFlag, id *uint) QScriptClass__QueryFlag
func (*QScriptClass) SetProperty ¶
func (this *QScriptClass) SetProperty(object *QScriptValue, name *QScriptString, id uint, value *QScriptValue)
func (*QScriptClass) SupportsExtension ¶
func (this *QScriptClass) SupportsExtension(extension QScriptClass__Extension) bool
func (*QScriptClass) UnsafePointer ¶
func (this *QScriptClass) UnsafePointer() unsafe.Pointer
type QScriptClassPropertyIterator ¶
type QScriptClassPropertyIterator struct {
// contains filtered or unexported fields
}
func UnsafeNewQScriptClassPropertyIterator ¶
func UnsafeNewQScriptClassPropertyIterator(h unsafe.Pointer) *QScriptClassPropertyIterator
UnsafeNewQScriptClassPropertyIterator constructs the type using only unsafe pointers.
func (*QScriptClassPropertyIterator) Delete ¶
func (this *QScriptClassPropertyIterator) Delete()
Delete this object from C++ memory.
func (*QScriptClassPropertyIterator) Flags ¶
func (this *QScriptClassPropertyIterator) Flags() QScriptValue__PropertyFlag
func (*QScriptClassPropertyIterator) GoGC ¶
func (this *QScriptClassPropertyIterator) GoGC()
GoGC adds a Go Finalizer to this pointer, so that it will be deleted from C++ memory once it is unreachable from Go memory.
func (*QScriptClassPropertyIterator) HasNext ¶
func (this *QScriptClassPropertyIterator) HasNext() bool
func (*QScriptClassPropertyIterator) HasPrevious ¶
func (this *QScriptClassPropertyIterator) HasPrevious() bool
func (*QScriptClassPropertyIterator) Id ¶
func (this *QScriptClassPropertyIterator) Id() uint
func (*QScriptClassPropertyIterator) Name ¶
func (this *QScriptClassPropertyIterator) Name() *QScriptString
func (*QScriptClassPropertyIterator) Next ¶
func (this *QScriptClassPropertyIterator) Next()
func (*QScriptClassPropertyIterator) Object ¶
func (this *QScriptClassPropertyIterator) Object() *QScriptValue
func (*QScriptClassPropertyIterator) Previous ¶
func (this *QScriptClassPropertyIterator) Previous()
func (*QScriptClassPropertyIterator) ToBack ¶
func (this *QScriptClassPropertyIterator) ToBack()
func (*QScriptClassPropertyIterator) ToFront ¶
func (this *QScriptClassPropertyIterator) ToFront()
func (*QScriptClassPropertyIterator) UnsafePointer ¶
func (this *QScriptClassPropertyIterator) UnsafePointer() unsafe.Pointer
type QScriptClass__Extension ¶
type QScriptClass__Extension int
const ( QScriptClass__Callable QScriptClass__Extension = 0 QScriptClass__HasInstance QScriptClass__Extension = 1 )
type QScriptClass__QueryFlag ¶
type QScriptClass__QueryFlag int
const ( QScriptClass__HandlesReadAccess QScriptClass__QueryFlag = 1 QScriptClass__HandlesWriteAccess QScriptClass__QueryFlag = 2 )
type QScriptContext ¶
type QScriptContext struct {
// contains filtered or unexported fields
}
func UnsafeNewQScriptContext ¶
func UnsafeNewQScriptContext(h unsafe.Pointer) *QScriptContext
UnsafeNewQScriptContext constructs the type using only unsafe pointers.
func (*QScriptContext) ActivationObject ¶
func (this *QScriptContext) ActivationObject() *QScriptValue
func (*QScriptContext) Argument ¶
func (this *QScriptContext) Argument(index int) *QScriptValue
func (*QScriptContext) ArgumentCount ¶
func (this *QScriptContext) ArgumentCount() int
func (*QScriptContext) ArgumentsObject ¶
func (this *QScriptContext) ArgumentsObject() *QScriptValue
func (*QScriptContext) Backtrace ¶
func (this *QScriptContext) Backtrace() []string
func (*QScriptContext) Callee ¶
func (this *QScriptContext) Callee() *QScriptValue
func (*QScriptContext) Delete ¶
func (this *QScriptContext) Delete()
Delete this object from C++ memory.
func (*QScriptContext) Engine ¶
func (this *QScriptContext) Engine() *QScriptEngine
func (*QScriptContext) GoGC ¶
func (this *QScriptContext) GoGC()
GoGC adds a Go Finalizer to this pointer, so that it will be deleted from C++ memory once it is unreachable from Go memory.
func (*QScriptContext) IsCalledAsConstructor ¶
func (this *QScriptContext) IsCalledAsConstructor() bool
func (*QScriptContext) ParentContext ¶
func (this *QScriptContext) ParentContext() *QScriptContext
func (*QScriptContext) PopScope ¶
func (this *QScriptContext) PopScope() *QScriptValue
func (*QScriptContext) PushScope ¶
func (this *QScriptContext) PushScope(object *QScriptValue)
func (*QScriptContext) ReturnValue ¶
func (this *QScriptContext) ReturnValue() *QScriptValue
func (*QScriptContext) ScopeChain ¶
func (this *QScriptContext) ScopeChain() []QScriptValue
func (*QScriptContext) SetActivationObject ¶
func (this *QScriptContext) SetActivationObject(activation *QScriptValue)
func (*QScriptContext) SetReturnValue ¶
func (this *QScriptContext) SetReturnValue(result *QScriptValue)
func (*QScriptContext) SetThisObject ¶
func (this *QScriptContext) SetThisObject(thisObject *QScriptValue)
func (*QScriptContext) State ¶
func (this *QScriptContext) State() QScriptContext__ExecutionState
func (*QScriptContext) ThisObject ¶
func (this *QScriptContext) ThisObject() *QScriptValue
func (*QScriptContext) ThrowError ¶
func (this *QScriptContext) ThrowError(error QScriptContext__Error, text string) *QScriptValue
func (*QScriptContext) ThrowErrorWithText ¶
func (this *QScriptContext) ThrowErrorWithText(text string) *QScriptValue
func (*QScriptContext) ThrowValue ¶
func (this *QScriptContext) ThrowValue(value *QScriptValue) *QScriptValue
func (*QScriptContext) ToString ¶
func (this *QScriptContext) ToString() string
func (*QScriptContext) UnsafePointer ¶
func (this *QScriptContext) UnsafePointer() unsafe.Pointer
type QScriptContextInfo ¶
type QScriptContextInfo struct {
// contains filtered or unexported fields
}
func NewQScriptContextInfo ¶
func NewQScriptContextInfo(context *QScriptContext) *QScriptContextInfo
NewQScriptContextInfo constructs a new QScriptContextInfo object.
func NewQScriptContextInfo2 ¶
func NewQScriptContextInfo2(other *QScriptContextInfo) *QScriptContextInfo
NewQScriptContextInfo2 constructs a new QScriptContextInfo object.
func NewQScriptContextInfo3 ¶
func NewQScriptContextInfo3() *QScriptContextInfo
NewQScriptContextInfo3 constructs a new QScriptContextInfo object.
func UnsafeNewQScriptContextInfo ¶
func UnsafeNewQScriptContextInfo(h unsafe.Pointer) *QScriptContextInfo
UnsafeNewQScriptContextInfo constructs the type using only unsafe pointers.
func (*QScriptContextInfo) ColumnNumber ¶
func (this *QScriptContextInfo) ColumnNumber() int
func (*QScriptContextInfo) Delete ¶
func (this *QScriptContextInfo) Delete()
Delete this object from C++ memory.
func (*QScriptContextInfo) FileName ¶
func (this *QScriptContextInfo) FileName() string
func (*QScriptContextInfo) FunctionEndLineNumber ¶
func (this *QScriptContextInfo) FunctionEndLineNumber() int
func (*QScriptContextInfo) FunctionMetaIndex ¶
func (this *QScriptContextInfo) FunctionMetaIndex() int
func (*QScriptContextInfo) FunctionName ¶
func (this *QScriptContextInfo) FunctionName() string
func (*QScriptContextInfo) FunctionParameterNames ¶
func (this *QScriptContextInfo) FunctionParameterNames() []string
func (*QScriptContextInfo) FunctionStartLineNumber ¶
func (this *QScriptContextInfo) FunctionStartLineNumber() int
func (*QScriptContextInfo) FunctionType ¶
func (this *QScriptContextInfo) FunctionType() QScriptContextInfo__FunctionType
func (*QScriptContextInfo) GoGC ¶
func (this *QScriptContextInfo) GoGC()
GoGC adds a Go Finalizer to this pointer, so that it will be deleted from C++ memory once it is unreachable from Go memory.
func (*QScriptContextInfo) IsNull ¶
func (this *QScriptContextInfo) IsNull() bool
func (*QScriptContextInfo) LineNumber ¶
func (this *QScriptContextInfo) LineNumber() int
func (*QScriptContextInfo) OperatorAssign ¶
func (this *QScriptContextInfo) OperatorAssign(other *QScriptContextInfo)
func (*QScriptContextInfo) OperatorEqual ¶
func (this *QScriptContextInfo) OperatorEqual(other *QScriptContextInfo) bool
func (*QScriptContextInfo) OperatorNotEqual ¶
func (this *QScriptContextInfo) OperatorNotEqual(other *QScriptContextInfo) bool
func (*QScriptContextInfo) ScriptId ¶
func (this *QScriptContextInfo) ScriptId() int64
func (*QScriptContextInfo) UnsafePointer ¶
func (this *QScriptContextInfo) UnsafePointer() unsafe.Pointer
type QScriptContextInfo__FunctionType ¶
type QScriptContextInfo__FunctionType int
const ( QScriptContextInfo__ScriptFunction QScriptContextInfo__FunctionType = 0 QScriptContextInfo__QtFunction QScriptContextInfo__FunctionType = 1 QScriptContextInfo__QtPropertyFunction QScriptContextInfo__FunctionType = 2 QScriptContextInfo__NativeFunction QScriptContextInfo__FunctionType = 3 )
type QScriptContext__Error ¶
type QScriptContext__Error int
const ( QScriptContext__UnknownError QScriptContext__Error = 0 QScriptContext__ReferenceError QScriptContext__Error = 1 QScriptContext__SyntaxError QScriptContext__Error = 2 QScriptContext__TypeError QScriptContext__Error = 3 QScriptContext__RangeError QScriptContext__Error = 4 QScriptContext__URIError QScriptContext__Error = 5 )
type QScriptContext__ExecutionState ¶
type QScriptContext__ExecutionState int
const ( QScriptContext__NormalState QScriptContext__ExecutionState = 0 QScriptContext__ExceptionState QScriptContext__ExecutionState = 1 )
type QScriptEngine ¶
func NewQScriptEngine ¶
func NewQScriptEngine() *QScriptEngine
NewQScriptEngine constructs a new QScriptEngine object.
func NewQScriptEngine2 ¶
func NewQScriptEngine2(parent *qt.QObject) *QScriptEngine
NewQScriptEngine2 constructs a new QScriptEngine object.
func UnsafeNewQScriptEngine ¶
func UnsafeNewQScriptEngine(h unsafe.Pointer) *QScriptEngine
UnsafeNewQScriptEngine constructs the type using only unsafe pointers.
func (*QScriptEngine) AbortEvaluation ¶
func (this *QScriptEngine) AbortEvaluation()
func (*QScriptEngine) AbortEvaluation1 ¶
func (this *QScriptEngine) AbortEvaluation1(result *QScriptValue)
func (*QScriptEngine) Agent ¶
func (this *QScriptEngine) Agent() *QScriptEngineAgent
func (*QScriptEngine) AvailableExtensions ¶
func (this *QScriptEngine) AvailableExtensions() []string
func (*QScriptEngine) CanEvaluate ¶
func (this *QScriptEngine) CanEvaluate(program string) bool
func (*QScriptEngine) ClearExceptions ¶
func (this *QScriptEngine) ClearExceptions()
func (*QScriptEngine) CollectGarbage ¶
func (this *QScriptEngine) CollectGarbage()
func (*QScriptEngine) CurrentContext ¶
func (this *QScriptEngine) CurrentContext() *QScriptContext
func (*QScriptEngine) DefaultPrototype ¶
func (this *QScriptEngine) DefaultPrototype(metaTypeId int) *QScriptValue
func (*QScriptEngine) Delete ¶
func (this *QScriptEngine) Delete()
Delete this object from C++ memory.
func (*QScriptEngine) Evaluate ¶
func (this *QScriptEngine) Evaluate(program string) *QScriptValue
func (*QScriptEngine) Evaluate2 ¶
func (this *QScriptEngine) Evaluate2(program string, fileName string) *QScriptValue
func (*QScriptEngine) Evaluate3 ¶
func (this *QScriptEngine) Evaluate3(program string, fileName string, lineNumber int) *QScriptValue
func (*QScriptEngine) EvaluateWithProgram ¶
func (this *QScriptEngine) EvaluateWithProgram(program *QScriptProgram) *QScriptValue
func (*QScriptEngine) GlobalObject ¶
func (this *QScriptEngine) GlobalObject() *QScriptValue
func (*QScriptEngine) GoGC ¶
func (this *QScriptEngine) GoGC()
GoGC adds a Go Finalizer to this pointer, so that it will be deleted from C++ memory once it is unreachable from Go memory.
func (*QScriptEngine) HasUncaughtException ¶
func (this *QScriptEngine) HasUncaughtException() bool
func (*QScriptEngine) ImportExtension ¶
func (this *QScriptEngine) ImportExtension(extension string) *QScriptValue
func (*QScriptEngine) ImportedExtensions ¶
func (this *QScriptEngine) ImportedExtensions() []string
func (*QScriptEngine) InstallTranslatorFunctions ¶
func (this *QScriptEngine) InstallTranslatorFunctions()
func (*QScriptEngine) InstallTranslatorFunctions1 ¶
func (this *QScriptEngine) InstallTranslatorFunctions1(object *QScriptValue)
func (*QScriptEngine) IsEvaluating ¶
func (this *QScriptEngine) IsEvaluating() bool
func (*QScriptEngine) MetaObject ¶
func (this *QScriptEngine) MetaObject() *qt.QMetaObject
func (*QScriptEngine) NewActivationObject ¶
func (this *QScriptEngine) NewActivationObject() *QScriptValue
func (*QScriptEngine) NewArray ¶
func (this *QScriptEngine) NewArray() *QScriptValue
func (*QScriptEngine) NewArray1 ¶
func (this *QScriptEngine) NewArray1(length uint) *QScriptValue
func (*QScriptEngine) NewDate ¶
func (this *QScriptEngine) NewDate(value float64) *QScriptValue
func (*QScriptEngine) NewDateWithValue ¶
func (this *QScriptEngine) NewDateWithValue(value *qt.QDateTime) *QScriptValue
func (*QScriptEngine) NewObject ¶
func (this *QScriptEngine) NewObject() *QScriptValue
func (*QScriptEngine) NewObject2 ¶
func (this *QScriptEngine) NewObject2(scriptClass *QScriptClass, data *QScriptValue) *QScriptValue
func (*QScriptEngine) NewObjectWithScriptClass ¶
func (this *QScriptEngine) NewObjectWithScriptClass(scriptClass *QScriptClass) *QScriptValue
func (*QScriptEngine) NewQMetaObject ¶
func (this *QScriptEngine) NewQMetaObject(metaObject *qt.QMetaObject) *QScriptValue
func (*QScriptEngine) NewQMetaObject2 ¶
func (this *QScriptEngine) NewQMetaObject2(metaObject *qt.QMetaObject, ctor *QScriptValue) *QScriptValue
func (*QScriptEngine) NewQObject ¶
func (this *QScriptEngine) NewQObject(object *qt.QObject) *QScriptValue
func (*QScriptEngine) NewQObject2 ¶
func (this *QScriptEngine) NewQObject2(scriptObject *QScriptValue, qtObject *qt.QObject) *QScriptValue
func (*QScriptEngine) NewQObject22 ¶
func (this *QScriptEngine) NewQObject22(object *qt.QObject, ownership QScriptEngine__ValueOwnership) *QScriptValue
func (*QScriptEngine) NewQObject3 ¶
func (this *QScriptEngine) NewQObject3(object *qt.QObject, ownership QScriptEngine__ValueOwnership, options *QScriptEngine__QObjectWrapOption) *QScriptValue
func (*QScriptEngine) NewQObject32 ¶
func (this *QScriptEngine) NewQObject32(scriptObject *QScriptValue, qtObject *qt.QObject, ownership QScriptEngine__ValueOwnership) *QScriptValue
func (*QScriptEngine) NewQObject4 ¶
func (this *QScriptEngine) NewQObject4(scriptObject *QScriptValue, qtObject *qt.QObject, ownership QScriptEngine__ValueOwnership, options *QScriptEngine__QObjectWrapOption) *QScriptValue
func (*QScriptEngine) NewRegExp ¶
func (this *QScriptEngine) NewRegExp(regexp *qt.QRegExp) *QScriptValue
func (*QScriptEngine) NewRegExp2 ¶
func (this *QScriptEngine) NewRegExp2(pattern string, flags string) *QScriptValue
func (*QScriptEngine) NewVariant ¶
func (this *QScriptEngine) NewVariant(value *qt.QVariant) *QScriptValue
func (*QScriptEngine) NewVariant2 ¶
func (this *QScriptEngine) NewVariant2(object *QScriptValue, value *qt.QVariant) *QScriptValue
func (*QScriptEngine) NullValue ¶
func (this *QScriptEngine) NullValue() *QScriptValue
func (*QScriptEngine) ObjectById ¶
func (this *QScriptEngine) ObjectById(id int64) *QScriptValue
func (*QScriptEngine) OnChildEvent ¶
func (this *QScriptEngine) OnChildEvent(slot func(super func(event *qt.QChildEvent), event *qt.QChildEvent))
func (*QScriptEngine) OnConnectNotify ¶
func (this *QScriptEngine) OnConnectNotify(slot func(super func(signal *qt.QMetaMethod), signal *qt.QMetaMethod))
func (*QScriptEngine) OnCustomEvent ¶
func (this *QScriptEngine) OnCustomEvent(slot func(super func(event *qt.QEvent), event *qt.QEvent))
func (*QScriptEngine) OnDisconnectNotify ¶
func (this *QScriptEngine) OnDisconnectNotify(slot func(super func(signal *qt.QMetaMethod), signal *qt.QMetaMethod))
func (*QScriptEngine) OnEventFilter ¶
func (*QScriptEngine) OnSignalHandlerException ¶
func (this *QScriptEngine) OnSignalHandlerException(slot func(exception *QScriptValue))
func (*QScriptEngine) OnTimerEvent ¶
func (this *QScriptEngine) OnTimerEvent(slot func(super func(event *qt.QTimerEvent), event *qt.QTimerEvent))
func (*QScriptEngine) PopContext ¶
func (this *QScriptEngine) PopContext()
func (*QScriptEngine) ProcessEventsInterval ¶
func (this *QScriptEngine) ProcessEventsInterval() int
func (*QScriptEngine) PushContext ¶
func (this *QScriptEngine) PushContext() *QScriptContext
func (*QScriptEngine) ReportAdditionalMemoryCost ¶
func (this *QScriptEngine) ReportAdditionalMemoryCost(size int)
func (*QScriptEngine) SetAgent ¶
func (this *QScriptEngine) SetAgent(agent *QScriptEngineAgent)
func (*QScriptEngine) SetDefaultPrototype ¶
func (this *QScriptEngine) SetDefaultPrototype(metaTypeId int, prototype *QScriptValue)
func (*QScriptEngine) SetGlobalObject ¶
func (this *QScriptEngine) SetGlobalObject(object *QScriptValue)
func (*QScriptEngine) SetProcessEventsInterval ¶
func (this *QScriptEngine) SetProcessEventsInterval(interval int)
func (*QScriptEngine) SignalHandlerException ¶
func (this *QScriptEngine) SignalHandlerException(exception *QScriptValue)
func (*QScriptEngine) ToObject ¶
func (this *QScriptEngine) ToObject(value *QScriptValue) *QScriptValue
func (*QScriptEngine) ToStringHandle ¶
func (this *QScriptEngine) ToStringHandle(str string) *QScriptString
func (*QScriptEngine) UncaughtException ¶
func (this *QScriptEngine) UncaughtException() *QScriptValue
func (*QScriptEngine) UncaughtExceptionBacktrace ¶
func (this *QScriptEngine) UncaughtExceptionBacktrace() []string
func (*QScriptEngine) UncaughtExceptionLineNumber ¶
func (this *QScriptEngine) UncaughtExceptionLineNumber() int
func (*QScriptEngine) UndefinedValue ¶
func (this *QScriptEngine) UndefinedValue() *QScriptValue
func (*QScriptEngine) UnsafePointer ¶
func (this *QScriptEngine) UnsafePointer() unsafe.Pointer
type QScriptEngineAgent ¶
type QScriptEngineAgent struct {
// contains filtered or unexported fields
}
func NewQScriptEngineAgent ¶
func NewQScriptEngineAgent(engine *QScriptEngine) *QScriptEngineAgent
NewQScriptEngineAgent constructs a new QScriptEngineAgent object.
func UnsafeNewQScriptEngineAgent ¶
func UnsafeNewQScriptEngineAgent(h unsafe.Pointer) *QScriptEngineAgent
UnsafeNewQScriptEngineAgent constructs the type using only unsafe pointers.
func (*QScriptEngineAgent) ContextPop ¶
func (this *QScriptEngineAgent) ContextPop()
func (*QScriptEngineAgent) ContextPush ¶
func (this *QScriptEngineAgent) ContextPush()
func (*QScriptEngineAgent) Delete ¶
func (this *QScriptEngineAgent) Delete()
Delete this object from C++ memory.
func (*QScriptEngineAgent) Engine ¶
func (this *QScriptEngineAgent) Engine() *QScriptEngine
func (*QScriptEngineAgent) ExceptionCatch ¶
func (this *QScriptEngineAgent) ExceptionCatch(scriptId int64, exception *QScriptValue)
func (*QScriptEngineAgent) ExceptionThrow ¶
func (this *QScriptEngineAgent) ExceptionThrow(scriptId int64, exception *QScriptValue, hasHandler bool)
func (*QScriptEngineAgent) Extension ¶
func (this *QScriptEngineAgent) Extension(extension QScriptEngineAgent__Extension, argument *qt.QVariant) *qt.QVariant
func (*QScriptEngineAgent) FunctionEntry ¶
func (this *QScriptEngineAgent) FunctionEntry(scriptId int64)
func (*QScriptEngineAgent) FunctionExit ¶
func (this *QScriptEngineAgent) FunctionExit(scriptId int64, returnValue *QScriptValue)
func (*QScriptEngineAgent) GoGC ¶
func (this *QScriptEngineAgent) GoGC()
GoGC adds a Go Finalizer to this pointer, so that it will be deleted from C++ memory once it is unreachable from Go memory.
func (*QScriptEngineAgent) OnContextPop ¶
func (this *QScriptEngineAgent) OnContextPop(slot func(super func()))
func (*QScriptEngineAgent) OnContextPush ¶
func (this *QScriptEngineAgent) OnContextPush(slot func(super func()))
func (*QScriptEngineAgent) OnExceptionCatch ¶
func (this *QScriptEngineAgent) OnExceptionCatch(slot func(super func(scriptId int64, exception *QScriptValue), scriptId int64, exception *QScriptValue))
func (*QScriptEngineAgent) OnExceptionThrow ¶
func (this *QScriptEngineAgent) OnExceptionThrow(slot func(super func(scriptId int64, exception *QScriptValue, hasHandler bool), scriptId int64, exception *QScriptValue, hasHandler bool))
func (*QScriptEngineAgent) OnExtension ¶
func (this *QScriptEngineAgent) OnExtension(slot func(super func(extension QScriptEngineAgent__Extension, argument *qt.QVariant) *qt.QVariant, extension QScriptEngineAgent__Extension, argument *qt.QVariant) *qt.QVariant)
func (*QScriptEngineAgent) OnFunctionEntry ¶
func (this *QScriptEngineAgent) OnFunctionEntry(slot func(super func(scriptId int64), scriptId int64))
func (*QScriptEngineAgent) OnFunctionExit ¶
func (this *QScriptEngineAgent) OnFunctionExit(slot func(super func(scriptId int64, returnValue *QScriptValue), scriptId int64, returnValue *QScriptValue))
func (*QScriptEngineAgent) OnPositionChange ¶
func (*QScriptEngineAgent) OnScriptLoad ¶
func (*QScriptEngineAgent) OnScriptUnload ¶
func (this *QScriptEngineAgent) OnScriptUnload(slot func(super func(id int64), id int64))
func (*QScriptEngineAgent) OnSupportsExtension ¶
func (this *QScriptEngineAgent) OnSupportsExtension(slot func(super func(extension QScriptEngineAgent__Extension) bool, extension QScriptEngineAgent__Extension) bool)
func (*QScriptEngineAgent) PositionChange ¶
func (this *QScriptEngineAgent) PositionChange(scriptId int64, lineNumber int, columnNumber int)
func (*QScriptEngineAgent) ScriptLoad ¶
func (this *QScriptEngineAgent) ScriptLoad(id int64, program string, fileName string, baseLineNumber int)
func (*QScriptEngineAgent) ScriptUnload ¶
func (this *QScriptEngineAgent) ScriptUnload(id int64)
func (*QScriptEngineAgent) SupportsExtension ¶
func (this *QScriptEngineAgent) SupportsExtension(extension QScriptEngineAgent__Extension) bool
func (*QScriptEngineAgent) UnsafePointer ¶
func (this *QScriptEngineAgent) UnsafePointer() unsafe.Pointer
type QScriptEngineAgent__Extension ¶
type QScriptEngineAgent__Extension int
const (
QScriptEngineAgent__DebuggerInvocationRequest QScriptEngineAgent__Extension = 0
)
type QScriptEngine__QObjectWrapOption ¶
type QScriptEngine__QObjectWrapOption int
const ( QScriptEngine__ExcludeChildObjects QScriptEngine__QObjectWrapOption = 1 QScriptEngine__ExcludeSuperClassMethods QScriptEngine__QObjectWrapOption = 2 QScriptEngine__ExcludeSuperClassProperties QScriptEngine__QObjectWrapOption = 4 QScriptEngine__ExcludeSuperClassContents QScriptEngine__QObjectWrapOption = 6 QScriptEngine__SkipMethodsInEnumeration QScriptEngine__QObjectWrapOption = 8 QScriptEngine__ExcludeDeleteLater QScriptEngine__QObjectWrapOption = 16 QScriptEngine__ExcludeSlots QScriptEngine__QObjectWrapOption = 32 QScriptEngine__AutoCreateDynamicProperties QScriptEngine__QObjectWrapOption = 256 QScriptEngine__PreferExistingWrapperObject QScriptEngine__QObjectWrapOption = 512 )
type QScriptEngine__ValueOwnership ¶
type QScriptEngine__ValueOwnership int
const ( QScriptEngine__QtOwnership QScriptEngine__ValueOwnership = 0 QScriptEngine__ScriptOwnership QScriptEngine__ValueOwnership = 1 QScriptEngine__AutoOwnership QScriptEngine__ValueOwnership = 2 )
type QScriptExtensionInterface ¶
type QScriptExtensionInterface struct { *qt.QFactoryInterface // contains filtered or unexported fields }
func NewQScriptExtensionInterface ¶
func NewQScriptExtensionInterface(param1 *QScriptExtensionInterface) *QScriptExtensionInterface
NewQScriptExtensionInterface constructs a new QScriptExtensionInterface object.
func UnsafeNewQScriptExtensionInterface ¶
func UnsafeNewQScriptExtensionInterface(h unsafe.Pointer) *QScriptExtensionInterface
UnsafeNewQScriptExtensionInterface constructs the type using only unsafe pointers.
func (*QScriptExtensionInterface) Delete ¶
func (this *QScriptExtensionInterface) Delete()
Delete this object from C++ memory.
func (*QScriptExtensionInterface) GoGC ¶
func (this *QScriptExtensionInterface) GoGC()
GoGC adds a Go Finalizer to this pointer, so that it will be deleted from C++ memory once it is unreachable from Go memory.
func (*QScriptExtensionInterface) Initialize ¶
func (this *QScriptExtensionInterface) Initialize(key string, engine *QScriptEngine)
func (*QScriptExtensionInterface) OnInitialize ¶
func (this *QScriptExtensionInterface) OnInitialize(slot func(key string, engine *QScriptEngine))
func (*QScriptExtensionInterface) OnKeys ¶
func (this *QScriptExtensionInterface) OnKeys(slot func() []string)
func (*QScriptExtensionInterface) OperatorAssign ¶
func (this *QScriptExtensionInterface) OperatorAssign(param1 *QScriptExtensionInterface)
func (*QScriptExtensionInterface) UnsafePointer ¶
func (this *QScriptExtensionInterface) UnsafePointer() unsafe.Pointer
type QScriptExtensionPlugin ¶
type QScriptExtensionPlugin struct { *qt.QObject *QScriptExtensionInterface // contains filtered or unexported fields }
func NewQScriptExtensionPlugin ¶
func NewQScriptExtensionPlugin() *QScriptExtensionPlugin
NewQScriptExtensionPlugin constructs a new QScriptExtensionPlugin object.
func NewQScriptExtensionPlugin2 ¶
func NewQScriptExtensionPlugin2(parent *qt.QObject) *QScriptExtensionPlugin
NewQScriptExtensionPlugin2 constructs a new QScriptExtensionPlugin object.
func UnsafeNewQScriptExtensionPlugin ¶
func UnsafeNewQScriptExtensionPlugin(h unsafe.Pointer) *QScriptExtensionPlugin
UnsafeNewQScriptExtensionPlugin constructs the type using only unsafe pointers.
func (*QScriptExtensionPlugin) Delete ¶
func (this *QScriptExtensionPlugin) Delete()
Delete this object from C++ memory.
func (*QScriptExtensionPlugin) GoGC ¶
func (this *QScriptExtensionPlugin) GoGC()
GoGC adds a Go Finalizer to this pointer, so that it will be deleted from C++ memory once it is unreachable from Go memory.
func (*QScriptExtensionPlugin) Initialize ¶
func (this *QScriptExtensionPlugin) Initialize(key string, engine *QScriptEngine)
func (*QScriptExtensionPlugin) Keys ¶
func (this *QScriptExtensionPlugin) Keys() []string
func (*QScriptExtensionPlugin) MetaObject ¶
func (this *QScriptExtensionPlugin) MetaObject() *qt.QMetaObject
func (*QScriptExtensionPlugin) Metacast ¶
func (this *QScriptExtensionPlugin) Metacast(param1 string) unsafe.Pointer
func (*QScriptExtensionPlugin) OnChildEvent ¶
func (this *QScriptExtensionPlugin) OnChildEvent(slot func(super func(event *qt.QChildEvent), event *qt.QChildEvent))
func (*QScriptExtensionPlugin) OnConnectNotify ¶
func (this *QScriptExtensionPlugin) OnConnectNotify(slot func(super func(signal *qt.QMetaMethod), signal *qt.QMetaMethod))
func (*QScriptExtensionPlugin) OnCustomEvent ¶
func (this *QScriptExtensionPlugin) OnCustomEvent(slot func(super func(event *qt.QEvent), event *qt.QEvent))
func (*QScriptExtensionPlugin) OnDisconnectNotify ¶
func (this *QScriptExtensionPlugin) OnDisconnectNotify(slot func(super func(signal *qt.QMetaMethod), signal *qt.QMetaMethod))
func (*QScriptExtensionPlugin) OnEventFilter ¶
func (*QScriptExtensionPlugin) OnInitialize ¶
func (this *QScriptExtensionPlugin) OnInitialize(slot func(key string, engine *QScriptEngine))
func (*QScriptExtensionPlugin) OnKeys ¶
func (this *QScriptExtensionPlugin) OnKeys(slot func() []string)
func (*QScriptExtensionPlugin) OnTimerEvent ¶
func (this *QScriptExtensionPlugin) OnTimerEvent(slot func(super func(event *qt.QTimerEvent), event *qt.QTimerEvent))
func (*QScriptExtensionPlugin) SetupPackage ¶
func (this *QScriptExtensionPlugin) SetupPackage(key string, engine *QScriptEngine) *QScriptValue
func (*QScriptExtensionPlugin) UnsafePointer ¶
func (this *QScriptExtensionPlugin) UnsafePointer() unsafe.Pointer
type QScriptProgram ¶
type QScriptProgram struct {
// contains filtered or unexported fields
}
func NewQScriptProgram ¶
func NewQScriptProgram() *QScriptProgram
NewQScriptProgram constructs a new QScriptProgram object.
func NewQScriptProgram2 ¶
func NewQScriptProgram2(sourceCode string) *QScriptProgram
NewQScriptProgram2 constructs a new QScriptProgram object.
func NewQScriptProgram3 ¶
func NewQScriptProgram3(other *QScriptProgram) *QScriptProgram
NewQScriptProgram3 constructs a new QScriptProgram object.
func NewQScriptProgram4 ¶
func NewQScriptProgram4(sourceCode string, fileName string) *QScriptProgram
NewQScriptProgram4 constructs a new QScriptProgram object.
func NewQScriptProgram5 ¶
func NewQScriptProgram5(sourceCode string, fileName string, firstLineNumber int) *QScriptProgram
NewQScriptProgram5 constructs a new QScriptProgram object.
func UnsafeNewQScriptProgram ¶
func UnsafeNewQScriptProgram(h unsafe.Pointer) *QScriptProgram
UnsafeNewQScriptProgram constructs the type using only unsafe pointers.
func (*QScriptProgram) Delete ¶
func (this *QScriptProgram) Delete()
Delete this object from C++ memory.
func (*QScriptProgram) FileName ¶
func (this *QScriptProgram) FileName() string
func (*QScriptProgram) FirstLineNumber ¶
func (this *QScriptProgram) FirstLineNumber() int
func (*QScriptProgram) GoGC ¶
func (this *QScriptProgram) GoGC()
GoGC adds a Go Finalizer to this pointer, so that it will be deleted from C++ memory once it is unreachable from Go memory.
func (*QScriptProgram) IsNull ¶
func (this *QScriptProgram) IsNull() bool
func (*QScriptProgram) OperatorAssign ¶
func (this *QScriptProgram) OperatorAssign(other *QScriptProgram)
func (*QScriptProgram) OperatorEqual ¶
func (this *QScriptProgram) OperatorEqual(other *QScriptProgram) bool
func (*QScriptProgram) OperatorNotEqual ¶
func (this *QScriptProgram) OperatorNotEqual(other *QScriptProgram) bool
func (*QScriptProgram) SourceCode ¶
func (this *QScriptProgram) SourceCode() string
func (*QScriptProgram) UnsafePointer ¶
func (this *QScriptProgram) UnsafePointer() unsafe.Pointer
type QScriptString ¶
type QScriptString struct {
// contains filtered or unexported fields
}
func NewQScriptString ¶
func NewQScriptString() *QScriptString
NewQScriptString constructs a new QScriptString object.
func NewQScriptString2 ¶
func NewQScriptString2(other *QScriptString) *QScriptString
NewQScriptString2 constructs a new QScriptString object.
func UnsafeNewQScriptString ¶
func UnsafeNewQScriptString(h unsafe.Pointer) *QScriptString
UnsafeNewQScriptString constructs the type using only unsafe pointers.
func (*QScriptString) Delete ¶
func (this *QScriptString) Delete()
Delete this object from C++ memory.
func (*QScriptString) GoGC ¶
func (this *QScriptString) GoGC()
GoGC adds a Go Finalizer to this pointer, so that it will be deleted from C++ memory once it is unreachable from Go memory.
func (*QScriptString) IsValid ¶
func (this *QScriptString) IsValid() bool
func (*QScriptString) OperatorAssign ¶
func (this *QScriptString) OperatorAssign(other *QScriptString)
func (*QScriptString) OperatorEqual ¶
func (this *QScriptString) OperatorEqual(other *QScriptString) bool
func (*QScriptString) OperatorNotEqual ¶
func (this *QScriptString) OperatorNotEqual(other *QScriptString) bool
func (*QScriptString) ToArrayIndex ¶
func (this *QScriptString) ToArrayIndex() uint
func (*QScriptString) ToArrayIndex1 ¶
func (this *QScriptString) ToArrayIndex1(ok *bool) uint
func (*QScriptString) ToString ¶
func (this *QScriptString) ToString() string
func (*QScriptString) UnsafePointer ¶
func (this *QScriptString) UnsafePointer() unsafe.Pointer
type QScriptSyntaxCheckResult ¶
type QScriptSyntaxCheckResult struct {
// contains filtered or unexported fields
}
func NewQScriptSyntaxCheckResult ¶
func NewQScriptSyntaxCheckResult(other *QScriptSyntaxCheckResult) *QScriptSyntaxCheckResult
NewQScriptSyntaxCheckResult constructs a new QScriptSyntaxCheckResult object.
func QScriptEngine_CheckSyntax ¶
func QScriptEngine_CheckSyntax(program string) *QScriptSyntaxCheckResult
func UnsafeNewQScriptSyntaxCheckResult ¶
func UnsafeNewQScriptSyntaxCheckResult(h unsafe.Pointer) *QScriptSyntaxCheckResult
UnsafeNewQScriptSyntaxCheckResult constructs the type using only unsafe pointers.
func (*QScriptSyntaxCheckResult) Delete ¶
func (this *QScriptSyntaxCheckResult) Delete()
Delete this object from C++ memory.
func (*QScriptSyntaxCheckResult) ErrorColumnNumber ¶
func (this *QScriptSyntaxCheckResult) ErrorColumnNumber() int
func (*QScriptSyntaxCheckResult) ErrorLineNumber ¶
func (this *QScriptSyntaxCheckResult) ErrorLineNumber() int
func (*QScriptSyntaxCheckResult) ErrorMessage ¶
func (this *QScriptSyntaxCheckResult) ErrorMessage() string
func (*QScriptSyntaxCheckResult) GoGC ¶
func (this *QScriptSyntaxCheckResult) GoGC()
GoGC adds a Go Finalizer to this pointer, so that it will be deleted from C++ memory once it is unreachable from Go memory.
func (*QScriptSyntaxCheckResult) OperatorAssign ¶
func (this *QScriptSyntaxCheckResult) OperatorAssign(other *QScriptSyntaxCheckResult)
func (*QScriptSyntaxCheckResult) State ¶
func (this *QScriptSyntaxCheckResult) State() QScriptSyntaxCheckResult__State
func (*QScriptSyntaxCheckResult) UnsafePointer ¶
func (this *QScriptSyntaxCheckResult) UnsafePointer() unsafe.Pointer
type QScriptSyntaxCheckResult__State ¶
type QScriptSyntaxCheckResult__State int
const ( QScriptSyntaxCheckResult__Error QScriptSyntaxCheckResult__State = 0 QScriptSyntaxCheckResult__Intermediate QScriptSyntaxCheckResult__State = 1 QScriptSyntaxCheckResult__Valid QScriptSyntaxCheckResult__State = 2 )
type QScriptValue ¶
type QScriptValue struct {
// contains filtered or unexported fields
}
func NewQScriptValue ¶
func NewQScriptValue() *QScriptValue
NewQScriptValue constructs a new QScriptValue object.
func NewQScriptValue10 ¶
func NewQScriptValue10(value QScriptValue__SpecialValue) *QScriptValue
NewQScriptValue10 constructs a new QScriptValue object.
func NewQScriptValue11 ¶
func NewQScriptValue11(value bool) *QScriptValue
NewQScriptValue11 constructs a new QScriptValue object.
func NewQScriptValue12 ¶
func NewQScriptValue12(value int) *QScriptValue
NewQScriptValue12 constructs a new QScriptValue object.
func NewQScriptValue13 ¶
func NewQScriptValue13(value uint) *QScriptValue
NewQScriptValue13 constructs a new QScriptValue object.
func NewQScriptValue14 ¶
func NewQScriptValue14(value float64) *QScriptValue
NewQScriptValue14 constructs a new QScriptValue object.
func NewQScriptValue15 ¶
func NewQScriptValue15(value string) *QScriptValue
NewQScriptValue15 constructs a new QScriptValue object.
func NewQScriptValue16 ¶
func NewQScriptValue16(value string) *QScriptValue
NewQScriptValue16 constructs a new QScriptValue object.
func NewQScriptValue2 ¶
func NewQScriptValue2(other *QScriptValue) *QScriptValue
NewQScriptValue2 constructs a new QScriptValue object.
func NewQScriptValue3 ¶
func NewQScriptValue3(engine *QScriptEngine, val QScriptValue__SpecialValue) *QScriptValue
NewQScriptValue3 constructs a new QScriptValue object.
func NewQScriptValue4 ¶
func NewQScriptValue4(engine *QScriptEngine, val bool) *QScriptValue
NewQScriptValue4 constructs a new QScriptValue object.
func NewQScriptValue5 ¶
func NewQScriptValue5(engine *QScriptEngine, val int) *QScriptValue
NewQScriptValue5 constructs a new QScriptValue object.
func NewQScriptValue6 ¶
func NewQScriptValue6(engine *QScriptEngine, val uint) *QScriptValue
NewQScriptValue6 constructs a new QScriptValue object.
func NewQScriptValue7 ¶
func NewQScriptValue7(engine *QScriptEngine, val float64) *QScriptValue
NewQScriptValue7 constructs a new QScriptValue object.
func NewQScriptValue8 ¶
func NewQScriptValue8(engine *QScriptEngine, val string) *QScriptValue
NewQScriptValue8 constructs a new QScriptValue object.
func NewQScriptValue9 ¶
func NewQScriptValue9(engine *QScriptEngine, val string) *QScriptValue
NewQScriptValue9 constructs a new QScriptValue object.
func UnsafeNewQScriptValue ¶
func UnsafeNewQScriptValue(h unsafe.Pointer) *QScriptValue
UnsafeNewQScriptValue constructs the type using only unsafe pointers.
func (*QScriptValue) Call ¶
func (this *QScriptValue) Call() *QScriptValue
func (*QScriptValue) Call1 ¶
func (this *QScriptValue) Call1(thisObject *QScriptValue) *QScriptValue
func (*QScriptValue) Call2 ¶
func (this *QScriptValue) Call2(thisObject *QScriptValue, arguments *QScriptValue) *QScriptValue
func (*QScriptValue) Call22 ¶
func (this *QScriptValue) Call22(thisObject *QScriptValue, args []QScriptValue) *QScriptValue
func (*QScriptValue) Construct ¶
func (this *QScriptValue) Construct() *QScriptValue
func (*QScriptValue) Construct1 ¶
func (this *QScriptValue) Construct1(args []QScriptValue) *QScriptValue
func (*QScriptValue) ConstructWithArguments ¶
func (this *QScriptValue) ConstructWithArguments(arguments *QScriptValue) *QScriptValue
func (*QScriptValue) Data ¶
func (this *QScriptValue) Data() *QScriptValue
func (*QScriptValue) Delete ¶
func (this *QScriptValue) Delete()
Delete this object from C++ memory.
func (*QScriptValue) Engine ¶
func (this *QScriptValue) Engine() *QScriptEngine
func (*QScriptValue) Equals ¶
func (this *QScriptValue) Equals(other *QScriptValue) bool
func (*QScriptValue) GoGC ¶
func (this *QScriptValue) GoGC()
GoGC adds a Go Finalizer to this pointer, so that it will be deleted from C++ memory once it is unreachable from Go memory.
func (*QScriptValue) InstanceOf ¶
func (this *QScriptValue) InstanceOf(other *QScriptValue) bool
func (*QScriptValue) IsArray ¶
func (this *QScriptValue) IsArray() bool
func (*QScriptValue) IsBool ¶
func (this *QScriptValue) IsBool() bool
func (*QScriptValue) IsBoolean ¶
func (this *QScriptValue) IsBoolean() bool
func (*QScriptValue) IsDate ¶
func (this *QScriptValue) IsDate() bool
func (*QScriptValue) IsError ¶
func (this *QScriptValue) IsError() bool
func (*QScriptValue) IsFunction ¶
func (this *QScriptValue) IsFunction() bool
func (*QScriptValue) IsNull ¶
func (this *QScriptValue) IsNull() bool
func (*QScriptValue) IsNumber ¶
func (this *QScriptValue) IsNumber() bool
func (*QScriptValue) IsObject ¶
func (this *QScriptValue) IsObject() bool
func (*QScriptValue) IsQMetaObject ¶
func (this *QScriptValue) IsQMetaObject() bool
func (*QScriptValue) IsQObject ¶
func (this *QScriptValue) IsQObject() bool
func (*QScriptValue) IsRegExp ¶
func (this *QScriptValue) IsRegExp() bool
func (*QScriptValue) IsString ¶
func (this *QScriptValue) IsString() bool
func (*QScriptValue) IsUndefined ¶
func (this *QScriptValue) IsUndefined() bool
func (*QScriptValue) IsValid ¶
func (this *QScriptValue) IsValid() bool
func (*QScriptValue) IsVariant ¶
func (this *QScriptValue) IsVariant() bool
func (*QScriptValue) LessThan ¶
func (this *QScriptValue) LessThan(other *QScriptValue) bool
func (*QScriptValue) ObjectId ¶
func (this *QScriptValue) ObjectId() int64
func (*QScriptValue) OperatorAssign ¶
func (this *QScriptValue) OperatorAssign(other *QScriptValue)
func (*QScriptValue) Property ¶
func (this *QScriptValue) Property(name string) *QScriptValue
func (*QScriptValue) Property2 ¶
func (this *QScriptValue) Property2(name string, mode *QScriptValue__ResolveFlag) *QScriptValue
func (*QScriptValue) Property22 ¶
func (this *QScriptValue) Property22(arrayIndex uint, mode *QScriptValue__ResolveFlag) *QScriptValue
func (*QScriptValue) Property23 ¶
func (this *QScriptValue) Property23(name *QScriptString, mode *QScriptValue__ResolveFlag) *QScriptValue
func (*QScriptValue) PropertyFlags ¶
func (this *QScriptValue) PropertyFlags(name string) QScriptValue__PropertyFlag
func (*QScriptValue) PropertyFlags2 ¶
func (this *QScriptValue) PropertyFlags2(name string, mode *QScriptValue__ResolveFlag) QScriptValue__PropertyFlag
func (*QScriptValue) PropertyFlags22 ¶
func (this *QScriptValue) PropertyFlags22(name *QScriptString, mode *QScriptValue__ResolveFlag) QScriptValue__PropertyFlag
func (*QScriptValue) PropertyFlagsWithName ¶
func (this *QScriptValue) PropertyFlagsWithName(name *QScriptString) QScriptValue__PropertyFlag
func (*QScriptValue) PropertyWithArrayIndex ¶
func (this *QScriptValue) PropertyWithArrayIndex(arrayIndex uint) *QScriptValue
func (*QScriptValue) PropertyWithName ¶
func (this *QScriptValue) PropertyWithName(name *QScriptString) *QScriptValue
func (*QScriptValue) Prototype ¶
func (this *QScriptValue) Prototype() *QScriptValue
func (*QScriptValue) Scope ¶
func (this *QScriptValue) Scope() *QScriptValue
func (*QScriptValue) ScriptClass ¶
func (this *QScriptValue) ScriptClass() *QScriptClass
func (*QScriptValue) SetData ¶
func (this *QScriptValue) SetData(data *QScriptValue)
func (*QScriptValue) SetProperty ¶
func (this *QScriptValue) SetProperty(name string, value *QScriptValue)
func (*QScriptValue) SetProperty2 ¶
func (this *QScriptValue) SetProperty2(arrayIndex uint, value *QScriptValue)
func (*QScriptValue) SetProperty3 ¶
func (this *QScriptValue) SetProperty3(name *QScriptString, value *QScriptValue)
func (*QScriptValue) SetProperty32 ¶
func (this *QScriptValue) SetProperty32(name string, value *QScriptValue, flags *QScriptValue__PropertyFlag)
func (*QScriptValue) SetProperty33 ¶
func (this *QScriptValue) SetProperty33(arrayIndex uint, value *QScriptValue, flags *QScriptValue__PropertyFlag)
func (*QScriptValue) SetProperty34 ¶
func (this *QScriptValue) SetProperty34(name *QScriptString, value *QScriptValue, flags *QScriptValue__PropertyFlag)
func (*QScriptValue) SetPrototype ¶
func (this *QScriptValue) SetPrototype(prototype *QScriptValue)
func (*QScriptValue) SetScope ¶
func (this *QScriptValue) SetScope(scope *QScriptValue)
func (*QScriptValue) SetScriptClass ¶
func (this *QScriptValue) SetScriptClass(scriptClass *QScriptClass)
func (*QScriptValue) StrictlyEquals ¶
func (this *QScriptValue) StrictlyEquals(other *QScriptValue) bool
func (*QScriptValue) ToBool ¶
func (this *QScriptValue) ToBool() bool
func (*QScriptValue) ToBoolean ¶
func (this *QScriptValue) ToBoolean() bool
func (*QScriptValue) ToDateTime ¶
func (this *QScriptValue) ToDateTime() *qt.QDateTime
func (*QScriptValue) ToInt32 ¶
func (this *QScriptValue) ToInt32() int
func (*QScriptValue) ToInteger ¶
func (this *QScriptValue) ToInteger() float64
func (*QScriptValue) ToNumber ¶
func (this *QScriptValue) ToNumber() float64
func (*QScriptValue) ToObject ¶
func (this *QScriptValue) ToObject() *QScriptValue
func (*QScriptValue) ToQMetaObject ¶
func (this *QScriptValue) ToQMetaObject() *qt.QMetaObject
func (*QScriptValue) ToQObject ¶
func (this *QScriptValue) ToQObject() *qt.QObject
func (*QScriptValue) ToRegExp ¶
func (this *QScriptValue) ToRegExp() *qt.QRegExp
func (*QScriptValue) ToString ¶
func (this *QScriptValue) ToString() string
func (*QScriptValue) ToUInt16 ¶
func (this *QScriptValue) ToUInt16() uint16
func (*QScriptValue) ToUInt32 ¶
func (this *QScriptValue) ToUInt32() uint
func (*QScriptValue) ToVariant ¶
func (this *QScriptValue) ToVariant() *qt.QVariant
func (*QScriptValue) UnsafePointer ¶
func (this *QScriptValue) UnsafePointer() unsafe.Pointer
type QScriptValueIterator ¶
type QScriptValueIterator struct {
// contains filtered or unexported fields
}
func NewQScriptValueIterator ¶
func NewQScriptValueIterator(value *QScriptValue) *QScriptValueIterator
NewQScriptValueIterator constructs a new QScriptValueIterator object.
func UnsafeNewQScriptValueIterator ¶
func UnsafeNewQScriptValueIterator(h unsafe.Pointer) *QScriptValueIterator
UnsafeNewQScriptValueIterator constructs the type using only unsafe pointers.
func (*QScriptValueIterator) Delete ¶
func (this *QScriptValueIterator) Delete()
Delete this object from C++ memory.
func (*QScriptValueIterator) Flags ¶
func (this *QScriptValueIterator) Flags() QScriptValue__PropertyFlag
func (*QScriptValueIterator) GoGC ¶
func (this *QScriptValueIterator) GoGC()
GoGC adds a Go Finalizer to this pointer, so that it will be deleted from C++ memory once it is unreachable from Go memory.
func (*QScriptValueIterator) HasNext ¶
func (this *QScriptValueIterator) HasNext() bool
func (*QScriptValueIterator) HasPrevious ¶
func (this *QScriptValueIterator) HasPrevious() bool
func (*QScriptValueIterator) Name ¶
func (this *QScriptValueIterator) Name() string
func (*QScriptValueIterator) Next ¶
func (this *QScriptValueIterator) Next()
func (*QScriptValueIterator) OperatorAssign ¶
func (this *QScriptValueIterator) OperatorAssign(value *QScriptValue)
func (*QScriptValueIterator) Previous ¶
func (this *QScriptValueIterator) Previous()
func (*QScriptValueIterator) Remove ¶
func (this *QScriptValueIterator) Remove()
func (*QScriptValueIterator) ScriptName ¶
func (this *QScriptValueIterator) ScriptName() *QScriptString
func (*QScriptValueIterator) SetValue ¶
func (this *QScriptValueIterator) SetValue(value *QScriptValue)
func (*QScriptValueIterator) ToBack ¶
func (this *QScriptValueIterator) ToBack()
func (*QScriptValueIterator) ToFront ¶
func (this *QScriptValueIterator) ToFront()
func (*QScriptValueIterator) UnsafePointer ¶
func (this *QScriptValueIterator) UnsafePointer() unsafe.Pointer
func (*QScriptValueIterator) Value ¶
func (this *QScriptValueIterator) Value() *QScriptValue
type QScriptValue__PropertyFlag ¶
type QScriptValue__PropertyFlag int
const ( QScriptValue__ReadOnly QScriptValue__PropertyFlag = 1 QScriptValue__Undeletable QScriptValue__PropertyFlag = 2 QScriptValue__SkipInEnumeration QScriptValue__PropertyFlag = 4 QScriptValue__PropertyGetter QScriptValue__PropertyFlag = 8 QScriptValue__PropertySetter QScriptValue__PropertyFlag = 16 QScriptValue__QObjectMember QScriptValue__PropertyFlag = 32 QScriptValue__KeepExistingFlags QScriptValue__PropertyFlag = 2048 QScriptValue__UserRange QScriptValue__PropertyFlag = 4278190080 )
type QScriptValue__ResolveFlag ¶
type QScriptValue__ResolveFlag int
const ( QScriptValue__ResolveLocal QScriptValue__ResolveFlag = 0 QScriptValue__ResolvePrototype QScriptValue__ResolveFlag = 1 QScriptValue__ResolveScope QScriptValue__ResolveFlag = 2 QScriptValue__ResolveFull QScriptValue__ResolveFlag = 3 )
type QScriptValue__SpecialValue ¶
type QScriptValue__SpecialValue int
const ( QScriptValue__NullValue QScriptValue__SpecialValue = 0 QScriptValue__UndefinedValue QScriptValue__SpecialValue = 1 )
type QScriptable ¶
type QScriptable struct {
// contains filtered or unexported fields
}
func NewQScriptable ¶
func NewQScriptable() *QScriptable
NewQScriptable constructs a new QScriptable object.
func UnsafeNewQScriptable ¶
func UnsafeNewQScriptable(h unsafe.Pointer) *QScriptable
UnsafeNewQScriptable constructs the type using only unsafe pointers.
func (*QScriptable) Argument ¶
func (this *QScriptable) Argument(index int) *QScriptValue
func (*QScriptable) ArgumentCount ¶
func (this *QScriptable) ArgumentCount() int
func (*QScriptable) Context ¶
func (this *QScriptable) Context() *QScriptContext
func (*QScriptable) Engine ¶
func (this *QScriptable) Engine() *QScriptEngine
func (*QScriptable) GoGC ¶
func (this *QScriptable) GoGC()
GoGC adds a Go Finalizer to this pointer, so that it will be deleted from C++ memory once it is unreachable from Go memory.
func (*QScriptable) ThisObject ¶
func (this *QScriptable) ThisObject() *QScriptValue
func (*QScriptable) UnsafePointer ¶
func (this *QScriptable) UnsafePointer() unsafe.Pointer
Source Files ¶
- cflags.go
- gen_qscriptable.go
- gen_qscriptclass.go
- gen_qscriptclasspropertyiterator.go
- gen_qscriptcontext.go
- gen_qscriptcontextinfo.go
- gen_qscriptengine.go
- gen_qscriptengineagent.go
- gen_qscriptextensioninterface.go
- gen_qscriptextensionplugin.go
- gen_qscriptprogram.go
- gen_qscriptstring.go
- gen_qscriptvalue.go
- gen_qscriptvalueiterator.go