Changeset View
Changeset View
Standalone View
Standalone View
src/kiconloader.h
Show First 20 Lines • Show All 701 Lines • ▼ Show 20 Line(s) | |||||
702 | * \relates KIconLoader | 702 | * \relates KIconLoader | ||
703 | * Load a user icon, and apply the effects to get an IconSet. | 703 | * Load a user icon, and apply the effects to get an IconSet. | ||
704 | * @deprecated Since 5.0, use QIcon::fromTheme instead | 704 | * @deprecated Since 5.0, use QIcon::fromTheme instead | ||
705 | */ | 705 | */ | ||
706 | KICONTHEMES_DEPRECATED_VERSION(5, 0, "Use QIcon::fromTheme(const QString&)") | 706 | KICONTHEMES_DEPRECATED_VERSION(5, 0, "Use QIcon::fromTheme(const QString&)") | ||
707 | KICONTHEMES_EXPORT QIcon UserIconSet(const QString &name); | 707 | KICONTHEMES_EXPORT QIcon UserIconSet(const QString &name); | ||
708 | #endif | 708 | #endif | ||
709 | 709 | | |||
710 | #if KICONTHEMES_ENABLE_DEPRECATED_SINCE(5, 66) | ||||
710 | /** | 711 | /** | ||
711 | * \relates KIconLoader | 712 | * \relates KIconLoader | ||
712 | * Returns the current icon size for a specific group. | 713 | * Returns the current icon size for a specific group. | ||
714 | * @deprecated since 5.66 Prefer QStyle::pixelMetric. | ||||
715 | * If that's not an option for now, use KIconLoader::currentSize. | ||||
713 | */ | 716 | */ | ||
717 | KICONTHEMES_DEPRECATED_VERSION(5, 66, "Use QStyle::pixelMetric or KIconLoader::currentSize") | ||||
714 | KICONTHEMES_EXPORT int IconSize(KIconLoader::Group group); | 718 | KICONTHEMES_EXPORT int IconSize(KIconLoader::Group group); | ||
719 | #endif | ||||
715 | 720 | | |||
716 | namespace KDE | 721 | namespace KDE | ||
717 | { | 722 | { | ||
718 | 723 | | |||
719 | /** | 724 | /** | ||
720 | * \relates KIconLoader | 725 | * \relates KIconLoader | ||
721 | * Returns a QIcon with an appropriate | 726 | * Returns a QIcon with an appropriate | ||
722 | * KIconEngine to perform loading and rendering. KIcons thus adhere to | 727 | * KIconEngine to perform loading and rendering. KIcons thus adhere to | ||
Show All 27 Lines |