most of the changes were done trought Katie's namefsck script which
convertes forward class declarations to include directives, however
other fixes here and there were needed as well as some questionable
changes to Q_DECLARE_TYPEINFO() macro calls because they most likely
have to do the namespacing themselfs (QT_BEGIN/END_NAMESPACE, and
probably will be in Katie) meaning that some of the changes may be
temporary and reverted later.
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
this fixes a lot of issues related to hostname changes,
especially when NetworkManager is in use which tends to change
it after successfull connection breaking X11 apps in the process
which rely on hostname based authority via magic cookies and what
not.
since most of the settings are "frozen" now there is little to no
chance that it will be needed. CMake files that reference paths
for installing .upd files are left intact for now.
for compatibilty reasons automoc4 support is not removed but it
shall be in the future. automoc4 has not been maintained for a
while (last commit is from 2011) and the stable release is from
2009.
CMake version >= 2.8.6 provides the functionality for mocking so
I see no reason to not make use of it.