[Development] [Qt5-feedback] A micro API review: for V3(md5) and V5(sha1) in QUuid

lars.knoll at nokia.com lars.knoll at nokia.com
Fri Dec 9 13:01:51 CET 2011


Hi Liang,

please send these to development at qt-project.org.

On 12/9/11 12:28 PM, "ext liang.qi at nokia.com" <liang.qi at nokia.com> wrote:

>Hi, all,
>
>The original task is:
>http://bugreports.qt.nokia.com/browse/QTBUG-23071
>
>And the change is:
>http://codereview.qt-project.org/10803
>
>For the API name, we need a micro API review:
>Set 1:
>createUuidMd5()
>createUuidSha1()
>
>or
>
>createUuidMd5OrSha1()
>
>Set2:
>createUuidV3()
>createUuidV5()
>
>or
>
>createUuidV3OrV5()
>
>Any other suggestion is also welcome.

These names look ugly. Why not simply QUuid::createUuid(const QUuid &ns,
const QByteArray &baseData, Version v); ?

Lars

>
>Regards,
>Liang
>
>
>_______________________________________________
>Qt5-feedback mailing list
>Qt5-feedback at qt.nokia.com
>http://lists.qt.nokia.com/mailman/listinfo/qt5-feedback




More information about the Development mailing list