Deprecated QUuid::toString

Change-Id: I1186358df1c3f7615868725d93621608ed22ac99
Reviewed-on: http://codereview.qt.nokia.com/432
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
This commit is contained in:
Olivier Goffart 2011-06-08 11:55:40 +02:00 committed by Qt by Nokia
parent 92a1a3cc4f
commit 2c8e030a3f

View File

@ -108,7 +108,9 @@ struct Q_CORE_EXPORT QUuid
QUuid(const QString &); QUuid(const QString &);
QUuid(const char *); QUuid(const char *);
QString toString() const; QString toString() const;
operator QString() const { return toString(); } // ### Qt5 remove #if QT_DEPRECATED_SINCE(5,0)
QT_DEPRECATED operator QString() const { return toString(); }
#endif
QUuid(const QByteArray &); QUuid(const QByteArray &);
QByteArray toByteArray() const; QByteArray toByteArray() const;
#endif #endif