diff options
author | Tor Arne Vestbø <tor.arne.vestbo@digia.com> | 2015-02-02 18:26:38 +0100 |
---|---|---|
committer | Tor Arne Vestbø <tor.arne.vestbo@theqtcompany.com> | 2015-02-04 17:14:31 +0000 |
commit | b6c03f58ce4a03d81c8bce1795179a63431f6e7d (patch) | |
tree | 9648474809b590ceba264fb65d25d15d6ff99c3a /src/gui/accessible/qaccessiblecache_mac.mm | |
parent | cf38b12a27627161e6799a3883285d05bc6420e5 (diff) |
a11y: Fix warning about instance method '-invalidate' not found
The interface declaration of QMacAccessibilityElement lives in the Cocoa
platform plugin. We replicate the needed parts in QtGui to silence the
compiler.
Change-Id: I2d1984c988777d3c7af82df90390624c93fd85b5
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@theqtcompany.com>
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@theqtcompany.com>
Diffstat (limited to 'src/gui/accessible/qaccessiblecache_mac.mm')
-rw-r--r-- | src/gui/accessible/qaccessiblecache_mac.mm | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gui/accessible/qaccessiblecache_mac.mm b/src/gui/accessible/qaccessiblecache_mac.mm index 97c0c7e097..371ee136c0 100644 --- a/src/gui/accessible/qaccessiblecache_mac.mm +++ b/src/gui/accessible/qaccessiblecache_mac.mm @@ -41,6 +41,11 @@ #include "qaccessiblecache_p.h" +// qcocoaaccessibilityelement.h in Cocoa platform plugin +@interface QT_MANGLE_NAMESPACE(QMacAccessibilityElement) +- (void)invalidate; +@end + QT_BEGIN_NAMESPACE void QAccessibleCache::insertElement(QAccessible::Id axid, QT_MANGLE_NAMESPACE(QMacAccessibilityElement) *element) const |