Documentation ¶
Index ¶
- Constants
- Variables
- func Z_initEngine(engine PseudoQJSEngine_ITF)
- type PseudoQJSEngine
- func (this *PseudoQJSEngine) DestroyPseudoQJSEngine()
- func (this *PseudoQJSEngine) Evaluate(string, string, int) *PseudoQJSValue
- func (this *PseudoQJSEngine) GlobalObject() *PseudoQJSValue
- func (this *PseudoQJSEngine) NewArray(l uint) *PseudoQJSValue
- func (ptr *PseudoQJSEngine) NewGoType(i ...interface{}) *PseudoQJSValue
- func (ptr *PseudoQJSEngine) NewJSType(property *PseudoQJSValue, name string, i *PseudoQJSValue)
- func (this *PseudoQJSEngine) NewObject() *PseudoQJSValue
- func (this *PseudoQJSEngine) NewQObject(i *core.QObject) *PseudoQJSValue
- func (this *PseudoQJSEngine) Pointer() unsafe.Pointer
- func (this *PseudoQJSEngine) PseudoQJSEngine_PTR() *PseudoQJSEngine
- func (this *PseudoQJSEngine) QObject_PTR() *core.QObject
- func (this *PseudoQJSEngine) SetPointer(ptr unsafe.Pointer)
- func (ptr *PseudoQJSEngine) ToGoType(jsval *PseudoQJSValue, dst interface{})
- func (this *PseudoQJSEngine) ToScriptValue(i *core.QVariant) *PseudoQJSValue
- type PseudoQJSEngine_ITF
- type PseudoQJSValue
- func (this *PseudoQJSValue) Call(in []*PseudoQJSValue) *PseudoQJSValue
- func (this *PseudoQJSValue) CallMethod(name string, in []*PseudoQJSValue) *PseudoQJSValue
- func (this *PseudoQJSValue) DeleteProperty(n string) bool
- func (this *PseudoQJSValue) DestroyPseudoQJSValue()
- func (this *PseudoQJSValue) HasProperty(n string) bool
- func (this *PseudoQJSValue) IsArray() bool
- func (this *PseudoQJSValue) IsCallable() bool
- func (this *PseudoQJSValue) IsObject() bool
- func (this *PseudoQJSValue) IsUndefined() bool
- func (this *PseudoQJSValue) Length() int
- func (this *PseudoQJSValue) Property(n string) *PseudoQJSValue
- func (this *PseudoQJSValue) Property2(n uint) *PseudoQJSValue
- func (this *PseudoQJSValue) QPseudoQJSValue_PTR() *PseudoQJSValue
- func (this *PseudoQJSValue) SetProperty(n string, v *PseudoQJSValue)
- func (this *PseudoQJSValue) SetProperty2(n uint, v *PseudoQJSValue)
- func (this *PseudoQJSValue) ToInt() int
- func (this *PseudoQJSValue) ToVariant() *core.QVariant
- type PseudoQJSValue_ITF
Constants ¶
View Source
const PseudoQJSValue__UndefinedValue int64 = 0
Variables ¶
View Source
var ( Z_newEngineHelper func(p core.QObject_ITF) *core.QObject //needed only for interop ---> ReturnPointersAsStrings bool SupportsSyncCallsIntoRemote = true Z_wrapperFunctionReturnChan = make(chan *PseudoQJSValue, 0) )
View Source
var ( AsyncCallIntoRemote func(string) SyncCallIntoRemote func(string) )
View Source
var MainThreadHelper = NewMainThreadHelper(nil)
Functions ¶
func Z_initEngine ¶
func Z_initEngine(engine PseudoQJSEngine_ITF)
Types ¶
type PseudoQJSEngine ¶
type PseudoQJSEngine struct { QObject core.QObject //TODO: make it possible to subclass without invoking qtmoc // contains filtered or unexported fields }
func PseudoQJSEngine_qjsEngine ¶
func PseudoQJSEngine_qjsEngine(i *core.QObject) *PseudoQJSEngine
func (*PseudoQJSEngine) DestroyPseudoQJSEngine ¶
func (this *PseudoQJSEngine) DestroyPseudoQJSEngine()
func (*PseudoQJSEngine) Evaluate ¶
func (this *PseudoQJSEngine) Evaluate(string, string, int) *PseudoQJSValue
func (*PseudoQJSEngine) GlobalObject ¶
func (this *PseudoQJSEngine) GlobalObject() *PseudoQJSValue
func (*PseudoQJSEngine) NewArray ¶
func (this *PseudoQJSEngine) NewArray(l uint) *PseudoQJSValue
func (*PseudoQJSEngine) NewGoType ¶
func (ptr *PseudoQJSEngine) NewGoType(i ...interface{}) *PseudoQJSValue
func (*PseudoQJSEngine) NewJSType ¶
func (ptr *PseudoQJSEngine) NewJSType(property *PseudoQJSValue, name string, i *PseudoQJSValue)
func (*PseudoQJSEngine) NewObject ¶
func (this *PseudoQJSEngine) NewObject() *PseudoQJSValue
func (*PseudoQJSEngine) NewQObject ¶
func (this *PseudoQJSEngine) NewQObject(i *core.QObject) *PseudoQJSValue
func (*PseudoQJSEngine) Pointer ¶
func (this *PseudoQJSEngine) Pointer() unsafe.Pointer
TODO: make it possible to subclass without invoking qtmoc
func (*PseudoQJSEngine) PseudoQJSEngine_PTR ¶
func (this *PseudoQJSEngine) PseudoQJSEngine_PTR() *PseudoQJSEngine
func (*PseudoQJSEngine) QObject_PTR ¶
func (this *PseudoQJSEngine) QObject_PTR() *core.QObject
func (*PseudoQJSEngine) SetPointer ¶
func (this *PseudoQJSEngine) SetPointer(ptr unsafe.Pointer)
func (*PseudoQJSEngine) ToGoType ¶
func (ptr *PseudoQJSEngine) ToGoType(jsval *PseudoQJSValue, dst interface{})
func (*PseudoQJSEngine) ToScriptValue ¶
func (this *PseudoQJSEngine) ToScriptValue(i *core.QVariant) *PseudoQJSValue
type PseudoQJSEngine_ITF ¶
type PseudoQJSEngine_ITF interface { core.QObject_ITF PseudoQJSEngine_PTR() *PseudoQJSEngine }
type PseudoQJSValue ¶
func NewPseudoQJSValue ¶
func NewPseudoQJSValue(i int64) *PseudoQJSValue
func NewPseudoQJSValue1 ¶
func NewPseudoQJSValue1(i interface{}) *PseudoQJSValue
func NewPseudoQJSValue2 ¶
func NewPseudoQJSValue2(d *core.QVariant) *PseudoQJSValue
func NewPseudoQJSValue8 ¶
func NewPseudoQJSValue8(i string) *PseudoQJSValue
func Z_wrapperFunction ¶
func Z_wrapperFunction(jsvals *PseudoQJSValue) *PseudoQJSValue
func (*PseudoQJSValue) Call ¶
func (this *PseudoQJSValue) Call(in []*PseudoQJSValue) *PseudoQJSValue
func (*PseudoQJSValue) CallMethod ¶
func (this *PseudoQJSValue) CallMethod(name string, in []*PseudoQJSValue) *PseudoQJSValue
func (*PseudoQJSValue) DeleteProperty ¶
func (this *PseudoQJSValue) DeleteProperty(n string) bool
func (*PseudoQJSValue) DestroyPseudoQJSValue ¶
func (this *PseudoQJSValue) DestroyPseudoQJSValue()
func (*PseudoQJSValue) HasProperty ¶
func (this *PseudoQJSValue) HasProperty(n string) bool
func (*PseudoQJSValue) IsArray ¶
func (this *PseudoQJSValue) IsArray() bool
func (*PseudoQJSValue) IsCallable ¶
func (this *PseudoQJSValue) IsCallable() bool
func (*PseudoQJSValue) IsObject ¶
func (this *PseudoQJSValue) IsObject() bool
func (*PseudoQJSValue) IsUndefined ¶
func (this *PseudoQJSValue) IsUndefined() bool
func (*PseudoQJSValue) Length ¶
func (this *PseudoQJSValue) Length() int
func (*PseudoQJSValue) Property ¶
func (this *PseudoQJSValue) Property(n string) *PseudoQJSValue
func (*PseudoQJSValue) Property2 ¶
func (this *PseudoQJSValue) Property2(n uint) *PseudoQJSValue
func (*PseudoQJSValue) QPseudoQJSValue_PTR ¶
func (this *PseudoQJSValue) QPseudoQJSValue_PTR() *PseudoQJSValue
func (*PseudoQJSValue) SetProperty ¶
func (this *PseudoQJSValue) SetProperty(n string, v *PseudoQJSValue)
func (*PseudoQJSValue) SetProperty2 ¶
func (this *PseudoQJSValue) SetProperty2(n uint, v *PseudoQJSValue)
func (*PseudoQJSValue) ToInt ¶
func (this *PseudoQJSValue) ToInt() int
func (*PseudoQJSValue) ToVariant ¶
func (this *PseudoQJSValue) ToVariant() *core.QVariant
type PseudoQJSValue_ITF ¶
type PseudoQJSValue_ITF interface { core.QVariant_ITF PseudoQJSValue_PTR() *PseudoQJSValue }
Source Files ¶
Click to show internal directories.
Click to hide internal directories.