diff options
author | Liang Qi <liang.qi@nokia.com> | 2011-05-20 09:36:01 (GMT) |
---|---|---|
committer | Liang Qi <liang.qi@nokia.com> | 2011-05-20 12:28:12 (GMT) |
commit | 71f923f29e2c60444a85fc765fc582e06cb7eca4 (patch) | |
tree | d226463c2128c084ef83fcaf304912cb03934867 /src/corelib/plugin/quuid.h | |
parent | 7ce566ed82666ac08f137f4d8590ce589d42c82a (diff) | |
download | Qt-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.h | 2 |
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; |