summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDenis Dzyubenko <denis.dzyubenko@nokia.com>2012-01-02 16:47:59 +0100
committerQt by Nokia <qt-info@nokia.com>2012-01-05 02:17:04 +0100
commitb0cf81684dd834d238b0233412fbfebd24fc5e27 (patch)
treec198e1c91428c2f956be17d698d301b2602e6ee7
parentb237c6683be3be5054ca32e9bf434de92d787f2b (diff)
Removed obsolete function QUuid::operator QString()
It is a source incompatible change, but I believe it is safe to say that it is a small change, which doesn't affect many people. Change-Id: Iad11befe4cca60484cf4e04cd3049c93a4ea5faf Reviewed-by: Prasanth Ullattil <prasanth.ullattil@nokia.com> Reviewed-by: João Abecasis <joao.abecasis@nokia.com> Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
-rw-r--r--dist/changes-5.0.05
-rw-r--r--src/corelib/plugin/quuid.cpp9
-rw-r--r--src/corelib/plugin/quuid.h3
3 files changed, 5 insertions, 12 deletions
diff --git a/dist/changes-5.0.0 b/dist/changes-5.0.0
index 3dec253f59..71aa52c79f 100644
--- a/dist/changes-5.0.0
+++ b/dist/changes-5.0.0
@@ -136,6 +136,11 @@ information about a particular change.
QAbstractEventDispatcher::registeredTimers() will need to be updated to pass
3 arguments to the TimerInfo constructor (instead of 2).
+- QUuid
+
+ * Removed implicit conversion operator QUuid::operator QString(), instead
+ QUuid::toString() function should be used.
+
****************************************************************************
* General *
****************************************************************************
diff --git a/src/corelib/plugin/quuid.cpp b/src/corelib/plugin/quuid.cpp
index 6fca1b6709..9f94d3bf6d 100644
--- a/src/corelib/plugin/quuid.cpp
+++ b/src/corelib/plugin/quuid.cpp
@@ -440,15 +440,6 @@ QUuid QUuid::fromRfc4122(const QByteArray &bytes)
*/
#ifndef QT_NO_QUUID_STRING
/*!
- \fn QUuid::operator QString() const
- \obsolete
-
- Returns the string representation of the uuid.
-
- \sa toString()
-*/
-
-/*!
Returns the string representation of this QUuid. The string is
formatted as five hex fields separated by '-' and enclosed in
curly braces, i.e., "{xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx}" where
diff --git a/src/corelib/plugin/quuid.h b/src/corelib/plugin/quuid.h
index 4557199dc3..0c4f3037a7 100644
--- a/src/corelib/plugin/quuid.h
+++ b/src/corelib/plugin/quuid.h
@@ -108,9 +108,6 @@ struct Q_CORE_EXPORT QUuid
QUuid(const QString &);
QUuid(const char *);
QString toString() const;
-#if QT_DEPRECATED_SINCE(5,0)
- QT_DEPRECATED operator QString() const { return toString(); }
-#endif
QUuid(const QByteArray &);
QByteArray toByteArray() const;
#endif