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:
parent
a1889b2a67
commit
580fc133a6
@ -57,8 +57,8 @@ void QButtonGroupPrivate::detectCheckedButton()
|
||||
In addition, QButtonGroup can map between integers and buttons.
|
||||
You can assign an integer id to a button with setId(), and
|
||||
retrieve it with id(). The id of the currently checked button is
|
||||
available with checkedId(), and there is an overloaded signal
|
||||
buttonClicked() which emits the id of the button. The id \c {-1}
|
||||
available with checkedId(), and there is a signal
|
||||
idClicked() that emits the id of the button. The id \c {-1}
|
||||
is reserved by QButtonGroup to mean "no such button". The purpose
|
||||
of the mapping mechanism is to simplify the representation of enum
|
||||
values in a user interface.
|
||||
|
Loading…
Reference in New Issue
Block a user