Changeset View
Changeset View
Standalone View
Standalone View
src/kactioncollection.h
Show First 20 Lines • Show All 267 Lines • ▼ Show 20 Line(s) | 267 | Q_SIGNALS: | |||
---|---|---|---|---|---|
268 | /** | 268 | /** | ||
269 | * Indicates that @p action was inserted into this action collection. | 269 | * Indicates that @p action was inserted into this action collection. | ||
270 | */ | 270 | */ | ||
271 | void inserted(QAction *action); | 271 | void inserted(QAction *action); | ||
272 | 272 | | |||
273 | #if KXMLGUI_ENABLE_DEPRECATED_SINCE(5, 0) | 273 | #if KXMLGUI_ENABLE_DEPRECATED_SINCE(5, 0) | ||
274 | /** | 274 | /** | ||
275 | * Indicates that @p action was removed from this action collection. | 275 | * Indicates that @p action was removed from this action collection. | ||
276 | * @deprecated Since 5.0 | 276 | * @deprecated Since 5.0, use changed() (added in 5.65) instead. | ||
277 | */ | 277 | */ | ||
278 | KXMLGUI_DEPRECATED_VERSION(5, 0, "Do not rely on") | 278 | KXMLGUI_DEPRECATED_VERSION(5, 0, "removed() is sometimes emitted with partially destroyed objects; use changed() instead (added in 5.65)") | ||
279 | QT_MOC_COMPAT void removed(QAction *action); | 279 | QT_MOC_COMPAT void removed(QAction *action); | ||
280 | #endif | 280 | #endif | ||
281 | 281 | | |||
282 | /** | ||||
283 | * Emitted when an action has been inserted into, or removed from, this action collection. | ||||
284 | * @since 5.65 | ||||
285 | */ | ||||
286 | void changed(); | ||||
287 | | ||||
282 | #if KXMLGUI_ENABLE_DEPRECATED_SINCE(5, 0) | 288 | #if KXMLGUI_ENABLE_DEPRECATED_SINCE(5, 0) | ||
283 | /** | 289 | /** | ||
284 | * Indicates that @p action was highlighted (hovered over). | 290 | * Indicates that @p action was highlighted (hovered over). | ||
285 | * @deprecated Since 5.0. Replaced by actionHovered(QAction* action); | 291 | * @deprecated Since 5.0. Replaced by actionHovered(QAction* action); | ||
286 | */ | 292 | */ | ||
287 | KXMLGUI_DEPRECATED_VERSION(5, 0, "Use KActionCollection::actionHovered(QAction* action)") | 293 | KXMLGUI_DEPRECATED_VERSION(5, 0, "Use KActionCollection::actionHovered(QAction* action)") | ||
288 | QT_MOC_COMPAT void actionHighlighted(QAction *action); | 294 | QT_MOC_COMPAT void actionHighlighted(QAction *action); | ||
289 | #endif | 295 | #endif | ||
▲ Show 20 Lines • Show All 308 Lines • Show Last 20 Lines |