Fix build with -no-feature-slider
Change-Id: I36e5c850068c2f9ac2ae078a3734ddb88d88c532 Reviewed-by: Lars Knoll <lars.knoll@qt.io>
This commit is contained in:
parent
2bbeebf80c
commit
0f6cfd2217
@ -94,9 +94,9 @@ QAccessibleInterface *qAccessibleFactory(const QString &classname, QObject *obje
|
||||
} else if (classname == QLatin1String("QScrollBar")) {
|
||||
iface = new QAccessibleScrollBar(widget);
|
||||
#endif
|
||||
#ifndef QT_NO_SLIDER
|
||||
} else if (classname == QLatin1String("QAbstractSlider")) {
|
||||
iface = new QAccessibleAbstractSlider(widget);
|
||||
#ifndef QT_NO_SLIDER
|
||||
} else if (classname == QLatin1String("QSlider")) {
|
||||
iface = new QAccessibleSlider(widget);
|
||||
#endif
|
||||
|
@ -143,6 +143,7 @@ protected:
|
||||
};
|
||||
#endif // QT_NO_SPINBOX
|
||||
|
||||
#if QT_CONFIG(slider)
|
||||
class QAccessibleAbstractSlider: public QAccessibleWidget, public QAccessibleValueInterface
|
||||
{
|
||||
public:
|
||||
@ -159,6 +160,7 @@ public:
|
||||
protected:
|
||||
QAbstractSlider *abstractSlider() const;
|
||||
};
|
||||
#endif // QT_CONFIG(slider)
|
||||
|
||||
#ifndef QT_NO_SCROLLBAR
|
||||
class QAccessibleScrollBar : public QAccessibleAbstractSlider
|
||||
|
Loading…
Reference in New Issue
Block a user