summaryrefslogtreecommitdiffstats
path: root/src/widgets/accessible/rangecontrols_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/widgets/accessible/rangecontrols_p.h')
-rw-r--r--src/widgets/accessible/rangecontrols_p.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/widgets/accessible/rangecontrols_p.h b/src/widgets/accessible/rangecontrols_p.h
index c0b010c292..49f57fa1c6 100644
--- a/src/widgets/accessible/rangecontrols_p.h
+++ b/src/widgets/accessible/rangecontrols_p.h
@@ -162,7 +162,7 @@ protected:
};
#endif // QT_CONFIG(slider)
-#ifndef QT_NO_SCROLLBAR
+#if QT_CONFIG(scrollbar)
class QAccessibleScrollBar : public QAccessibleAbstractSlider
{
public:
@@ -172,7 +172,7 @@ public:
protected:
QScrollBar *scrollBar() const;
};
-#endif // QT_NO_SCROLLBAR
+#endif // QT_CONFIG(scrollbar)
#ifndef QT_NO_SLIDER
class QAccessibleSlider : public QAccessibleAbstractSlider
@@ -186,7 +186,7 @@ protected:
};
#endif // QT_NO_SLIDER
-#ifndef QT_NO_DIAL
+#if QT_CONFIG(dial)
class QAccessibleDial : public QAccessibleAbstractSlider
{
public:
@@ -197,7 +197,7 @@ public:
protected:
QDial *dial() const;
};
-#endif // QT_NO_DIAL
+#endif // QT_CONFIG(dial)
#endif // QT_NO_ACCESSIBILITY