Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
doc_src_objectregistry.cpp File Reference

(24d7440e3b3410e0d6b587b63f1ce285b8d3bc17)

Go to the source code of this file.

Functions

 connect (object, SIGNAL(clicked(QQuickMouseEvent *)), this, SLOT(myClickHandler()))
 for (auto obj :repeaterObjects)

Variables

 MouseArea
 [0]
const auto object = ref->object()
 Repeater
 [2]
const auto repeaterObjects = ref->objects()

Function Documentation

◆ connect()

connect ( object ,
SIGNAL(clicked(QQuickMouseEvent *)) ,
this ,
SLOT(myClickHandler())  )

◆ for()

for ( auto obj :repeaterObjects )

Definition at line 74 of file doc_src_objectregistry.cpp.

Variable Documentation

◆ MouseArea

MouseArea
Initial value:
{
ObjectRegistry.key: "MyMouseArea"
}
ObjectRegistryRef {
id: mouseAreaRef
key: "MyMouseArea"
Connections {
target: mouseAreaRef.object
function onClicked(mouse) {
console.log("Mouse clicked")
}
}
}
auto ref = new QObjectRegistryRef(engine, "MyMouseArea")
DBusConnection const char DBusError DBusBusType DBusError return DBusConnection DBusHandleMessageFunction function
[0]
GLenum GLuint id
GLuint64 key
GLint ref
EGLContext EGLenum target
QJSEngine engine
[0]

[0]

Definition at line 6 of file doc_src_objectregistry.cpp.

◆ object

const auto object = ref->object()

Definition at line 29 of file doc_src_objectregistry.cpp.

◆ Repeater

Repeater

[2]

[3]

Definition at line 36 of file doc_src_objectregistry.cpp.

◆ repeaterObjects

const auto repeaterObjects = ref->objects()

Definition at line 73 of file doc_src_objectregistry.cpp.