<QtDarwinHelpers>

Macros auxiliares específicas para sistemas operacionais baseados no Darwin. Mais...

Header: #include <QtDarwinHelpers>

Macros

Descrição detalhada

Documentação das macros

Q_FORWARD_DECLARE_CF_TYPE(type)

Declara antecipadamente um tipo do Core Foundation type. Isso inclui o tipo propriamente dito e o tipo de referência. Por exemplo, Q_FORWARD_DECLARE_CF_TYPE(CFString) declara __CFString e CFStringRef.

Q_FORWARD_DECLARE_MUTABLE_CF_TYPE(type)

Declara antecipadamente um tipo mutável do Core Foundation type. Isso inclui o tipo propriamente dito e o tipo de referência. Por exemplo, Q_FORWARD_DECLARE_MUTABLE_CF_TYPE(CFMutableString) declara __CFMutableString e CFMutableStringRef.

Q_FORWARD_DECLARE_OBJC_CLASS(classname)

Declara antecipadamente uma função ` classname ` em Objective-C de forma que ela possa ser compilada tanto em Objective-C quanto em C++.

Isso se destina principalmente ao uso em arquivos de cabeçalho que possam ser incluídos tanto por arquivos-fonte em Objective-C quanto em C++.

© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.