diff options
author | Marius Bugge Monsen <mmonsen@trolltech.com> | 2009-06-10 16:25:48 +0200 |
---|---|---|
committer | Marius Bugge Monsen <mmonsen@trolltech.com> | 2009-06-18 13:57:46 +0200 |
commit | 602937ee29a58ffcf581d93e64549e4beb747834 (patch) | |
tree | ff65c702e8d43958a4d7ae7b2ddd9b03a2e65b14 /tests | |
parent | becd6694bcb181b3f636a3bfdab4c8366062d8a7 (diff) |
Add QHash<int,QString> roles() const function to the model interfaces. This is used by the declarative ui to map from the role enum to the name string.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/qgraphicstableview/tst_qgraphicstableview.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/qgraphicstableview/tst_qgraphicstableview.cpp b/tests/qgraphicstableview/tst_qgraphicstableview.cpp index a9afac7..845895a 100644 --- a/tests/qgraphicstableview/tst_qgraphicstableview.cpp +++ b/tests/qgraphicstableview/tst_qgraphicstableview.cpp @@ -141,7 +141,7 @@ void tst_QtGraphicsTableView::cellGeometry_data() << 0. << 0. // offsets << QList<QRectF>(); // expected geometries - QTest::newRow("1 row, 1 column, all visible") + QTest::newRow("1 row, 1 column") << 1 << 1 << QSizeF(100, 100) << 0 << 0 |