Document the BC break of viewportSizeHint() in itemviews
authorGiuseppe D'Angelo <giuseppe.dangelo@kdab.com>
Fri, 8 Nov 2013 12:53:26 +0000 (13:53 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Sat, 9 Nov 2013 14:42:49 +0000 (15:42 +0100)
commitc819a8926959ecadfe2e588e28918ed6fb90ce5d
tree51dc53854ec590a8001dbb879055644240501f74
parentef6544ee27aeab20a64b4df4bd50401cefa405ef
Document the BC break of viewportSizeHint() in itemviews

Since users were not supposed to use this feature at all, just
live with the BC break, but document it. In order to prevent possible
problems in the future, introduce dummy overrides in QAbstractItemView
and QListView as well. Also, fix the visibility of the overrides
(it's protected, not public).

Task-number: QTBUG-34667
Change-Id: Ib4554ae5e1e7d3ce4ea8e8703e1fea9e2231edb0
Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
dist/changes-5.2.0
src/widgets/itemviews/qabstractitemview.cpp
src/widgets/itemviews/qabstractitemview.h
src/widgets/itemviews/qlistview.cpp
src/widgets/itemviews/qlistview.h
src/widgets/itemviews/qtableview.h
src/widgets/itemviews/qtreeview.h
src/widgets/widgets/qscrollarea.h