Changeset View
Changeset View
Standalone View
Standalone View
src/kiconloader.h
Show First 20 Lines • Show All 680 Lines • ▼ Show 20 Line(s) | |||||
681 | * \relates KIconLoader | 681 | * \relates KIconLoader | ||
682 | * Load a main toolbar icon, and apply the effects to get an IconSet. | 682 | * Load a main toolbar icon, and apply the effects to get an IconSet. | ||
683 | * @deprecated Since 5.0, use QIcon::fromTheme instead | 683 | * @deprecated Since 5.0, use QIcon::fromTheme instead | ||
684 | */ | 684 | */ | ||
685 | KICONTHEMES_DEPRECATED_VERSION(5, 0, "Use QIcon::fromTheme(const QString&)") | 685 | KICONTHEMES_DEPRECATED_VERSION(5, 0, "Use QIcon::fromTheme(const QString&)") | ||
686 | KICONTHEMES_EXPORT QIcon MainBarIconSet(const QString &name, int size = 0); | 686 | KICONTHEMES_EXPORT QIcon MainBarIconSet(const QString &name, int size = 0); | ||
687 | #endif | 687 | #endif | ||
688 | 688 | | |||
689 | #if KICONTHEMES_ENABLE_DEPRECATED_SINCE(5, 65) | ||||
689 | /** | 690 | /** | ||
690 | * \relates KIconLoader | 691 | * \relates KIconLoader | ||
691 | * Load a user icon. User icons are searched in $appdir/pics. | 692 | * Load a user icon. User icons are searched in $appdir/pics. | ||
693 | * @deprecated since 5.65 Prefer qrc files over user icon themes. | ||||
694 | * If that's not an option for now, use KIconLoader::loadIcon. | ||||
692 | */ | 695 | */ | ||
696 | KICONTHEMES_DEPRECATED_VERSION(5, 65, "See API dox for replacement") | ||||
693 | KICONTHEMES_EXPORT QPixmap UserIcon(const QString &name, int state = KIconLoader::DefaultState, const QStringList &overlays = QStringList()); | 697 | KICONTHEMES_EXPORT QPixmap UserIcon(const QString &name, int state = KIconLoader::DefaultState, const QStringList &overlays = QStringList()); | ||
698 | #endif | ||||
694 | 699 | | |||
695 | #if KICONTHEMES_ENABLE_DEPRECATED_SINCE(5, 0) | 700 | #if KICONTHEMES_ENABLE_DEPRECATED_SINCE(5, 0) | ||
696 | /** | 701 | /** | ||
697 | * \relates KIconLoader | 702 | * \relates KIconLoader | ||
698 | * 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. | ||
699 | * @deprecated Since 5.0, use QIcon::fromTheme instead | 704 | * @deprecated Since 5.0, use QIcon::fromTheme instead | ||
700 | */ | 705 | */ | ||
701 | KICONTHEMES_DEPRECATED_VERSION(5, 0, "Use QIcon::fromTheme(const QString&)") | 706 | KICONTHEMES_DEPRECATED_VERSION(5, 0, "Use QIcon::fromTheme(const QString&)") | ||
▲ Show 20 Lines • Show All 43 Lines • Show Last 20 Lines |