Quote Originally Posted by franzib View Post
Ah I see, I have to implement two connections. One signal in each class and one slot in each class and the variable is emitted in the slot functions, right?
No.
One signal at the source and one slot at the receiver is enough.

And you don't need signal/slots at all if all you want is to provide initial data to the other object.

The example is a demonstration on how to use signal/slots but in a real project just useless code complexity.

Cheers,
_