Passing pointer to object that emits a signal
Hello,
I have an issue that I think I know what it is, but not sure.
I have 3 classes:
"Foo"
"Foobar"
"LittleFoo"
LittleFoo emits a signal and I have a pointer to one of these objects in both Foo and Foobar, but this object is created in Foo.
From Foo, I connect the signal emitted from LittleFoo to a private slot in Foo, I then pass a pointer of LittleFoo to Foobar where I do some additional work with LittleFoo (Gui interface to LittleFoo)
When I make a change to LittleFoo inside Foobar, it stops emitting the signal inside Foo.
Any suggestions?
Thanks,
Gadgetman53
Re: Passing pointer to object that emits a signal
One suggestion: describe your problem again, code snippet would be better then this too complicated sentence.
Anyway your description of problem is not sufficient to have any clue what is the problem.
Re: Passing pointer to object that emits a signal
I figured it out. I wasn't using the method that starts the signals emitting. It's all good.
Thanks for the reply
Gadgetman53