summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVolker Hilsheimer <volker.hilsheimer@qt.io>2024-05-06 11:57:33 +0200
committerVolker Hilsheimer <volker.hilsheimer@qt.io>2024-05-07 07:14:25 +0200
commit31de58990661f6fdc9f1145e16745916d1c6df59 (patch)
tree3ca9a67c424cda4da33b90005065031ab34543de
parent4a984c15dde72e074b2d66e484387cbe0d53130d (diff)
Docs: fix warning from old QCheckBox::checkStateChanged overload
The overload carrying the new state as an integer is deprecated, but still documented, so we need to document the parameter as well. Bring the full documentation back to silence the warning. Amends 5a96d13bb5abd5339cf21dd1de7a17152c71f0fc. Pick-to: 6.7 Change-Id: I5253e68e4ad7b42fc552feb958cc0ac40d685609 Reviewed-by: Safiyyah Moosa <safiyyah.moosa@qt.io> Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
-rw-r--r--src/widgets/widgets/qcheckbox.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/widgets/widgets/qcheckbox.cpp b/src/widgets/widgets/qcheckbox.cpp
index 88cd603d70..3c03e9efa5 100644
--- a/src/widgets/widgets/qcheckbox.cpp
+++ b/src/widgets/widgets/qcheckbox.cpp
@@ -93,6 +93,11 @@ public:
\fn void QCheckBox::stateChanged(int state)
\deprecated [6.9] Use checkStateChanged(Qt::CheckState) instead.
+
+ This signal is emitted whenever the checkbox's state changes, i.e.,
+ whenever the user checks or unchecks it.
+
+ \a state contains the checkbox's new Qt::CheckState.
*/
/*!