Fix operator= for derived classes.
Simplify API for functionSignature() back to a single bool "forImplementation".

Fix "virtual" being emitted in the implementation (.cpp) file.
Fix generation of classes with multiple nested namespaces (A::B::C)

Fix disappearing classes when the same file has classes with the same
name in different namespaces.
Support forward declarations of namespaced classes by putting Foo::Bar into namespace Foo { class Bar; } etc.

Patch by Frank Osterfeld <frank.osterfeld@kdab.com>
Fix warning/error due to unused var, as reported on kde-pim.
Fix compilation (and code generation) with a namespaced Qt.
Fix include guard when filenameHeader() is a full path.