summaryrefslogtreecommitdiffstats
path: root/src/widgets/widgets/qcheckbox.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/widgets/widgets/qcheckbox.h')
-rw-r--r--src/widgets/widgets/qcheckbox.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/widgets/widgets/qcheckbox.h b/src/widgets/widgets/qcheckbox.h
index ab240b5500..de623b7b9e 100644
--- a/src/widgets/widgets/qcheckbox.h
+++ b/src/widgets/widgets/qcheckbox.h
@@ -36,7 +36,11 @@ public:
void setCheckState(Qt::CheckState state);
Q_SIGNALS:
+#if QT_DEPRECATED_SINCE(6, 9)
+ QT_MOC_COMPAT QT_DEPRECATED_VERSION_X_6_9("Use checkStateChanged() instead")
void stateChanged(int);
+#endif
+ void checkStateChanged(Qt::CheckState);
protected:
bool event(QEvent *e) override;