summaryrefslogtreecommitdiffstats
path: root/src/widgets
diff options
context:
space:
mode:
Diffstat (limited to 'src/widgets')
-rw-r--r--src/widgets/widgets/qcheckbox.cpp12
1 files changed, 1 insertions, 11 deletions
diff --git a/src/widgets/widgets/qcheckbox.cpp b/src/widgets/widgets/qcheckbox.cpp
index cc013c8c7e..5b44271d48 100644
--- a/src/widgets/widgets/qcheckbox.cpp
+++ b/src/widgets/widgets/qcheckbox.cpp
@@ -89,25 +89,15 @@ public:
\sa QAbstractButton, QRadioButton
*/
-#if QT_VERSION < QT_VERSION_CHECK(7, 0, 0)
/*!
\fn void QCheckBox::stateChanged(int state)
+ //! Qt 7: \fn void QCheckBox::stateChanged(Qt::CheckState state)
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.
*/
-#else
-/*!
- \fn void QCheckBox::stateChanged(Qt::CheckState state)
-
- 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.
-*/
-#endif
/*!
\property QCheckBox::tristate