Use this overload if you want to connect to an objects method
which does not match the signal's signature. You can provide
any delegate to do the parameter adaption, but make sure your
delegates' context does not contain a reference to the target
object, instead use the provided obj parameter, where the
object passed to connect will be passed to your delegate.
This is to make weak ref semantics possible, if your delegate
contains a ref to obj, the object won't be freed as long as
the connection remains.
Preconditions: obj and dg must not be null.
dg's context must not be equal to obj.
Indirect connection to an object.
Use this overload if you want to connect to an objects method which does not match the signal's signature. You can provide any delegate to do the parameter adaption, but make sure your delegates' context does not contain a reference to the target object, instead use the provided obj parameter, where the object passed to connect will be passed to your delegate. This is to make weak ref semantics possible, if your delegate contains a ref to obj, the object won't be freed as long as the connection remains.
Preconditions: obj and dg must not be null. dg's context must not be equal to obj.