summaryrefslogtreecommitdiffstats
path: root/src/gui/accessible/qaccessible.h
diff options
context:
space:
mode:
authorBradley T. Hughes <bradley.hughes@nokia.com>2009-11-09 10:46:57 (GMT)
committerBradley T. Hughes <bradley.hughes@nokia.com>2009-11-09 10:46:57 (GMT)
commit683cca297d29e7ea9f84c087a3c081dcccea48fb (patch)
tree88ca39218e1fedf94751b927d7e04944a4c66e16 /src/gui/accessible/qaccessible.h
parent338fe3c15e90d62606806b0845bb621dd05153ae (diff)
parentfa7f6e542b8381dd3af525507cd6e0a3ee43b813 (diff)
downloadQt-683cca297d29e7ea9f84c087a3c081dcccea48fb.zip
Qt-683cca297d29e7ea9f84c087a3c081dcccea48fb.tar.gz
Qt-683cca297d29e7ea9f84c087a3c081dcccea48fb.tar.bz2
Merge branch '4.6' of git@scm.dev.nokia.troll.no:qt/qt into 4.6
Conflicts: src/gui/kernel/qwidget_win.cpp
Diffstat (limited to 'src/gui/accessible/qaccessible.h')
-rw-r--r--src/gui/accessible/qaccessible.h7
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);
};