[Development] Changing the return type of QMetaMethod::signature()

Marc Mutz marc.mutz at kdab.com
Thu Feb 23 18:36:22 CET 2012



On Wednesday February 15 2012, Kent Hansen wrote:
> However, if some code does do
>
> const char *sig = myMethod.signature();
> // do something with sig (call strlen et al) ...

...it will generate a deprecated warning under 
http://codereview.qt-project.org/17343, or fail to compile under 
QT_NO_DEPRECATED/QT_NO_CAST_FROM_BYTEARRAY, so I don't see a big problem with 
changing the return type.

Thanks,
Marc

-- 
Marc Mutz <marc.mutz at kdab.com> | Senior Software Engineer
KDAB (Deutschland) GmbH & Co.KG, a KDAB Group Company
www.kdab.com || Germany +49-30-521325470 || Sweden (HQ) +46-563-540090
KDAB - Qt Experts - Platform-Independent Software Solutions



More information about the Development mailing list