interop

package
v0.0.0-...-c0c124a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 4, 2020 License: LGPL-3.0 Imports: 11 Imported by: 9

Documentation

Index

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

type PseudoQJSValue struct{ core.QVariant }

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
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL