From 2d8863bfa0d47737f8bbc0433866e66aae38d60b Mon Sep 17 00:00:00 2001 From: Jan-Arve Saether Date: Tue, 27 Sep 2011 13:01:32 +0200 Subject: [PATCH] Small cleanup. Change-Id: I8661e28fca2069bf4034f7a9d2b5e1bbde2d542a Reviewed-on: http://codereview.qt-project.org/5843 Reviewed-by: Qt Sanity Bot Reviewed-by: Frederik Gladhorn --- src/gui/accessible/qaccessible.h | 11 ++++------- 1 file 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 #include -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