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)
|
#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
|
||||||
Q_CORE_EXPORT
|
Q_CORE_EXPORT
|
||||||
#endif
|
#endif
|
||||||
QByteRef {
|
QByteRef { // ### Qt 7: remove
|
||||||
QByteArray &a;
|
QByteArray &a;
|
||||||
int i;
|
int i;
|
||||||
inline QByteRef(QByteArray &array, int idx)
|
inline QByteRef(QByteArray &array, int idx)
|
||||||
|
@ -1103,7 +1103,7 @@ class
|
|||||||
#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
|
#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
|
||||||
Q_CORE_EXPORT
|
Q_CORE_EXPORT
|
||||||
#endif
|
#endif
|
||||||
QCharRef {
|
QCharRef { // ### Qt 7: remove
|
||||||
QString &s;
|
QString &s;
|
||||||
int i;
|
int i;
|
||||||
inline QCharRef(QString &str, int idx)
|
inline QCharRef(QString &str, int idx)
|
||||||
|
Loading…
Reference in New Issue
Block a user