QCharRef/QByteRef: schedule for Qt 7 removal
With all of their special behavior deprecated, QCharRef and QByteRef can simply be removed. Add a comment. Change-Id: I8bad95424207ae281b5edf348b9ad81c6807dc12 Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
This commit is contained in:
parent
2c289c6c1e
commit
da0f40f9ac
@ -548,7 +548,7 @@ class
|
||||
#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
|
||||
Q_CORE_EXPORT
|
||||
#endif
|
||||
QByteRef {
|
||||
QByteRef { // ### Qt 7: remove
|
||||
QByteArray &a;
|
||||
int i;
|
||||
inline QByteRef(QByteArray &array, int idx)
|
||||
|
@ -1103,7 +1103,7 @@ class
|
||||
#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
|
||||
Q_CORE_EXPORT
|
||||
#endif
|
||||
QCharRef {
|
||||
QCharRef { // ### Qt 7: remove
|
||||
QString &s;
|
||||
int i;
|
||||
inline QCharRef(QString &str, int idx)
|
||||
|
Loading…
Reference in New Issue
Block a user