<QtDarwinHelpers> Proxy-Seite
Makros
Q_FORWARD_DECLARE_CF_TYPE(type) | |
Q_FORWARD_DECLARE_MUTABLE_CF_TYPE(type) | |
Q_FORWARD_DECLARE_OBJC_CLASS(classname) |
Makro-Dokumentation
Q_FORWARD_DECLARE_CF_TYPE(type)
Forward-deklariert eine Core Foundation type. Dies beinhaltet den eigentlichen Typ und den Ref-Typ. Zum Beispiel deklariert Q_FORWARD_DECLARE_CF_TYPE(CFString) __CFString und CFStringRef.
Q_FORWARD_DECLARE_MUTABLE_CF_TYPE(type)
Forward deklariert einen veränderbaren Core Foundation type. Dies beinhaltet den eigentlichen Typ und den Ref-Typ. Zum Beispiel deklariert Q_FORWARD_DECLARE_MUTABLE_CF_TYPE(CFMutableString) __CFMutableString und CFMutableStringRef.
Q_FORWARD_DECLARE_OBJC_CLASS(classname)
Forward deklariert ein Objective-C classname in einer Weise, dass es entweder als Objective-C oder als C++ kompiliert werden kann.
Dies ist in erster Linie für die Verwendung in Header-Dateien gedacht, die sowohl in Objective-C- als auch in C++-Quelldateien enthalten sein können.
© 2025 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.