Changeset View
Changeset View
Standalone View
Standalone View
src/services/kserviceaction.h
Show First 20 Lines • Show All 41 Lines • ▼ Show 20 Line(s) | |||||
42 | public: | 42 | public: | ||
43 | #if KSERVICE_ENABLE_DEPRECATED_SINCE(5, 69) | 43 | #if KSERVICE_ENABLE_DEPRECATED_SINCE(5, 69) | ||
44 | /** | 44 | /** | ||
45 | * Creates a KServiceAction. | 45 | * Creates a KServiceAction. | ||
46 | * Normally you don't have to do this, KService creates the actions | 46 | * Normally you don't have to do this, KService creates the actions | ||
47 | * when parsing the .desktop file. | 47 | * when parsing the .desktop file. | ||
48 | * @deprecated Since 5.69, use the 6-args constructor | 48 | * @deprecated Since 5.69, use the 6-args constructor | ||
49 | */ | 49 | */ | ||
50 | KSERVICE_DEPRECATED_VERSION(5, 71, "Use the 6-args constructor") // tag only added for 5.71, so has to be != API dox :/ | 50 | KSERVICE_DEPRECATED_VERSION_BELATED(5, 71, 5, 69, "Use the 6-args constructor") | ||
51 | KServiceAction(const QString &name, const QString &text, | 51 | KServiceAction(const QString &name, const QString &text, | ||
52 | const QString &icon, const QString &exec, | 52 | const QString &icon, const QString &exec, | ||
53 | bool noDisplay = false); | 53 | bool noDisplay = false); | ||
54 | #endif | 54 | #endif | ||
55 | /** | 55 | /** | ||
56 | * Creates a KServiceAction. | 56 | * Creates a KServiceAction. | ||
57 | * Normally you don't have to do this, KService creates the actions | 57 | * Normally you don't have to do this, KService creates the actions | ||
58 | * when parsing the .desktop file. | 58 | * when parsing the .desktop file. | ||
▲ Show 20 Lines • Show All 89 Lines • Show Last 20 Lines |