Doc/QButtonGroup: Do not mention deprecated/removed signal

QButtonGroup::buttonClicked(int) was deprecated in Qt5 and removed in
Qt6 so don't mention it in the documentation. Use the correct
replacement idClicked(int) instead.

Fixes: QTBUG-102131
Change-Id: I3d3cd90a2f1ed4a6484827bd882142a9a845d1c5
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
This commit is contained in:
Christian Ehrlicher 2023-03-20 19:10:06 +01:00
parent a1889b2a67
commit 580fc133a6

View File

@ -57,8 +57,8 @@ void QButtonGroupPrivate::detectCheckedButton()
In addition, QButtonGroup can map between integers and buttons. In addition, QButtonGroup can map between integers and buttons.
You can assign an integer id to a button with setId(), and You can assign an integer id to a button with setId(), and
retrieve it with id(). The id of the currently checked button is retrieve it with id(). The id of the currently checked button is
available with checkedId(), and there is an overloaded signal available with checkedId(), and there is a signal
buttonClicked() which emits the id of the button. The id \c {-1} idClicked() that emits the id of the button. The id \c {-1}
is reserved by QButtonGroup to mean "no such button". The purpose is reserved by QButtonGroup to mean "no such button". The purpose
of the mapping mechanism is to simplify the representation of enum of the mapping mechanism is to simplify the representation of enum
values in a user interface. values in a user interface.