diff options
author | Marius Bugge Monsen <mmonsen@trolltech.com> | 2009-06-10 10:58:03 +0200 |
---|---|---|
committer | Marius Bugge Monsen <mmonsen@trolltech.com> | 2009-06-10 10:58:03 +0200 |
commit | cbeb580dd0fd046980aeaa8b43bd26d22e7cfadf (patch) | |
tree | e8cbd1319f9fec9b1ec3d86c3662b335d426b074 /tests | |
parent | d7063fb7c8843cdc2f3e5417ef72a752fcc0ba9d (diff) |
Rename QSectionSpan to QtSectionSpan. This is done to avoid name-clashes if applications using the current itemviews-ng use a future version of Qt that includes the new classes (in Qt, the classes will use the 'Q' prefix).
Diffstat (limited to 'tests')
-rw-r--r-- | tests/qsectionspans/tst_qsectionspans.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/qsectionspans/tst_qsectionspans.cpp b/tests/qsectionspans/tst_qsectionspans.cpp index 7e3515f..2687c7f 100644 --- a/tests/qsectionspans/tst_qsectionspans.cpp +++ b/tests/qsectionspans/tst_qsectionspans.cpp @@ -111,7 +111,7 @@ void tst_QSectionSpans::setValue() QFETCH(QList<int>, spanCounts); QFETCH(QList<int>, expectedValues); - QSectionSpans<int> spans; + QtSectionSpans<int> spans; QCOMPARE(spans.count(), 0); spans.addSections(empty, expectedValues.count()); @@ -146,7 +146,7 @@ void tst_QSectionSpans::addSections() QFETCH(int, sectionCount); QFETCH(int, spanCount); - QSectionSpans<int> spans; + QtSectionSpans<int> spans; QCOMPARE(spans.count(), 0); spans.addSections(empty, sectionCount); @@ -200,7 +200,7 @@ void tst_QSectionSpans::removeSectionsAt() QFETCH(QList<int>, spanCounts); QFETCH(QList<int>, expectedValues); - QSectionSpans<int> spans; + QtSectionSpans<int> spans; QCOMPARE(spans.count(), 0); int initialSectionCount = expectedValues.count() + sectionsToRemove.count(); |