Changeset View
Changeset View
Standalone View
Standalone View
src/querymatch.h
Show First 20 Lines • Show All 281 Lines • ▼ Show 20 Line(s) | 50 | public: | |||
---|---|---|---|---|---|
282 | */ | 282 | */ | ||
283 | QAction* selectedAction() const; | 283 | QAction* selectedAction() const; | ||
284 | 284 | | |||
285 | /** | 285 | /** | ||
286 | * Sets the selected action | 286 | * Sets the selected action | ||
287 | */ | 287 | */ | ||
288 | void setSelectedAction(QAction *action); | 288 | void setSelectedAction(QAction *action); | ||
289 | 289 | | |||
290 | #if KRUNNER_ENABLE_DEPRECATED_SINCE(5, 70) | ||||
290 | /** | 291 | /** | ||
291 | * @return true if this match can be configured before being run | 292 | * @return true if this match can be configured before being run | ||
292 | * @since 4.3 | 293 | * @since 4.3 | ||
294 | * @deprecated since 5.70, feature removed since version 5.0 | ||||
293 | */ | 295 | */ | ||
296 | KRUNNER_DEPRECATED_VERSION(5, 70, "No longer use, feature removed") | ||||
294 | bool hasConfigurationInterface() const; | 297 | bool hasConfigurationInterface() const; | ||
298 | #endif | ||||
295 | 299 | | |||
300 | #if KRUNNER_ENABLE_DEPRECATED_SINCE(5, 70) | ||||
296 | /** | 301 | /** | ||
297 | * If hasConfigurationInterface() returns true, this method may be called to get | 302 | * If hasConfigurationInterface() returns true, this method may be called to get | ||
298 | * a widget displaying the options the user can interact with to modify | 303 | * a widget displaying the options the user can interact with to modify | ||
299 | * the behaviour of what happens when the match is run. | 304 | * the behaviour of what happens when the match is run. | ||
300 | * | 305 | * | ||
301 | * @param widget the parent of the options widgets. | 306 | * @param widget the parent of the options widgets. | ||
302 | * @since 4.3 | 307 | * @since 4.3 | ||
308 | * @deprecated since 5.70, feature removed since version 5.0 | ||||
303 | */ | 309 | */ | ||
310 | KRUNNER_DEPRECATED_VERSION(5, 70, "No longer use, feature removed") | ||||
304 | void createConfigurationInterface(QWidget *parent); | 311 | void createConfigurationInterface(QWidget *parent); | ||
312 | #endif | ||||
305 | 313 | | |||
306 | private: | 314 | private: | ||
307 | QSharedDataPointer<QueryMatchPrivate> d; | 315 | QSharedDataPointer<QueryMatchPrivate> d; | ||
308 | }; | 316 | }; | ||
309 | 317 | | |||
310 | } | 318 | } | ||
311 | 319 | | |||
312 | #endif | 320 | #endif |