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 | /** | 113 | /** | ||
kossebau: No visibility wrappers here? (#if PLASMA_ENABLE_DEPRECATED_SINCE(5, 66)) | |||||
114 | * @return the KPluginInfo associated with this plasmoid | 114 | * @return the KPluginInfo associated with this dataengine | ||
115 | * | ||||
116 | * @deprecated use metadata() | ||||
kossebau: @deprecated Since 5.66, use metadata() | |||||
115 | */ | 117 | */ | ||
116 | KPluginInfo description() const; | 118 | KPluginInfo description() const; | ||
117 | 119 | | |||
120 | /** | ||||
121 | * @return the KPluginMetaData associated with this dataengine | ||||
122 | * | ||||
123 | * @since 5.62 | ||||
124 | */ | ||||
125 | KPluginMetaData metadata() const; | ||||
126 | | ||||
118 | void setData(const QString &source, const QString &key, | 127 | void setData(const QString &source, const QString &key, | ||
119 | const QVariant &value); | 128 | const QVariant &value); | ||
120 | void setData(const QString &source, const QVariant &value); | 129 | void setData(const QString &source, const QVariant &value); | ||
121 | 130 | | |||
122 | /** | 131 | /** | ||
123 | * Adds a set of values to a source | 132 | * Adds a set of values to a source | ||
124 | * @param source the name of the source to set the data on | 133 | * @param source the name of the source to set the data on | ||
125 | * @values a key/value collection to add to the source | 134 | * @values a key/value collection to add to the source | ||
Show All 29 Lines |
No visibility wrappers here? (#if PLASMA_ENABLE_DEPRECATED_SINCE(5, 66))