Clean formatting.
Remove extra spaces, remove virtual keywords. This code was simply inconsistent with the rest. Change-Id: Iec8e9542dd4c458ddd535cb1766c90c18051686a Reviewed-by: Jan-Arve Sæther <jan-arve.saether@nokia.com>
This commit is contained in:
parent
04c65c2454
commit
0d7cc00c07
@ -126,7 +126,7 @@ int QAccessibleMenu::navigate(RelationFlag relation, int entry, QAccessibleInter
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
int QAccessibleMenu::indexOfChild( const QAccessibleInterface *child ) const
|
int QAccessibleMenu::indexOfChild( const QAccessibleInterface *child) const
|
||||||
{
|
{
|
||||||
int index = -1;
|
int index = -1;
|
||||||
Role r = child->role();
|
Role r = child->role();
|
||||||
@ -185,7 +185,8 @@ int QAccessibleMenuBar::indexOfChild(const QAccessibleInterface *child) const
|
|||||||
|
|
||||||
#endif // QT_NO_MENUBAR
|
#endif // QT_NO_MENUBAR
|
||||||
|
|
||||||
QAccessibleMenuItem::QAccessibleMenuItem(QWidget *owner, QAction *action) : m_action(action), m_owner(owner)
|
QAccessibleMenuItem::QAccessibleMenuItem(QWidget *owner, QAction *action)
|
||||||
|
: m_action(action), m_owner(owner)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -98,21 +98,21 @@ public:
|
|||||||
virtual ~QAccessibleMenuItem();
|
virtual ~QAccessibleMenuItem();
|
||||||
|
|
||||||
void *interface_cast(QAccessible::InterfaceType t);
|
void *interface_cast(QAccessible::InterfaceType t);
|
||||||
virtual int childAt(int x, int y) const;
|
int childAt(int x, int y) const;
|
||||||
virtual int childCount() const;
|
int childCount() const;
|
||||||
virtual int indexOfChild(const QAccessibleInterface * child) const;
|
int indexOfChild(const QAccessibleInterface * child) const;
|
||||||
virtual bool isValid() const;
|
bool isValid() const;
|
||||||
|
|
||||||
QAccessibleInterface *parent() const;
|
QAccessibleInterface *parent() const;
|
||||||
QAccessibleInterface *child(int index) const;
|
QAccessibleInterface *child(int index) const;
|
||||||
virtual int navigate(RelationFlag relation, int entry, QAccessibleInterface ** target) const;
|
int navigate(QAccessible::RelationFlag relation, int entry, QAccessibleInterface ** target) const;
|
||||||
virtual QObject * object() const;
|
QObject * object() const;
|
||||||
virtual QRect rect() const;
|
QRect rect() const;
|
||||||
virtual Relation relationTo(const QAccessibleInterface *other) const;
|
QAccessible::Relation relationTo(const QAccessibleInterface *other) const;
|
||||||
virtual Role role() const;
|
QAccessible::Role role() const;
|
||||||
virtual void setText(Text t, const QString & text );
|
void setText(QAccessible::Text t, const QString & text);
|
||||||
virtual State state() const;
|
QAccessible::State state() const;
|
||||||
virtual QString text(Text t) const;
|
QString text(QAccessible::Text t) const;
|
||||||
|
|
||||||
// QAccessibleActionInterface
|
// QAccessibleActionInterface
|
||||||
QStringList actionNames() const;
|
QStringList actionNames() const;
|
||||||
|
Loading…
Reference in New Issue
Block a user