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>
bb10
Tor Arne Vestbø 2015-02-02 18:26:38 +01:00 committed by Tor Arne Vestbø
parent cf38b12a27
commit b6c03f58ce
1 changed files with 5 additions and 0 deletions

View File

@ -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