Changeset View
Changeset View
Standalone View
Standalone View
src/lib/kaboutdata.h
Show First 20 Lines • Show All 463 Lines • ▼ Show 20 Line(s) | 425 | public: | |||
---|---|---|---|---|---|
464 | */ | 464 | */ | ||
465 | static void registerPluginData(const KAboutData &aboutData); | 465 | static void registerPluginData(const KAboutData &aboutData); | ||
466 | 466 | | |||
467 | /** | 467 | /** | ||
468 | * Return the KAboutData for the given plugin identified by @p componentName. | 468 | * Return the KAboutData for the given plugin identified by @p componentName. | ||
469 | */ | 469 | */ | ||
470 | static KAboutData *pluginData(const QString &componentName); | 470 | static KAboutData *pluginData(const QString &componentName); | ||
471 | 471 | | |||
472 | #if KCOREADDONS_ENABLE_DEPRECATED_SINCE(5, 65) | ||||
472 | /** | 473 | /** | ||
473 | * Creates a @c KAboutData from the given @p plugin metadata | 474 | * Creates a @c KAboutData from the given @p plugin metadata | ||
474 | * | 475 | * | ||
475 | * @since 5.18 | 476 | * @since 5.18 | ||
477 | * @deprecated Since 5.65, use KAboutPluginDialog to show info about a plugin | ||||
478 | * instead of KAboutApplicationDialogso, with the latter having had been the | ||||
dfaure: typo: "Dialogso" -> "Dialog" | |||||
479 | * only known need for this conversion. | ||||
476 | */ | 480 | */ | ||
481 | KCOREADDONS_DEPRECATED_VERSION(5, 65, "See API docs") | ||||
477 | static KAboutData fromPluginMetaData(const KPluginMetaData &plugin); | 482 | static KAboutData fromPluginMetaData(const KPluginMetaData &plugin); | ||
483 | #endif | ||||
478 | 484 | | |||
479 | public: | 485 | public: | ||
480 | /** | 486 | /** | ||
481 | * Constructor. | 487 | * Constructor. | ||
482 | * | 488 | * | ||
483 | * Porting Note: The @p catalogName parameter present in KDE4 was | 489 | * Porting Note: The @p catalogName parameter present in KDE4 was | ||
484 | * deprecated and removed. See also K4AboutData | 490 | * deprecated and removed. See also K4AboutData | ||
485 | * in kde4support if this feature is needed for compatibility purposes, or | 491 | * in kde4support if this feature is needed for compatibility purposes, or | ||
▲ Show 20 Lines • Show All 698 Lines • Show Last 20 Lines |
typo: "Dialogso" -> "Dialog"