示例#1
0
文件: qdrag.go 项目: xland/qt
func (ptr *QDrag) Source() *core.QObject {
	if ptr.Pointer() != nil {
		return core.NewQObjectFromPointer(C.QDrag_Source(ptr.Pointer()))
	}
	return nil
}
示例#2
0
文件: qdrag.go 项目: xland/qt
func (ptr *QDrag) Target() *core.QObject {
	if ptr.Pointer() != nil {
		return core.NewQObjectFromPointer(C.QDrag_Target(ptr.Pointer()))
	}
	return nil
}
示例#3
0
文件: qqmlproperty.go 项目: xland/qt
func (ptr *QQmlProperty) Object() *core.QObject {
	if ptr.Pointer() != nil {
		return core.NewQObjectFromPointer(C.QQmlProperty_Object(ptr.Pointer()))
	}
	return nil
}
示例#4
0
func (ptr *QQmlExpression) ScopeObject() *core.QObject {
	if ptr.Pointer() != nil {
		return core.NewQObjectFromPointer(C.QQmlExpression_ScopeObject(ptr.Pointer()))
	}
	return nil
}
示例#5
0
func QGuiApplication_FocusObject() *core.QObject {
	return core.NewQObjectFromPointer(C.QGuiApplication_QGuiApplication_FocusObject())
}
示例#6
0
文件: qqmlerror.go 项目: xland/qt
func (ptr *QQmlError) Object() *core.QObject {
	if ptr.Pointer() != nil {
		return core.NewQObjectFromPointer(C.QQmlError_Object(ptr.Pointer()))
	}
	return nil
}
示例#7
0
func (ptr *QDBusConnection) ObjectRegisteredAt(path string) *core.QObject {
	if ptr.Pointer() != nil {
		return core.NewQObjectFromPointer(C.QDBusConnection_ObjectRegisteredAt(ptr.Pointer(), C.CString(path)))
	}
	return nil
}
示例#8
0
func (ptr *QAccessibleEvent) Object() *core.QObject {
	if ptr.Pointer() != nil {
		return core.NewQObjectFromPointer(C.QAccessibleEvent_Object(ptr.Pointer()))
	}
	return nil
}
示例#9
0
文件: qtouchevent.go 项目: xland/qt
func (ptr *QTouchEvent) Target() *core.QObject {
	if ptr.Pointer() != nil {
		return core.NewQObjectFromPointer(C.QTouchEvent_Target(ptr.Pointer()))
	}
	return nil
}
示例#10
0
func (ptr *QNetworkRequest) OriginatingObject() *core.QObject {
	if ptr.Pointer() != nil {
		return core.NewQObjectFromPointer(C.QNetworkRequest_OriginatingObject(ptr.Pointer()))
	}
	return nil
}
示例#11
0
文件: qwindow.go 项目: xland/qt
//export callbackQWindowFocusObjectChanged
func callbackQWindowFocusObjectChanged(ptrName *C.char, object unsafe.Pointer) {
	qt.GetSignal(C.GoString(ptrName), "focusObjectChanged").(func(*core.QObject))(core.NewQObjectFromPointer(object))
}
示例#12
0
文件: qwindow.go 项目: xland/qt
func (ptr *QWindow) FocusObject() *core.QObject {
	if ptr.Pointer() != nil {
		return core.NewQObjectFromPointer(C.QWindow_FocusObject(ptr.Pointer()))
	}
	return nil
}
示例#13
0
文件: qqmlcontext.go 项目: xland/qt
func (ptr *QQmlContext) ContextObject() *core.QObject {
	if ptr.Pointer() != nil {
		return core.NewQObjectFromPointer(C.QQmlContext_ContextObject(ptr.Pointer()))
	}
	return nil
}
示例#14
0
文件: qdrag.go 项目: xland/qt
//export callbackQDragTargetChanged
func callbackQDragTargetChanged(ptrName *C.char, newTarget unsafe.Pointer) {
	qt.GetSignal(C.GoString(ptrName), "targetChanged").(func(*core.QObject))(core.NewQObjectFromPointer(newTarget))
}
示例#15
0
func (ptr *QQmlListReference) Object() *core.QObject {
	if ptr.Pointer() != nil {
		return core.NewQObjectFromPointer(C.QQmlListReference_Object(ptr.Pointer()))
	}
	return nil
}
示例#16
0
文件: qscriptvalue.go 项目: xland/qt
func (ptr *QScriptValue) ToQObject() *core.QObject {
	if ptr.Pointer() != nil {
		return core.NewQObjectFromPointer(C.QScriptValue_ToQObject(ptr.Pointer()))
	}
	return nil
}
示例#17
0
func (ptr *QQmlListReference) At(index int) *core.QObject {
	if ptr.Pointer() != nil {
		return core.NewQObjectFromPointer(C.QQmlListReference_At(ptr.Pointer(), C.int(index)))
	}
	return nil
}
示例#18
0
文件: qqmlcomponent.go 项目: xland/qt
func (ptr *QQmlComponent) BeginCreate(publicContext QQmlContext_ITF) *core.QObject {
	if ptr.Pointer() != nil {
		return core.NewQObjectFromPointer(C.QQmlComponent_BeginCreate(ptr.Pointer(), PointerFromQQmlContext(publicContext)))
	}
	return nil
}
示例#19
0
文件: qscroller.go 项目: xland/qt
func (ptr *QScroller) Target() *core.QObject {
	if ptr.Pointer() != nil {
		return core.NewQObjectFromPointer(C.QScroller_Target(ptr.Pointer()))
	}
	return nil
}
示例#20
0
//export callbackQGuiApplicationFocusObjectChanged
func callbackQGuiApplicationFocusObjectChanged(ptrName *C.char, focusObject unsafe.Pointer) {
	qt.GetSignal(C.GoString(ptrName), "focusObjectChanged").(func(*core.QObject))(core.NewQObjectFromPointer(focusObject))
}
示例#21
0
func QGenericPluginFactory_Create(key string, specification string) *core.QObject {
	return core.NewQObjectFromPointer(C.QGenericPluginFactory_QGenericPluginFactory_Create(C.CString(key), C.CString(specification)))
}