![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include "private/qglobal_p.h"#include <QtCore/qoperatingsystemversion.h>#include <optional>#include <CoreFoundation/CoreFoundation.h>#include "qstring.h"#include "qpair.h"#include <os/log.h>#include <os/activity.h>Go to the source code of this file.
Classes | |
| class | QAppleRefCounted< T, U, RetainFunction, ReleaseFunction > |
| class | QMacAutoReleasePool |
| class | QCFType< T > |
| class | QCFString |
| class | QObjCWeakPointerBase |
| class | QObjCWeakPointer< T > |
| class | AppleUnifiedLogger |
| class | QAppleLogActivity |
| class | QMacNotificationObserver |
| class | QMacKeyValueObserver |
| class | QMacVersion |
Macros | |
| #define | __IMAGECAPTURE__ |
| #define | QT_NAMESPACE_ALIAS_OBJC_CLASS(__KLASS__) |
| #define | QT_MAC_WEAK_IMPORT(symbol) |
| #define | QT_DECLARE_NAMESPACED_OBJC_INTERFACE(classname, definition) |
| #define | QT_FORWARD_DECLARE_OBJC_ENUM(name, type) |
| #define | QtExtras QT_MANGLE_NAMESPACE(QtExtras) |
| #define | QT_USE_APPLE_UNIFIED_LOGGING |
| #define | QT_APPLE_LOG_ACTIVITY_CREATE(condition, description, parent) |
| #define | QT_APPLE_LOG_ACTIVITY_WITH_PARENT_3(condition, description, parent) |
| #define | QT_APPLE_LOG_ACTIVITY_WITH_PARENT_2(description, parent) |
| #define | QT_APPLE_LOG_ACTIVITY_WITH_PARENT(...) |
| #define | QT_APPLE_LOG_ACTIVITY_2(condition, description) |
| #define | QT_APPLE_LOG_ACTIVITY_1(description) |
| #define | QT_APPLE_LOG_ACTIVITY(...) |
| #define | QT_APPLE_SCOPED_LOG_ACTIVITY(...) |
Typedefs | |
| using | AppleApplication = UIApplication |
| template<typename T> | |
| using | QAppleOsType = QAppleRefCounted<T, void *, os_retain, os_release> |
Functions | |
| Q_FORWARD_DECLARE_OBJC_CLASS (NSObject) | |
| Q_FORWARD_DECLARE_OBJC_CLASS (NSString) | |
| Q_FORWARD_DECLARE_OBJC_CLASS (UTType) | |
| Q_CORE_EXPORT QDebug | operator<< (QDebug debug, const QMacAutoReleasePool *pool) |
| Q_CORE_EXPORT QDebug | operator<< (QDebug debug, const QCFString &string) |
| Q_CORE_EXPORT QDebug | operator<< (QDebug, CGPoint) |
| Q_CORE_EXPORT QDebug | operator<< (QDebug, CGSize) |
| Q_CORE_EXPORT QDebug | operator<< (QDebug, CGRect) |
| Q_CORE_EXPORT QDebug | operator<< (QDebug, UIEdgeInsets) |
| Q_CORE_EXPORT bool | qt_apple_isApplicationExtension () |
| Q_CORE_EXPORT bool | qt_apple_runningWithLiquidGlass () |
| Q_CORE_EXPORT std::optional< UTType * > | qt_apple_bundleType (const QString &path) |
| Q_CORE_EXPORT bool | qt_apple_isSandboxed () |
| QT_END_NAMESPACE | Q_FORWARD_DECLARE_OBJC_CLASS (UIApplication) |
| QT_BEGIN_NAMESPACE Q_CORE_EXPORT AppleApplication * | qt_apple_sharedApplication () |
| QT_MAC_WEAK_IMPORT (_os_activity_current) | |
| #define __IMAGECAPTURE__ |
Definition at line 37 of file qcore_mac_p.h.
| #define QT_APPLE_LOG_ACTIVITY | ( | ... | ) |
Definition at line 372 of file qcore_mac_p.h.
| #define QT_APPLE_LOG_ACTIVITY_1 | ( | description | ) |
Definition at line 371 of file qcore_mac_p.h.
| #define QT_APPLE_LOG_ACTIVITY_2 | ( | condition, | |
| description ) |
Definition at line 370 of file qcore_mac_p.h.
| #define QT_APPLE_LOG_ACTIVITY_CREATE | ( | condition, | |
| description, | |||
| parent ) |
Definition at line 359 of file qcore_mac_p.h.
| #define QT_APPLE_LOG_ACTIVITY_WITH_PARENT | ( | ... | ) |
Definition at line 367 of file qcore_mac_p.h.
| #define QT_APPLE_LOG_ACTIVITY_WITH_PARENT_2 | ( | description, | |
| parent ) |
Definition at line 366 of file qcore_mac_p.h.
| #define QT_APPLE_LOG_ACTIVITY_WITH_PARENT_3 | ( | condition, | |
| description, | |||
| parent ) |
Definition at line 365 of file qcore_mac_p.h.
| #define QT_APPLE_SCOPED_LOG_ACTIVITY | ( | ... | ) |
Definition at line 374 of file qcore_mac_p.h.
| #define QT_DECLARE_NAMESPACED_OBJC_INTERFACE | ( | classname, | |
| definition ) |
Definition at line 71 of file qcore_mac_p.h.
Definition at line 76 of file qcore_mac_p.h.
| #define QT_MAC_WEAK_IMPORT | ( | symbol | ) |
Definition at line 62 of file qcore_mac_p.h.
| #define QT_NAMESPACE_ALIAS_OBJC_CLASS | ( | __KLASS__ | ) |
Definition at line 59 of file qcore_mac_p.h.
| #define QT_USE_APPLE_UNIFIED_LOGGING |
Definition at line 281 of file qcore_mac_p.h.
| #define QtExtras QT_MANGLE_NAMESPACE(QtExtras) |
Definition at line 93 of file qcore_mac_p.h.
| using AppleApplication = UIApplication |
Definition at line 272 of file qcore_mac_p.h.
| using QAppleOsType = QAppleRefCounted<T, void *, os_retain, os_release> |
Definition at line 311 of file qcore_mac_p.h.
Definition at line 362 of file qcore_mac.mm.
| QDebug operator<< | ( | QDebug | debug, |
| const QMacAutoReleasePool * | pool ) |
Definition at line 354 of file qcore_mac.mm.
Definition at line 239 of file qcore_mac.mm.
Definition at line 251 of file qcore_mac.mm.
Definition at line 245 of file qcore_mac.mm.
Definition at line 260 of file qcore_mac.mm.
| Q_FORWARD_DECLARE_OBJC_CLASS | ( | NSObject | ) |
| Q_FORWARD_DECLARE_OBJC_CLASS | ( | NSString | ) |
| QT_END_NAMESPACE Q_FORWARD_DECLARE_OBJC_CLASS | ( | UIApplication | ) |
| Q_FORWARD_DECLARE_OBJC_CLASS | ( | UTType | ) |
| std::optional< UTType * > qt_apple_bundleType | ( | const QString & | path | ) |
Returns the bundle type of the item at path, or std::nullopt if it is not a bundle.
Whether an item is a bundle is determined by its uniform type conforming to com.apple.bundle, covering applications (.app), app extensions (.appex), frameworks, and generic bundles. It is not determined by the mere presence of a Contents directory or similar structure.
Directories whose extension is not a recognized bundle type, such as audio unit components (.component), are still resolved as bundles when they carry bundle metadata (a PkgInfo or Info.plist declaring the package type), as the system then classifies them as a generic bundle. A bare directory without such metadata is not considered a bundle.
Definition at line 531 of file qcore_mac.mm.
| bool qt_apple_isApplicationExtension | ( | ) |
Definition at line 508 of file qcore_mac.mm.
Referenced by qt_apple_sharedApplication().
| bool qt_apple_isSandboxed | ( | ) |
Definition at line 566 of file qcore_mac.mm.
| Q_CORE_EXPORT bool qt_apple_runningWithLiquidGlass | ( | ) |
| AppleApplication * qt_apple_sharedApplication | ( | ) |
Definition at line 543 of file qcore_mac.mm.
References qt_apple_isApplicationExtension().
| QT_MAC_WEAK_IMPORT | ( | _os_activity_current | ) |