new Connection(source, signal, destination, slot)
Defines a connection between two components
Parameters:
Name | Type | Description |
---|---|---|
source |
object | component at the source |
signal |
string | name of the signal emitting data |
destination |
object | component at the destination |
slot |
string | name of the signal receiving data |
- Source:
Methods
-
<static> cast(obj, context)
-
Helper function that casts a connection from a description
Parameters:
Name Type Description obj
object a raw description of the connection context
object the context in which this connection takes place. - Source:
Returns:
a connection -
connect()
-
Connects two components as described in this object
- Source:
-
disconnect()
-
Disconnects a signal/slot connection between the two components described in this object.
- Source: