[Development] Fwd: Use QT_DEPRECATED_SINCE macro for specific enum values
Denis Shienkov
denis.shienkov at gmail.com
Wed Aug 12 15:02:39 CEST 2015
> See http://code.woboq.org/qt5/qtbase/src/network/ssl/qssl.h.html#75
Yes, I saw it (I found about two mentions of QT_DEPRECATED_SINCE, related
to enum values in qtbase sources).
> Note that qdoc doesn't like it much.
So, this is too small because the qdoc does not like it? :)
BR,
Denis
2015-08-12 15:50 GMT+03:00 Richard Moore <rich at kde.org>:
> 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/09aebcf2/attachment.html>
More information about the Development
mailing list