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 may horribly break some stuff (such as services) in external projects
,though, I've grep-ed and found none using that method outside of kded.
it was only for backwards compatibility but all places where old behavior
is used have been adjusted (hopefully)
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
by caching results and storing them in a hash the results should
flow faster, a limit should probably be set on this but for now
there isn't. exists() and realPath() now cannot be called without
object!
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.
altought the KIO library is not needed I faced some linking
problems during build, almost as if the libraries requested for
the kded4 building were ignored. this needs further investigation
but for now that will do.
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.