diff options
author | Jan-Arve Saether <jan-arve.saether@nokia.com> | 2011-11-30 09:48:51 +0100 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2011-11-30 12:12:08 +0100 |
commit | 84e66f69ae2a2e0b70c8e51c93b6991bf3437e6d (patch) | |
tree | 64ec87aefef2c5749bd13b27a3501a3ce42b96ab /src/gui/accessible/qaccessible.cpp | |
parent | 55c3799bd32d6fd8ec4b5fa26ebe3e5fdbbc91b3 (diff) |
Fix casting. Casting is now done through the virtual interface_cast.
Change interface_cast to return void* to avoid using virtual
inheritance.
Get rid of the magic Q_ACCESSIBLE_OBJECT macro.
Change-Id: I94b824aef53f2ba657d39d406b387c8681d47ee4
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@nokia.com>
Diffstat (limited to 'src/gui/accessible/qaccessible.cpp')
-rw-r--r-- | src/gui/accessible/qaccessible.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/gui/accessible/qaccessible.cpp b/src/gui/accessible/qaccessible.cpp index 6553ebb6b1..29b9a20b93 100644 --- a/src/gui/accessible/qaccessible.cpp +++ b/src/gui/accessible/qaccessible.cpp @@ -1203,12 +1203,6 @@ QVariant QAccessibleInterface::virtual_hook(const QVariant &) return QVariant(); } -/*! \internal */ -QAccessible2Interface *QAccessibleInterface::cast_helper(QAccessible2::InterfaceType t) -{ - return interface_cast(t); -} - #ifndef QT_NO_DEBUG_STREAM Q_GUI_EXPORT QDebug operator<<(QDebug d, const QAccessibleInterface *iface) { |