Diffstat (limited to 'noncore/multimedia/opieplayer2/skin.h') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/multimedia/opieplayer2/skin.h | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/noncore/multimedia/opieplayer2/skin.h b/noncore/multimedia/opieplayer2/skin.h index 5ab6574..060ff73 100644 --- a/noncore/multimedia/opieplayer2/skin.h +++ b/noncore/multimedia/opieplayer2/skin.h @@ -27,13 +27,12 @@ #include <qimage.h> #include <qmap.h> #include <qdict.h> #include "mediawidget.h" #include "threadutil.h" -#include "singleton.h" struct SkinData; class Skin { public: @@ -64,27 +63,12 @@ private: SkinData *d; Skin( const Skin & ); Skin &operator=( const Skin & ); }; -class SkinCache : public Singleton<SkinCache> -{ -public: - SkinCache(); - - QImage loadImage( const QString &name ); - -private: - typedef QDict<QImage> ImageCache; - - ImageCache m_cache; - - ThreadUtil::Mutex m_cacheGuard; -}; - class SkinLoader : public ThreadUtil::Thread { public: SkinLoader(); void schedule( const QString &skinName, const QString &fileNameInfix, |