From babd3e252b87a3b9c91cd44189d4fcb5cd8ab270 Mon Sep 17 00:00:00 2001 From: Thiago Macieira Date: Thu, 3 May 2012 12:42:36 +0200 Subject: Revert "[SIC] Make non-const the QRegExp methods that modify the internals" This reverts commit 75a0c7f9b52cde47f20fdc1b89e1264d60350848. The source-incompatible change proved to be more trouble than it's worth. Too much intrusion into the porting effort of applications for no appreciable gain, especially considering that we have a replacement class. Change-Id: Ia99a2360390a2062a8ddb6e12c8f2099287a2704 Discussed-on: http://lists.qt-project.org/pipermail/development/2012-May/003562.html Reviewed-by: Lars Knoll --- dist/changes-5.0.0 | 7 ------- 1 file changed, 7 deletions(-) (limited to 'dist') diff --git a/dist/changes-5.0.0 b/dist/changes-5.0.0 index 353c7694d6..0df359f3ed 100644 --- a/dist/changes-5.0.0 +++ b/dist/changes-5.0.0 @@ -353,13 +353,6 @@ QtCore QRegularExpressionMatchIterator. They aim to replace QRegExp with a more powerful and flexible regular expression engine. -* Certain methods in QRegExp that modified the object's internals are no longer marked - const. They were accidentally marked const in Qt 4 but the problem could not be - fixed. The following are suggestions to adapt code to this change: - - make sure the QRegExp object is not const in the given context - - create a copy of the QRegExp object before using it - - invert the operation and use QString. E.g., rx.indexIn(string) becomes string.indexOf(rx) - * QEvent::AccessibilityPrepare, AccessibilityHelp and AccessibilityDescription removed: * The enum values simply didn't make sense in the first place and should simply be dropped. -- cgit v1.2.3