Revision a68a34b...

Go back to digest for 11th August 2013

Bug Fixes in KDE Base

Kevin Ottens committed changes in [kdelibs/frameworks] /:

Turn KImageCache into a mixin for KSharedDataCache

Explanations needed on that one. :-)

We want KImageCache in KGuiAddons, but we can't depend on KCoreAddons
from there. Unfortunately KSharedDataCache (base class of KImageCache)
is in KCoreAddons.
We escape that unfortunate situation thanks to several moves:
* factor out the local cache code in its own class;
* introduce a template mixin class which inherits from the local cache
class and introduce all the KSharedDataCache dependent code, this
dependency will be resolved at compile time in the client code
(remember it's a mixin);
* to make it nicer to use have KImageCache as a #define of the mixin
instanciated for KSharedDataCache

File Changes

Added 1 files
  • kdeui/util/klocalimagecacheimpl.h
Modified 2 files
  •   kdeui/CMakeLists.txt
  •   kdeui/util/kimagecache.h
3 files changed in total