From 054a4aa7dddacbe31778c5c5e9ffc9d41f803353 Mon Sep 17 00:00:00 2001 From: Stephen Kelly Date: Thu, 15 Dec 2011 16:31:21 +0100 Subject: Add roles to the dataChanged slots in views. This is a source incompatible change. This is for consistency with the signal for the lifetime of Qt5. I could imagine people trying to override a virtual function (in a new class while using the Qt5 library) with the arguments of the signal and have that fail due to the arguments not being correct. It also allows ignoring dataChange events when they are known not to be for roles which are relevant to particular views or delegates. Change-Id: Ica191835125c1c8fdaf665debb62d635e81700dc Reviewed-by: David Faure Reviewed-by: Lars Knoll --- dist/changes-5.0.0 | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'dist') diff --git a/dist/changes-5.0.0 b/dist/changes-5.0.0 index 46f4478dbb..e567021aa2 100644 --- a/dist/changes-5.0.0 +++ b/dist/changes-5.0.0 @@ -175,6 +175,10 @@ QtCore * The default value of the property QSortFilterProxyModel::dynamicSortFilter was changed from false to true. +* The signature of the virtual QAbstractItemView::dataChanged method has changed to + include the roles which have changed. The signature is consistent with the dataChanged + signal in the model. + * QFileSystemWatcher is now able to return failure in case of errors whilst altering the watchlist in both the singular and QStringList overloads of addPath and removePath. -- cgit v1.2.3