Changeset View
Changeset View
Standalone View
Standalone View
src/plasma/private/theme_p.h
Show All 24 Lines | |||||
25 | #include "svg.h" | 25 | #include "svg.h" | ||
26 | #include <QHash> | 26 | #include <QHash> | ||
27 | 27 | | |||
28 | #include <QDebug> | 28 | #include <QDebug> | ||
29 | #include <kcolorscheme.h> | 29 | #include <kcolorscheme.h> | ||
30 | #include <kimagecache.h> | 30 | #include <kimagecache.h> | ||
31 | #include <kshareddatacache.h> | 31 | #include <kshareddatacache.h> | ||
32 | #include <kwindowsystem.h> | 32 | #include <kwindowsystem.h> | ||
33 | #include <KPluginMetaData> | ||||
33 | #include <QTimer> | 34 | #include <QTimer> | ||
34 | 35 | | |||
35 | #include <config-plasma.h> | 36 | #include <config-plasma.h> | ||
36 | #if HAVE_X11 | 37 | #if HAVE_X11 | ||
37 | #include "private/effectwatcher_p.h" | 38 | #include "private/effectwatcher_p.h" | ||
38 | #endif | 39 | #endif | ||
39 | 40 | | |||
40 | #include "libplasma-theme-global.h" | 41 | #include "libplasma-theme-global.h" | ||
▲ Show 20 Lines • Show All 64 Lines • ▼ Show 20 Line(s) | |||||
105 | #if HAVE_X11 | 106 | #if HAVE_X11 | ||
106 | static EffectWatcher *s_backgroundContrastEffectWatcher; | 107 | static EffectWatcher *s_backgroundContrastEffectWatcher; | ||
107 | #endif | 108 | #endif | ||
108 | //Ref counting of ThemePrivate instances | 109 | //Ref counting of ThemePrivate instances | ||
109 | static ThemePrivate *globalTheme; | 110 | static ThemePrivate *globalTheme; | ||
110 | static QHash<QString, ThemePrivate *> themes; | 111 | static QHash<QString, ThemePrivate *> themes; | ||
111 | 112 | | |||
112 | QString themeName; | 113 | QString themeName; | ||
113 | KPluginInfo pluginInfo; | 114 | KPluginMetaData pluginMetaData; | ||
114 | QList<QString> fallbackThemes; | 115 | QList<QString> fallbackThemes; | ||
115 | KSharedConfigPtr colors; | 116 | KSharedConfigPtr colors; | ||
116 | KColorScheme colorScheme; | 117 | KColorScheme colorScheme; | ||
117 | KColorScheme selectionColorScheme; | 118 | KColorScheme selectionColorScheme; | ||
118 | KColorScheme buttonColorScheme; | 119 | KColorScheme buttonColorScheme; | ||
119 | KColorScheme viewColorScheme; | 120 | KColorScheme viewColorScheme; | ||
120 | KColorScheme complementaryColorScheme; | 121 | KColorScheme complementaryColorScheme; | ||
121 | bool eventFilter(QObject *watched, QEvent *event) override; | 122 | bool eventFilter(QObject *watched, QEvent *event) override; | ||
▲ Show 20 Lines • Show All 49 Lines • Show Last 20 Lines |