Esempio n. 1
0
File: qdrag.go Progetto: xland/qt
func (ptr *QDrag) Source() *core.QObject {
	if ptr.Pointer() != nil {
		return core.NewQObjectFromPointer(C.QDrag_Source(ptr.Pointer()))
	}
	return nil
}
Esempio n. 2
0
File: qdrag.go Progetto: xland/qt
func (ptr *QDrag) Target() *core.QObject {
	if ptr.Pointer() != nil {
		return core.NewQObjectFromPointer(C.QDrag_Target(ptr.Pointer()))
	}
	return nil
}
Esempio n. 3
0
func (ptr *QQmlProperty) Object() *core.QObject {
	if ptr.Pointer() != nil {
		return core.NewQObjectFromPointer(C.QQmlProperty_Object(ptr.Pointer()))
	}
	return nil
}
Esempio n. 4
0
func (ptr *QQmlExpression) ScopeObject() *core.QObject {
	if ptr.Pointer() != nil {
		return core.NewQObjectFromPointer(C.QQmlExpression_ScopeObject(ptr.Pointer()))
	}
	return nil
}
Esempio n. 5
0
func QGuiApplication_FocusObject() *core.QObject {
	return core.NewQObjectFromPointer(C.QGuiApplication_QGuiApplication_FocusObject())
}
Esempio n. 6
0
func (ptr *QQmlError) Object() *core.QObject {
	if ptr.Pointer() != nil {
		return core.NewQObjectFromPointer(C.QQmlError_Object(ptr.Pointer()))
	}
	return nil
}
Esempio n. 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
}
Esempio n. 8
0
func (ptr *QAccessibleEvent) Object() *core.QObject {
	if ptr.Pointer() != nil {
		return core.NewQObjectFromPointer(C.QAccessibleEvent_Object(ptr.Pointer()))
	}
	return nil
}
Esempio n. 9
0
func (ptr *QTouchEvent) Target() *core.QObject {
	if ptr.Pointer() != nil {
		return core.NewQObjectFromPointer(C.QTouchEvent_Target(ptr.Pointer()))
	}
	return nil
}
Esempio n. 10
0
func (ptr *QNetworkRequest) OriginatingObject() *core.QObject {
	if ptr.Pointer() != nil {
		return core.NewQObjectFromPointer(C.QNetworkRequest_OriginatingObject(ptr.Pointer()))
	}
	return nil
}
Esempio n. 11
0
File: qwindow.go Progetto: xland/qt
//export callbackQWindowFocusObjectChanged
func callbackQWindowFocusObjectChanged(ptrName *C.char, object unsafe.Pointer) {
	qt.GetSignal(C.GoString(ptrName), "focusObjectChanged").(func(*core.QObject))(core.NewQObjectFromPointer(object))
}
Esempio n. 12
0
File: qwindow.go Progetto: xland/qt
func (ptr *QWindow) FocusObject() *core.QObject {
	if ptr.Pointer() != nil {
		return core.NewQObjectFromPointer(C.QWindow_FocusObject(ptr.Pointer()))
	}
	return nil
}
Esempio n. 13
0
func (ptr *QQmlContext) ContextObject() *core.QObject {
	if ptr.Pointer() != nil {
		return core.NewQObjectFromPointer(C.QQmlContext_ContextObject(ptr.Pointer()))
	}
	return nil
}
Esempio n. 14
0
File: qdrag.go Progetto: xland/qt
//export callbackQDragTargetChanged
func callbackQDragTargetChanged(ptrName *C.char, newTarget unsafe.Pointer) {
	qt.GetSignal(C.GoString(ptrName), "targetChanged").(func(*core.QObject))(core.NewQObjectFromPointer(newTarget))
}
Esempio n. 15
0
func (ptr *QQmlListReference) Object() *core.QObject {
	if ptr.Pointer() != nil {
		return core.NewQObjectFromPointer(C.QQmlListReference_Object(ptr.Pointer()))
	}
	return nil
}
Esempio n. 16
0
func (ptr *QScriptValue) ToQObject() *core.QObject {
	if ptr.Pointer() != nil {
		return core.NewQObjectFromPointer(C.QScriptValue_ToQObject(ptr.Pointer()))
	}
	return nil
}
Esempio n. 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
}
Esempio n. 18
0
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
}
Esempio n. 19
0
func (ptr *QScroller) Target() *core.QObject {
	if ptr.Pointer() != nil {
		return core.NewQObjectFromPointer(C.QScroller_Target(ptr.Pointer()))
	}
	return nil
}
Esempio n. 20
0
//export callbackQGuiApplicationFocusObjectChanged
func callbackQGuiApplicationFocusObjectChanged(ptrName *C.char, focusObject unsafe.Pointer) {
	qt.GetSignal(C.GoString(ptrName), "focusObjectChanged").(func(*core.QObject))(core.NewQObjectFromPointer(focusObject))
}
Esempio n. 21
0
func QGenericPluginFactory_Create(key string, specification string) *core.QObject {
	return core.NewQObjectFromPointer(C.QGenericPluginFactory_QGenericPluginFactory_Create(C.CString(key), C.CString(specification)))
}