Name 'target' in QML Connections confusing
-
Hi,
Is it just me or is the name 'target' in the QML Connections Type really confusing? I would have called it 'source' since it indicates "the object that sends the signal" - so the source object of the signal.
What is the rationale for the name 'target'?
Gr,
Daan -
My professional guess is that Connections is specifically designed to reference a QtObject or null, ensuring type safety and clarity in signal connections.
Source is a more generic term in QML, commonly used for properties like Image.source or Component.source, which refer to the data or component being displayed or instantiated.