aboutsummaryrefslogtreecommitdiff
path: root/src/corelib/theme/mthemedaemon.h
diff options
context:
space:
mode:
authorArmin Berres <armin.berres@basyskom.de>2010-09-30 15:08:34 +0200
committerArmin Berres <armin.berres@basyskom.de>2010-09-30 17:33:51 +0200
commit4b51b0c74c6a1f6bee170cf4c1fbd6866b311aef (patch)
treed5285a9dcbb31567e44b62349fe0236c819f9840 /src/corelib/theme/mthemedaemon.h
parentcfba51989787c11f79b86a7719ab0c4767f66120 (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.h8
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