Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
4.6.0, 4.6.1
-
None
-
f484c7ff9868e5e5e090da43f12774ac4295ab47
Description
Link to the documentation concerned:
http://qt.nokia.com/doc/4.6/accessible.html#implementing-interface-factories
The example says:
QAccessibleInterface *sliderFactory(const QString &classname, QObject *object)
{ QAccessibleInterface *interface = 0; if (classname == "QSlider" && object && object->isWidgetType()) interface = new SliderInterface(classname, static_cast<QWidget *>(object)); return interface; }Issue: it should not be "SliderInterface" but "AccessibleSlider" and causes confusion.