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.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/widgets/widgets/qcheckbox.h b/src/widgets/widgets/qcheckbox.h
index e385dadbb8..de623b7b9e 100644
--- a/src/widgets/widgets/qcheckbox.h
+++ b/src/widgets/widgets/qcheckbox.h
@@ -36,11 +36,11 @@ public:
void setCheckState(Qt::CheckState state);
Q_SIGNALS:
-#if QT_VERSION < QT_VERSION_CHECK(7, 0, 0)
+#if QT_DEPRECATED_SINCE(6, 9)
+ QT_MOC_COMPAT QT_DEPRECATED_VERSION_X_6_9("Use checkStateChanged() instead")
void stateChanged(int);
-#else
- void stateChanged(Qt::CheckState);
#endif
+ void checkStateChanged(Qt::CheckState);
protected:
bool event(QEvent *e) override;