summaryrefslogtreecommitdiffstats
path: root/src/corelib/plugin/quuid.h
diff options
context:
space:
mode:
authorLiang Qi <liang.qi@nokia.com>2011-05-20 09:36:01 (GMT)
committerLiang Qi <liang.qi@nokia.com>2011-05-20 12:28:12 (GMT)
commit71f923f29e2c60444a85fc765fc582e06cb7eca4 (patch)
treed226463c2128c084ef83fcaf304912cb03934867 /src/corelib/plugin/quuid.h
parent7ce566ed82666ac08f137f4d8590ce589d42c82a (diff)
downloadQt-71f923f29e2c60444a85fc765fc582e06cb7eca4.zip
Qt-71f923f29e2c60444a85fc765fc582e06cb7eca4.tar.gz
Qt-71f923f29e2c60444a85fc765fc582e06cb7eca4.tar.bz2
Add QUuid::toByteArray() and relevant
Add QUuid::toByteArray() and QUuid(const QByteArray &). Same behavior with QUuid::toString() and QUuid(const QString &). Task-number: QTBUG-19419 Reviewed-by: joao
Diffstat (limited to 'src/corelib/plugin/quuid.h')
-rw-r--r--src/corelib/plugin/quuid.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/corelib/plugin/quuid.h b/src/corelib/plugin/quuid.h
index 39f0179..ecaae48 100644
--- a/src/corelib/plugin/quuid.h
+++ b/src/corelib/plugin/quuid.h
@@ -109,6 +109,8 @@ struct Q_CORE_EXPORT QUuid
QUuid(const char *);
QString toString() const;
operator QString() const { return toString(); } // ### Qt5 remove
+ QUuid(const QByteArray &);
+ QByteArray toByteArray() const;
#endif
bool isNull() const;