qt5base-lts/tests/auto/widgets/itemviews
Giuseppe D'Angelo 3578e05b29 Merge QStyleOption*V{2,3,4} classes together
In order to keep binary compatibility, Qt 4 introduced V{2,3,4}
classes for QStyleOption subclasses. They're simple, low level
containers for various members with public access (no accessors
required).

In Qt 5.0 we can break BC, so this patch moves the members
from the derived classes into the ``base'' ones.
The ``base'' ones get a version bump matching the highest
version available, and the V{2,3,4} classes become typedefs.

This change can cause problems in code that used QStyleOption
directly, especially QStyleOptionViewItem, because the old V4
fields get default initialization but the QStyle subclasses
detect that the option is a V4 option and expect all fields
to be properly initialized. The fix in such places is to
properly initialize all fields.

Task-number: QTBUG-23522
Change-Id: I2f782da09ca5cc8c4cbafc07448fb0d33153a251
Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
2012-02-02 20:18:55 +01:00
..
qabstractitemview Introduce QItemDelegate::destroyEditor virtual invoked at editor close 2012-02-02 01:56:03 +01:00
qcolumnview Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qdatawidgetmapper Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qdirmodel Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qfileiconprovider Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qheaderview Extending the auto test for QHeaderView 2012-02-01 16:26:11 +01:00
qitemdelegate Merge QStyleOption*V{2,3,4} classes together 2012-02-02 20:18:55 +01:00
qitemeditorfactory Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qitemview Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qlistview Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qlistwidget Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qstandarditem Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qstandarditemmodel Add public role names setter to QStandardItemModel 2012-01-31 12:00:31 +01:00
qtableview Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qtablewidget Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qtreeview Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qtreewidget Merge QStyleOption*V{2,3,4} classes together 2012-02-02 20:18:55 +01:00
qtreewidgetitemiterator Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
itemviews.pro Move proxy and selection models to QtCore. 2011-12-16 13:00:57 +01:00