diff options
author | Jan-Arve Saether <jan-arve.saether@nokia.com> | 2011-09-27 13:01:32 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2011-10-03 09:56:09 +0200 |
commit | 2d8863bfa0d47737f8bbc0433866e66aae38d60b (patch) | |
tree | 081519a5b72557b67bbb06c4c7cf8d8347102f78 /src/gui/accessible | |
parent | 7e1a12d07d936d99d5d6d163e3d8b9bb1f52c115 (diff) |
Small cleanup.
Change-Id: I8661e28fca2069bf4034f7a9d2b5e1bbde2d542a
Reviewed-on: http://codereview.qt-project.org/5843
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@nokia.com>
Diffstat (limited to 'src/gui/accessible')
-rw-r--r-- | src/gui/accessible/qaccessible.h | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/src/gui/accessible/qaccessible.h b/src/gui/accessible/qaccessible.h index 314a285625..2673765f6b 100644 --- a/src/gui/accessible/qaccessible.h +++ b/src/gui/accessible/qaccessible.h @@ -51,8 +51,6 @@ #include <QtGui/qcolor.h> #include <QtGui/qevent.h> -class QWindow; - QT_BEGIN_HEADER QT_BEGIN_NAMESPACE @@ -62,6 +60,7 @@ QT_MODULE(Gui) #ifndef QT_NO_ACCESSIBILITY class QAccessibleInterface; +class QWindow; class Q_GUI_EXPORT QAccessible { @@ -369,10 +368,6 @@ public: virtual QObject *object() const = 0; virtual QWindow *window() const; - // hierarchy - virtual int childCount() const = 0; - virtual int indexOfChild(const QAccessibleInterface *) const = 0; - // relations virtual Relation relationTo(int child, const QAccessibleInterface *other, int otherChild) const; @@ -380,9 +375,11 @@ public: virtual int childAt(int x, int y) const = 0; - // navigation + // navigation, hierarchy virtual QAccessibleInterface *parent() const = 0; virtual QAccessibleInterface *child(int index) const = 0; + virtual int childCount() const = 0; + virtual int indexOfChild(const QAccessibleInterface *) const = 0; virtual int navigate(RelationFlag relation, int index, QAccessibleInterface **iface) const = 0; // properties and state |