Accessibility: Make accessibleInterface() in event virtual.
authorFrederik Gladhorn <frederik.gladhorn@digia.com>
Sun, 4 Nov 2012 09:32:41 +0000 (10:32 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Thu, 8 Nov 2012 15:59:50 +0000 (16:59 +0100)
This function can then be used by webkit in a different way.

Change-Id: I2e4c0570b5fc446114f63b3dc43e3c4505bcad79
Reviewed-by: Jan Arve Sæther <jan-arve.saether@digia.com>
src/gui/accessible/qaccessible.h

index 1fb6c65..5f61634 100644 (file)
@@ -462,7 +462,7 @@ public:
     void setChild(int chld) { m_child = chld; }
     int child() const { return m_child; }
 
-    QAccessibleInterface *accessibleInterface() const;
+    virtual QAccessibleInterface *accessibleInterface() const;
 
 protected:
     QAccessible::Event m_type;