Remove deprecated QDataStream::unsetDevice()
Deprecated since 5.13. Change-Id: I9f8f58fb92bc12d32eab5b0ae8611611fe2481e5 Reviewed-by: Lars Knoll <lars.knoll@qt.io>
This commit is contained in:
parent
3f0c2ed9ac
commit
ae9a16b5cd
@ -396,19 +396,6 @@ void QDataStream::setDevice(QIODevice *d)
|
||||
dev = d;
|
||||
}
|
||||
|
||||
#if QT_DEPRECATED_SINCE(5, 13)
|
||||
/*!
|
||||
\obsolete
|
||||
Unsets the I/O device.
|
||||
Use setDevice(nullptr) instead.
|
||||
*/
|
||||
|
||||
void QDataStream::unsetDevice()
|
||||
{
|
||||
setDevice(nullptr);
|
||||
}
|
||||
#endif
|
||||
|
||||
/*!
|
||||
\fn bool QDataStream::atEnd() const
|
||||
|
||||
|
@ -127,10 +127,6 @@ public:
|
||||
|
||||
QIODevice *device() const;
|
||||
void setDevice(QIODevice *);
|
||||
#if QT_DEPRECATED_SINCE(5, 13)
|
||||
QT_DEPRECATED_X("Use QDataStream::setDevice(nullptr) instead")
|
||||
void unsetDevice();
|
||||
#endif
|
||||
|
||||
bool atEnd() const;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user