diff -r 56cd8111b7f7 -r 41300fa6a67c src/gui/itemviews/qtableview_p.h --- a/src/gui/itemviews/qtableview_p.h Tue Jan 26 12:42:25 2010 +0200 +++ b/src/gui/itemviews/qtableview_p.h Tue Feb 02 00:43:10 2010 +0200 @@ -74,7 +74,7 @@ * The key of the first map is the row where the subspan starts, the value of the first map is * a list (map) of all subspans that starts at the same row. It is indexed with its row */ -class QSpanCollection +class Q_AUTOTEST_EXPORT QSpanCollection { public: struct Span @@ -112,6 +112,10 @@ void updateRemovedRows(int start, int end); void updateRemovedColumns(int start, int end); +#ifdef QT_BUILD_INTERNAL + bool checkConsistency() const; +#endif + typedef QLinkedList SpanList; SpanList spans; //lists of all spans private: