it cannot be detached even if not copied (as done when it is not in
QImage::Format_ARGB32 format) because image is constant reference but if it
is converted it will be actually detached, also QByteArray takes ownership
of the data
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
I think the last use of it went away with KMenuBar, other parts Katana
mostly check for it so that they can ignore it
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
this is basicly to make code build, does not mean it will work as
expected. the change basicly adds the bits needed to make other
system tray components build gracefully withouts hacks.
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
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.