<QtDarwinHelpers>

Macro di supporto specifiche per i sistemi operativi basati su Darwin. Altro...

Header: #include <QtDarwinHelpers>

Macro

Descrizione dettagliata

Documentazione sulle macro

Q_FORWARD_DECLARE_CF_TYPE(type)

Dichiara in anticipo un tipo di Core Foundation type. Ciò include sia il tipo effettivo che il tipo di riferimento. Ad esempio, Q_FORWARD_DECLARE_CF_TYPE(CFString) dichiara __CFString e CFStringRef.

Q_FORWARD_DECLARE_MUTABLE_CF_TYPE(type)

Dichiara in anticipo un tipo mutabile di Core Foundation type. Ciò include sia il tipo effettivo che il tipo di riferimento. Ad esempio, Q_FORWARD_DECLARE_MUTABLE_CF_TYPE(CFMutableString) dichiara __CFMutableString e CFMutableStringRef.

Q_FORWARD_DECLARE_OBJC_CLASS(classname)

Dichiara in anticipo un’ classname e Objective-C in modo tale che possa essere compilata sia in Objective-C che in C++.

Questa funzione è destinata principalmente all'uso in file di intestazione che possono essere inclusi sia da file sorgente Objective-C che da file sorgente 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.