Qt ignores the signals and slotes defined in my source.cpp as they have to be defined in the source.h.
If I add another Q_OBJECT inside Foo::FooPrivate I got a lot of Linker errors.
Qt ignores the signals and slotes defined in my source.cpp as they have to be defined in the source.h.
If I add another Q_OBJECT inside Foo::FooPrivate I got a lot of Linker errors.
The signals have to be declared in the header.Qt ignores the signals and slotes defined in my source.cpp as they have to be defined in the source.h.
The slots as well.
The slots have to be defined in the source file.
Show the errors you get.If I add another Q_OBJECT inside Foo::FooPrivate I got a lot of Linker errors.
EDIT:
Ah, i just now noticed this:
The class declaration has to be in a header file.My source file is build like:
==========================signature=============== ==================
S.O.L.I.D principles (use them!):
https://en.wikipedia.org/wiki/SOLID_...iented_design)
Do you write clean code? - if you are TDD'ing then maybe, if not, your not writing clean code.
Bookmarks