Doc: Restore QActionGroup signal documentation

When QAction(Group) were moved from Qt Widgets to Qt GUI, the
documentation for QActionGroup's signals - triggered() and hovered() -
were erraneously dropped. Restore them.

Pick-to: 6.7 6.8 6.5
Fixes: QTBUG-121586
Change-Id: I7ce5ec715c0d3df7a4f9837a0822c245063eb74d
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
This commit is contained in:
Topi Reinio 2024-06-12 13:16:48 +00:00
parent 62d3b3c680
commit 22761f13d3

View File

@ -323,6 +323,30 @@ bool QActionGroup::isVisible() const
return d->visible;
}
/*!
\fn void QActionGroup::triggered(QAction *action)
This signal is emitted when the given \a action in the action
group is activated by the user; for example, when the user clicks
a menu option or a toolbar button, or presses an action's shortcut
key combination.
Connect to this signal for command actions.
\sa QAction::activate()
*/
/*!
\fn void QActionGroup::hovered(QAction *action)
This signal is emitted when the given \a action in the action
group is highlighted by the user; for example, when the user
pauses with the cursor over a menu option or a toolbar button,
or presses an action's shortcut key combination.
\sa QAction::activate()
*/
QT_END_NAMESPACE
#include "moc_qactiongroup.cpp"