diff options
| author | Ivan Solovev <ivan.solovev@qt.io> | 2024-01-30 11:35:31 +0100 |
|---|---|---|
| committer | Ivan Solovev <ivan.solovev@qt.io> | 2024-02-08 15:24:52 +0100 |
| commit | 96775c7c1101c09576b20849dbf4ea1862a15347 (patch) | |
| tree | f0400e30e0f024a5b0de582e016bf224f23cdf1d /tests/manual/textrendering/codeeditor/codeeditor.cpp | |
| parent | ab02d2053f16d1c9c0b005cade638e3c97f75879 (diff) | |
Deprecate QDataStream::readBytes(char *&, uint &) instead of removing it
We cannot remove the overload using QT_REMOVED_SINCE, because a qint64
lvalue in the new overload will not bind to an uint& parameter, so the
old code would not compile.
Deprecate the old overload, and add a unit-test that makes sure that
it still behaves correctly.
This commit also introduces the new deprecation macros that are
required to do the deprecation in Qt 6.11.
Amends fd48ce0b73c74dafd5db27bc1f2752ef665df7ef
Found in 6.7 API review
Change-Id: I02893bfbe040df736f8e746384e0261a0f0041d3
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
(cherry picked from commit cbc6ee0eb9ef42c7024fa527bb94ac89953709a6)
Diffstat (limited to 'tests/manual/textrendering/codeeditor/codeeditor.cpp')
0 files changed, 0 insertions, 0 deletions
