aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/accessibility/tst_accessibility.cpp
diff options
context:
space:
mode:
authorJ-P Nurmi <jpnurmi@theqtcompany.com>2015-10-02 23:03:58 +0200
committerJ-P Nurmi <jpnurmi@theqtcompany.com>2015-10-04 10:56:24 +0000
commit1862fc5a32fd0523a56d24f2f90df3d9f54ba967 (patch)
tree6b80f228ceef64cf5a42a3d9a016ed28172cc18c /tests/auto/accessibility/tst_accessibility.cpp
parent0cb096251c4f5af79126e71cfa7a7f9e910dac95 (diff)
Rename CalendarView to MonthGrid
Let's reserve CalendarView for a bit higher level control that combines MonthGrid, DayOfWeekRow and WeekNumberColumn, and provides built-in navigation. CalendarView would use the not-so-extensible CalendarModel internally, so we could get that out of the public API as well... Change-Id: I43126ed4c87f54a5b24129b9d60c969f5bd58642 Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
Diffstat (limited to 'tests/auto/accessibility/tst_accessibility.cpp')
-rw-r--r--tests/auto/accessibility/tst_accessibility.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/accessibility/tst_accessibility.cpp b/tests/auto/accessibility/tst_accessibility.cpp
index 450fb88a..857cefd2 100644
--- a/tests/auto/accessibility/tst_accessibility.cpp
+++ b/tests/auto/accessibility/tst_accessibility.cpp
@@ -95,8 +95,8 @@ void tst_accessibility::a11y_data()
// SwipeView
// Tumbler
- QTest::newRow("CalendarView") << "calendarview" << 0x0 << "CalendarView"; //QAccessible::NoRole
QTest::newRow("DayOfWeekRow") << "dayofweekrow" << 0x0 << "DayOfWeekRow"; //QAccessible::NoRole
+ QTest::newRow("MonthGrid") << "monthgrid" << 0x0 << "MonthGrid"; //QAccessible::NoRole
QTest::newRow("WeekNumberColumn") << "weeknumbercolumn" << 0x0 << "WeekNumberColumn"; //QAccessible::NoRole
}
@@ -111,8 +111,8 @@ void tst_accessibility::a11y()
#ifdef QT_NO_ACCESSIBILITY
if (name == QLatin1Literal("textarea")
|| name == QLatin1Literal("textfield")
- || name == QLatin1Literal("calendarview")
|| name == QLatin1Literal("dayofweekrow")
+ || name == QLatin1Literal("monthgrid")
|| name == QLatin1Literal("weeknumbercolumn"))
fn += QLatin1Literal("-2");
#endif