Changeset View
Changeset View
Standalone View
Standalone View
src/kiconloader.h
Show All 22 Lines | |||||
23 | #define KICONLOADER_H | 23 | #define KICONLOADER_H | ||
24 | 24 | | |||
25 | #include <QtCore/QString> | 25 | #include <QtCore/QString> | ||
26 | #include <QtCore/QStringList> | 26 | #include <QtCore/QStringList> | ||
27 | #include <QtCore/QObject> | 27 | #include <QtCore/QObject> | ||
28 | 28 | | |||
29 | #include <kiconthemes_export.h> | 29 | #include <kiconthemes_export.h> | ||
30 | 30 | | |||
31 | #include <kcolorscheme.h> | ||||
32 | | ||||
31 | class QIcon; | 33 | class QIcon; | ||
32 | class QMovie; | 34 | class QMovie; | ||
33 | class QPixmap; | 35 | class QPixmap; | ||
34 | 36 | | |||
35 | class KIconLoaderPrivate; | 37 | class KIconLoaderPrivate; | ||
36 | class KIconEffect; | 38 | class KIconEffect; | ||
37 | class KIconTheme; | 39 | class KIconTheme; | ||
38 | 40 | | |||
▲ Show 20 Lines • Show All 415 Lines • ▼ Show 20 Line(s) | 300 | #endif | |||
454 | * and top left. An empty QString can be used to leave the specific position | 456 | * and top left. An empty QString can be used to leave the specific position | ||
455 | * blank. | 457 | * blank. | ||
456 | * @param pixmap to draw on | 458 | * @param pixmap to draw on | ||
457 | * @since 4.7 | 459 | * @since 4.7 | ||
458 | */ | 460 | */ | ||
459 | void drawOverlays(const QStringList &overlays, QPixmap &pixmap, KIconLoader::Group group, int state = KIconLoader::DefaultState) const; | 461 | void drawOverlays(const QStringList &overlays, QPixmap &pixmap, KIconLoader::Group group, int state = KIconLoader::DefaultState) const; | ||
460 | 462 | | |||
461 | bool hasIcon(const QString &iconName) const; | 463 | bool hasIcon(const QString &iconName) const; | ||
464 | | ||||
465 | /** | ||||
dfaure: I guess this is OK as is, so remove the comment (it's not we can change this later) | |||||
apparently this is giving problems indeed, polkit is now failing to build since it wasn't explicitly linking to KConfigWidgets, so may be necessary to duplicate the enum mart: apparently this is giving problems indeed, polkit is now failing to build since it wasn't… | |||||
466 | * The color set that will be used for the svg stylesheet in case the | ||||
467 | * loaded icons are svg-based, icons can be colored in different ways in | ||||
468 | * different areas of the application | ||||
469 | * @return one of KColorScheme ColorSet | ||||
470 | * @since 5.38 | ||||
471 | */ | ||||
472 | KColorScheme::ColorSet colorSet() const; | ||||
473 | | ||||
474 | /** | ||||
475 | * Sets the ColorSet for this KIconLoader | ||||
476 | * @param colorSet one of KColorScheme ColorSet values | ||||
477 | * @since 5.38 | ||||
478 | */ | ||||
479 | void setColorSet(KColorScheme::ColorSet colorSet); | ||||
480 | | ||||
462 | public Q_SLOTS: | 481 | public Q_SLOTS: | ||
463 | /** | 482 | /** | ||
464 | * Re-initialize the global icon loader | 483 | * Re-initialize the global icon loader | ||
465 | * | 484 | * | ||
466 | * @deprecated since 5.0, use emitChange(Group) | 485 | * @deprecated since 5.0, use emitChange(Group) | ||
467 | */ | 486 | */ | ||
468 | #ifndef KICONTHEMES_NO_DEPRECATED | 487 | #ifndef KICONTHEMES_NO_DEPRECATED | ||
469 | KICONTHEMES_DEPRECATED void newIconLoader(); | 488 | KICONTHEMES_DEPRECATED void newIconLoader(); | ||
▲ Show 20 Lines • Show All 152 Lines • Show Last 20 Lines |
I guess this is OK as is, so remove the comment (it's not we can change this later)