summaryrefslogtreecommitdiffstats
path: root/src/widgets/widgets/qbuttongroup.cpp
diff options
context:
space:
mode:
authorChristian Ehrlicher <ch.ehrlicher@gmx.de>2023-03-20 19:10:06 +0100
committerChristian Ehrlicher <ch.ehrlicher@gmx.de>2023-03-22 16:28:23 +0000
commit580fc133a6149fb06ac8b0a4a53a955f9f21fa5f (patch)
treec61b58a99bb9e05969d33e1ca703d603eb8157c8 /src/widgets/widgets/qbuttongroup.cpp
parenta1889b2a6703161b2206635930b9a82a63123a74 (diff)
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>
Diffstat (limited to 'src/widgets/widgets/qbuttongroup.cpp')
-rw-r--r--src/widgets/widgets/qbuttongroup.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/widgets/widgets/qbuttongroup.cpp b/src/widgets/widgets/qbuttongroup.cpp
index 3a992fed74..079ef45e90 100644
--- a/src/widgets/widgets/qbuttongroup.cpp
+++ b/src/widgets/widgets/qbuttongroup.cpp
@@ -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.