diff options
author | Harald Fernengel <harald.fernengel@nokia.com> | 2009-11-06 14:15:05 (GMT) |
---|---|---|
committer | Harald Fernengel <harald.fernengel@nokia.com> | 2009-11-06 14:16:11 (GMT) |
commit | 4ad6343be52b757fd354cd92874bca944d2ede49 (patch) | |
tree | 68d9fa38a04de8959310b977f295184e2b4a8bdd /src/gui/accessible/qaccessible.h | |
parent | f8883337699d59e3b5eb9393067a24fb43fb2604 (diff) | |
download | Qt-4ad6343be52b757fd354cd92874bca944d2ede49.zip Qt-4ad6343be52b757fd354cd92874bca944d2ede49.tar.gz Qt-4ad6343be52b757fd354cd92874bca944d2ede49.tar.bz2 |
Add preliminary QAccessibleImage interface
As requested by the Maemo team.
Diffstat (limited to 'src/gui/accessible/qaccessible.h')
-rw-r--r-- | src/gui/accessible/qaccessible.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/gui/accessible/qaccessible.h b/src/gui/accessible/qaccessible.h index 8f6d9d9..c493054 100644 --- a/src/gui/accessible/qaccessible.h +++ b/src/gui/accessible/qaccessible.h @@ -311,7 +311,8 @@ namespace QAccessible2 EditableTextInterface, ValueInterface, TableInterface, - ActionInterface + ActionInterface, + ImageInterface }; } @@ -321,6 +322,7 @@ class QAccessibleEditableTextInterface; class QAccessibleValueInterface; class QAccessibleTableInterface; class QAccessibleActionInterface; +class QAccessibleImageInterface; class Q_GUI_EXPORT QAccessibleInterface : public QAccessible { @@ -381,6 +383,9 @@ public: inline QAccessibleActionInterface *actionInterface() { return reinterpret_cast<QAccessibleActionInterface *>(cast_helper(QAccessible2::ActionInterface)); } + inline QAccessibleImageInterface *imageInterface() + { return reinterpret_cast<QAccessibleImageInterface *>(cast_helper(QAccessible2::ImageInterface)); } + private: QAccessible2Interface *cast_helper(QAccessible2::InterfaceType); }; |