summaryrefslogtreecommitdiffstats
path: root/tests/auto/other/qaccessibility/tst_qaccessibility.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/other/qaccessibility/tst_qaccessibility.cpp')
-rw-r--r--tests/auto/other/qaccessibility/tst_qaccessibility.cpp11
1 files changed, 6 insertions, 5 deletions
diff --git a/tests/auto/other/qaccessibility/tst_qaccessibility.cpp b/tests/auto/other/qaccessibility/tst_qaccessibility.cpp
index 07cccde0c8..b3ac7489b7 100644
--- a/tests/auto/other/qaccessibility/tst_qaccessibility.cpp
+++ b/tests/auto/other/qaccessibility/tst_qaccessibility.cpp
@@ -2499,7 +2499,8 @@ void tst_QAccessibility::groupBoxTest()
QCOMPARE(iface->role(), QAccessible::Grouping);
QCOMPARE(iface->text(QAccessible::Name), QLatin1String("Test QGroupBox"));
QCOMPARE(iface->text(QAccessible::Description), QLatin1String("This group box will be used to test accessibility"));
- QVector<QPair<QAccessibleInterface*, QAccessible::Relation> > relations = rButtonIface->relations();
+ QList<QPair<QAccessibleInterface *, QAccessible::Relation>> relations =
+ rButtonIface->relations();
QCOMPARE(relations.size(), 1);
QPair<QAccessibleInterface*, QAccessible::Relation> relation = relations.first();
QCOMPARE(relation.first->object(), groupBox);
@@ -2572,7 +2573,7 @@ void tst_QAccessibility::dialogButtonBoxTest()
child = iface->child(0);
QCOMPARE(child->role(), QAccessible::PushButton);
- QVector<QAccessibleInterface *> buttons;
+ QList<QAccessibleInterface *> buttons;
for (int i = 0; i < iface->childCount(); ++i)
buttons << iface->child(i);
@@ -2624,7 +2625,7 @@ void tst_QAccessibility::dialogButtonBoxTest()
QApplication::processEvents();
QStringList actualOrder;
- QVector<QAccessibleInterface *> buttons;
+ QList<QAccessibleInterface *> buttons;
for (int i = 0; i < iface->childCount(); ++i)
buttons << iface->child(i);
@@ -3672,7 +3673,7 @@ void tst_QAccessibility::labelTest()
QCOMPARE(acc_label->state().focusable, false);
QCOMPARE(acc_label->state().readOnly, true);
- QVector<QPair<QAccessibleInterface *, QAccessible::Relation> > rels = acc_label->relations();
+ QList<QPair<QAccessibleInterface *, QAccessible::Relation>> rels = acc_label->relations();
QCOMPARE(rels.count(), 1);
QAccessibleInterface *iface = rels.first().first;
QAccessible::Relation rel = rels.first().second;
@@ -4014,7 +4015,7 @@ public:
}
private:
- QVector<QAccessibleInterface *> m_children;
+ QList<QAccessibleInterface *> m_children;
};
void tst_QAccessibility::focusChild()