diff options
author | Jan-Arve Saether <jan-arve.saether@nokia.com> | 2011-09-16 13:33:07 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2011-09-19 12:06:13 +0200 |
commit | df5111165e07214034808f47fc85ce191b0d19ca (patch) | |
tree | 04a6a30422493666a2f006cc33c3f6bca21d2e03 /src/gui | |
parent | 76d0d1926466d42b1b25f0bac642c1e0f239074c (diff) |
Say hello to QWindow::accessibleRoot()
Change-Id: I1efa71f01f8af46c9addf2aae21e4b6fc086ad2e
Reviewed-on: http://codereview.qt-project.org/5087
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Jørgen Lind <jorgen.lind@nokia.com>
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/kernel/qwindow.cpp | 9 | ||||
-rw-r--r-- | src/gui/kernel/qwindow.h | 3 |
2 files changed, 12 insertions, 0 deletions
diff --git a/src/gui/kernel/qwindow.cpp b/src/gui/kernel/qwindow.cpp index 54ff2ddb77..d8e0288dc7 100644 --- a/src/gui/kernel/qwindow.cpp +++ b/src/gui/kernel/qwindow.cpp @@ -495,6 +495,15 @@ void QWindow::setScreen(QScreen *newScreen) create(); } +/*! + Returns the accessibility interface for the object that the window represents + */ +QAccessibleInterface *QWindow::accessibleRoot() const +{ + return 0; +} + + void QWindow::showMinimized() { qDebug() << "unimplemented:" << __FILE__ << __LINE__; diff --git a/src/gui/kernel/qwindow.h b/src/gui/kernel/qwindow.h index 53d78c426c..0a74e64300 100644 --- a/src/gui/kernel/qwindow.h +++ b/src/gui/kernel/qwindow.h @@ -74,6 +74,7 @@ class QPlatformSurface; class QPlatformWindow; class QBackingStore; class QScreen; +class QAccessibleInterface; class Q_GUI_EXPORT QWindow : public QObject, public QSurface { @@ -168,6 +169,8 @@ public: QScreen *screen() const; void setScreen(QScreen *screen); + virtual QAccessibleInterface *accessibleRoot() const; + QPoint mapToGlobal(const QPoint &pos) const; QPoint mapFromGlobal(const QPoint &pos) const; |