Qt ignores the signals and slotes defined in my source.cpp as they have to be defined in the source.h.
The signals have to be declared in the header.
The slots as well.

The slots have to be defined in the source file.

If I add another Q_OBJECT inside Foo::FooPrivate I got a lot of Linker errors.
Show the errors you get.

EDIT:
Ah, i just now noticed this:
My source file is build like:
The class declaration has to be in a header file.