<QtDarwinHelpers>

Hilfsmakros speziell für Darwin-basierte Betriebssysteme. Mehr...

Header: #include <QtDarwinHelpers>

Makros

Ausführliche Beschreibung

Makro-Dokumentation

Q_FORWARD_DECLARE_CF_TYPE(type)

Deklariert einen Core Foundation- type-Typ im Voraus. Dies umfasst sowohl den eigentlichen Typ als auch den Referenztyp. Beispielsweise deklariert Q_FORWARD_DECLARE_CF_TYPE(CFString) sowohl __CFString als auch CFStringRef.

Q_FORWARD_DECLARE_MUTABLE_CF_TYPE(type)

Deklariert eine veränderbare Core Foundation- type. Dies umfasst sowohl den eigentlichen Typ als auch den Referenztyp. Beispielsweise deklariert Q_FORWARD_DECLARE_MUTABLE_CF_TYPE(CFMutableString) sowohl __CFMutableString als auch CFMutableStringRef.

Q_FORWARD_DECLARE_OBJC_CLASS(classname)

Deklariert ein Objective-C- classname -Element im Voraus so, dass es sowohl als Objective-C als auch als C++ kompiliert werden kann.

Dies ist in erster Linie für die Verwendung in Header-Dateien vorgesehen, die sowohl von Objective-C- als auch von C++-Quelldateien eingebunden werden können.

© 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.