Changeset View
Changeset View
Standalone View
Standalone View
src/plasma/theme.h
Show All 24 Lines | |||||
25 | #include <QFont> | 25 | #include <QFont> | ||
26 | #include <QObject> | 26 | #include <QObject> | ||
27 | 27 | | |||
28 | #include <kplugininfo.h> | 28 | #include <kplugininfo.h> | ||
29 | #include <ksharedconfig.h> | 29 | #include <ksharedconfig.h> | ||
30 | 30 | | |||
31 | #include <plasma/plasma_export.h> | 31 | #include <plasma/plasma_export.h> | ||
32 | 32 | | |||
33 | class KPluginMetaData; | ||||
34 | | ||||
33 | namespace Plasma | 35 | namespace Plasma | ||
34 | { | 36 | { | ||
35 | 37 | | |||
36 | class ThemePrivate; | 38 | class ThemePrivate; | ||
37 | class SvgPrivate; | 39 | class SvgPrivate; | ||
38 | 40 | | |||
39 | /** | 41 | /** | ||
40 | * @class Theme plasma/theme.h <Plasma/Theme> | 42 | * @class Theme plasma/theme.h <Plasma/Theme> | ||
▲ Show 20 Lines • Show All 268 Lines • ▼ Show 20 Line(s) | 70 | public: | |||
309 | * Frees up memory used by cached information for a given image without removing | 311 | * Frees up memory used by cached information for a given image without removing | ||
310 | * the permanent record of it on disk. | 312 | * the permanent record of it on disk. | ||
311 | * @see invalidateRectsCache | 313 | * @see invalidateRectsCache | ||
312 | * | 314 | * | ||
313 | * @param image the path to the image the cache is associated with | 315 | * @param image the path to the image the cache is associated with | ||
314 | */ | 316 | */ | ||
315 | void releaseRectsCache(const QString &image); | 317 | void releaseRectsCache(const QString &image); | ||
316 | 318 | | |||
319 | #if PLASMA_ENABLE_DEPRECATED_SINCE(5, 64) | ||||
317 | /** | 320 | /** | ||
318 | * @return plugin info for this theme, with information such as | 321 | * @return plugin info for this theme, with information such as | ||
319 | * name, description, author, website etc | 322 | * name, description, author, website etc | ||
320 | * @since 5.0 | 323 | * @since 5.0 | ||
324 | * | ||||
325 | * @deprecated since 5.67, use KPluginMetaData | ||||
broulik: Separate `@deprecated since` line | |||||
321 | */ | 326 | */ | ||
327 | PLASMA_DEPRECATED_VERSION(5, 67, "Use KPluginMetaData metadata()") | ||||
kossebau: own line | |||||
322 | KPluginInfo pluginInfo() const; | 328 | KPluginInfo pluginInfo() const; | ||
329 | #endif | ||||
330 | | ||||
331 | /** | ||||
332 | * @return metadata for this theme, with information such as | ||||
333 | * name, description, author, website etc | ||||
334 | * @since 5.64 | ||||
335 | */ | ||||
336 | KPluginMetaData metadata() const; | ||||
323 | 337 | | |||
324 | /** | 338 | /** | ||
325 | * @return The default application font | 339 | * @return The default application font | ||
326 | * @since 5.0 | 340 | * @since 5.0 | ||
327 | */ | 341 | */ | ||
328 | QFont defaultFont() const; | 342 | QFont defaultFont() const; | ||
329 | 343 | | |||
330 | /** | 344 | /** | ||
▲ Show 20 Lines • Show All 119 Lines • Show Last 20 Lines |
Separate @deprecated since line