From 31de58990661f6fdc9f1145e16745916d1c6df59 Mon Sep 17 00:00:00 2001 From: Volker Hilsheimer Date: Mon, 6 May 2024 11:57:33 +0200 Subject: 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 Reviewed-by: Axel Spoerl --- src/widgets/widgets/qcheckbox.cpp | 5 +++++ 1 file changed, 5 insertions(+) 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. */ /*! -- cgit v1.2.3