[Development] Use QT_DEPRECATED_SINCE macro for specific enum values

Richard Moore rich at kde.org
Wed Aug 12 14:50:02 CEST 2015


See http://code.woboq.org/qt5/qtbase/src/network/ssl/qssl.h.html#75

Note that qdoc doesn't like it much.

Rich.

On 12 August 2015 at 13:36, Denis Shienkov <denis.shienkov at gmail.com> wrote:

> Hi All.
>
> Is it possible to use QT_DEPRECATED_SINCE macro for the specific enum
> values? And, is any restrictions related to the different compilers?
>
> enum Numbers {
>     One,
>     Two,
> #if QT_DEPRECATED_SINCE(5, 2)
>     Three,
> #endif
>     Four
> };
>
> BR,
> Denis
>
> _______________________________________________
> Development mailing list
> Development at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/development
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20150812/eea3fd04/attachment.html>


More information about the Development mailing list