diff options
author | Armin Berres <armin.berres@basyskom.de> | 2010-09-30 15:08:34 +0200 |
---|---|---|
committer | Armin Berres <armin.berres@basyskom.de> | 2010-09-30 17:33:51 +0200 |
commit | 4b51b0c74c6a1f6bee170cf4c1fbd6866b311aef (patch) | |
tree | d5285a9dcbb31567e44b62349fe0236c819f9840 /src/corelib/theme/mthemedaemon.h | |
parent | cfba51989787c11f79b86a7719ab0c4767f66120 (diff) |
Changes: local themedaemon ignores most used pixmaps
RevBy: Holger Schröder
Details:
The remote themedaemon keeps statistics about the most used
pixmaps and preloads them at app startup.
So far the local themedaemon also did this. This means every
app started e.g. in scratchbox where no necessarily a themedaemon
is running started to preload pixmaps. Apart from that different
apps would simply override the stats of other running apps.
Diffstat (limited to 'src/corelib/theme/mthemedaemon.h')
-rw-r--r-- | src/corelib/theme/mthemedaemon.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/corelib/theme/mthemedaemon.h b/src/corelib/theme/mthemedaemon.h index 9770560a..1c9f98b4 100644 --- a/src/corelib/theme/mthemedaemon.h +++ b/src/corelib/theme/mthemedaemon.h @@ -32,7 +32,12 @@ class MThemeDaemonClient; class MThemeDaemon { public: - MThemeDaemon(); + enum Type { + LocalDaemon = 0, + RemoteDaemon = 1 + }; + + MThemeDaemon(Type type); virtual ~MThemeDaemon(); static QString systemThemeDirectory(); @@ -65,6 +70,7 @@ private: QStringList themeInheritance; QStringList themeLibraries; QList<MThemeImagesDirectory *> themeImageDirs; + Type type; }; //! \internal_end #endif |