Changeset View
Changeset View
Standalone View
Standalone View
src/plasma/scripting/dataenginescript.h
Show First 20 Lines • Show All 104 Lines • ▼ Show 20 Line(s) | 100 | protected: | |||
---|---|---|---|---|---|
105 | 105 | | |||
106 | /** | 106 | /** | ||
107 | * @return the Package associated with this plasmoid which can | 107 | * @return the Package associated with this plasmoid which can | ||
108 | * be used to request resources, such as images and | 108 | * be used to request resources, such as images and | ||
109 | * interface files. | 109 | * interface files. | ||
110 | */ | 110 | */ | ||
111 | Package package() const override; | 111 | Package package() const override; | ||
112 | 112 | | |||
113 | #if PLASMA_ENABLE_DEPRECATED_SINCE(5, 67) | ||||
113 | /** | 114 | /** | ||
kossebau: No visibility wrappers here? (#if PLASMA_ENABLE_DEPRECATED_SINCE(5, 66)) | |||||
114 | * @return the KPluginInfo associated with this plasmoid | 115 | * @return the KPluginInfo associated with this dataengine | ||
116 | * | ||||
117 | * @deprecated since 5.67 use metadata() | ||||
kossebau: @deprecated Since 5.66, use metadata() | |||||
115 | */ | 118 | */ | ||
119 | PLASMA_DEPRECATED_VERSION(5, 67, "Use KPluginMetaData metadata()") | ||||
116 | KPluginInfo description() const; | 120 | KPluginInfo description() const; | ||
121 | #endif | ||||
122 | | ||||
123 | /** | ||||
124 | * @return the KPluginMetaData associated with this dataengine | ||||
125 | * | ||||
126 | * @since 5.62 | ||||
127 | */ | ||||
128 | KPluginMetaData metadata() const; | ||||
117 | 129 | | |||
118 | void setData(const QString &source, const QString &key, | 130 | void setData(const QString &source, const QString &key, | ||
119 | const QVariant &value); | 131 | const QVariant &value); | ||
120 | void setData(const QString &source, const QVariant &value); | 132 | void setData(const QString &source, const QVariant &value); | ||
121 | 133 | | |||
122 | /** | 134 | /** | ||
123 | * Adds a set of values to a source | 135 | * Adds a set of values to a source | ||
124 | * @param source the name of the source to set the data on | 136 | * @param source the name of the source to set the data on | ||
Show All 30 Lines |
No visibility wrappers here? (#if PLASMA_ENABLE_DEPRECATED_SINCE(5, 66))