On 25/02/2013 09:35, Sorvig Morten wrote:

>      - Stand-alone function namespace:
>          * Qt::toPlatformType (“Qt::toWindowsHBITMAP”. “Qt::toMacCGImageRef”)
>       -OR-
>          * QPlatform::toType(“QWindows::toHBITMAP”, "QMac::toCGImageRef")

I vote for the latter naming scheme. We should not simulate namespaces 
by cluttering the function names.
Looking at the Windows example, it might be wise to call the platform 
namespaces QtPlatform, not QPlatform to make the namespace QtWindows and 
the class QWindow easier distinguishable.


BR,

Joerg

_______________________________________________
Development mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/development

Reply via email to