Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
qcore_mac.mm File Reference

(e227a4bfbd050dae7be1787ba547de9163155441)

#include <private/qcore_mac_p.h>
#include <new>
#include <execinfo.h>
#include <dlfcn.h>
#include <cxxabi.h>
#include <objc/runtime.h>
#include <mach-o/dyld.h>
#include <sys/sysctl.h>
#include <spawn.h>
#include <qdebug.h>
#include "qendian.h"
#include "qhash.h"
#include "qmutex.h"
#include "qvarlengtharray.h"
#include "private/qlocking_p.h"
#include <thread>
+ Include dependency graph for qcore_mac.mm:

Go to the source code of this file.

Macros

#define QT_DECLARE_WEAK_QDEBUG_OPERATOR_FOR_CF_TYPE(CFType)    __attribute__((weak)) Q_DECLARE_QDEBUG_OPERATOR_FOR_CF_TYPE(CFType)
 

Typedefs

typedef uint32_t csr_config_t
 

Functions

int csr_get_active_config (csr_config_t *) __attribute__((weak_import))
 
QDebug operator<< (QDebug dbg, id obj)
 
QDebug operator<< (QDebug dbg, const NSObject *nsObject)
 
QDebug operator<< (QDebug dbg, CFStringRef stringRef)
 
 QT_FOR_EACH_CORE_FOUNDATION_TYPE (QT_DECLARE_WEAK_QDEBUG_OPERATOR_FOR_CF_TYPE)
 
 QT_FOR_EACH_MUTABLE_CORE_FOUNDATION_TYPE (QT_DECLARE_WEAK_QDEBUG_OPERATOR_FOR_CF_TYPE)
 
 QT_FOR_EACH_CORE_GRAPHICS_TYPE (QT_DECLARE_WEAK_QDEBUG_OPERATOR_FOR_CF_TYPE)
 
 QT_FOR_EACH_MUTABLE_CORE_GRAPHICS_TYPE (QT_DECLARE_WEAK_QDEBUG_OPERATOR_FOR_CF_TYPE)
 
QT_END_NAMESPACE QT_USE_NAMESPACE voidobjc_autoreleasePoolPush (void)
 
void objc_autoreleasePoolPop (void *pool)
 
QDebug operator<< (QDebug debug, const QMacAutoReleasePool *pool)
 
QDebug operator<< (QDebug debug, const QCFString &string)
 
bool qt_apple_isApplicationExtension ()
 
AppleApplicationqt_apple_sharedApplication ()
 
bool qt_apple_isSandboxed ()
 
QT_BEGIN_NAMESPACE void qt_apple_check_os_version ()
 
 Q_CONSTRUCTOR_FUNCTION (qt_apple_check_os_version)
 

Macro Definition Documentation

◆ QT_DECLARE_WEAK_QDEBUG_OPERATOR_FOR_CF_TYPE

#define QT_DECLARE_WEAK_QDEBUG_OPERATOR_FOR_CF_TYPE ( CFType)     __attribute__((weak)) Q_DECLARE_QDEBUG_OPERATOR_FOR_CF_TYPE(CFType)

Definition at line 224 of file qcore_mac.mm.

Typedef Documentation

◆ csr_config_t

typedef uint32_t csr_config_t

Definition at line 38 of file qcore_mac.mm.

Function Documentation

◆ csr_get_active_config()

int csr_get_active_config ( csr_config_t * )
extern

◆ objc_autoreleasePoolPop()

void objc_autoreleasePoolPop ( void * pool)

Referenced by QMacAutoReleasePool::~QMacAutoReleasePool().

+ Here is the caller graph for this function:

◆ objc_autoreleasePoolPush()

QT_END_NAMESPACE QT_USE_NAMESPACE void * objc_autoreleasePoolPush ( void )

◆ operator<<() [1/5]

QDebug operator<< ( QDebug dbg,
CFStringRef stringRef )

Definition at line 209 of file qcore_mac.mm.

◆ operator<<() [2/5]

QDebug operator<< ( QDebug dbg,
const NSObject * nsObject )

Definition at line 200 of file qcore_mac.mm.

◆ operator<<() [3/5]

QDebug operator<< ( QDebug dbg,
id obj )

Definition at line 179 of file qcore_mac.mm.

◆ operator<<() [4/5]

QDebug operator<< ( QDebug debug,
const QCFString & string )

Definition at line 316 of file qcore_mac.mm.

References debug.

◆ operator<<() [5/5]

QDebug operator<< ( QDebug debug,
const QMacAutoReleasePool * pool )

Definition at line 308 of file qcore_mac.mm.

References debug, and pool.

◆ Q_CONSTRUCTOR_FUNCTION()

Q_CONSTRUCTOR_FUNCTION ( qt_apple_check_os_version )

◆ qt_apple_check_os_version()

QT_BEGIN_NAMESPACE void qt_apple_check_os_version ( )

Definition at line 562 of file qcore_mac.mm.

References QOperatingSystemVersionBase::current().

+ Here is the call graph for this function:

◆ qt_apple_isApplicationExtension()

bool qt_apple_isApplicationExtension ( )

Definition at line 424 of file qcore_mac.mm.

Referenced by QIOSApplicationState::QIOSApplicationState(), QIOSIntegration::QIOSIntegration(), QIOSTextInputOverlay::QIOSTextInputOverlay(), QIOSServices::openUrl(), qRegisterApplicationStateNotifications(), qt_apple_sharedApplication(), and QIOSTheme::usePlatformNativeDialog().

+ Here is the caller graph for this function:

◆ qt_apple_isSandboxed()

bool qt_apple_isSandboxed ( )

Definition at line 499 of file qcore_mac.mm.

◆ qt_apple_sharedApplication()

AppleApplication * qt_apple_sharedApplication ( )

Definition at line 431 of file qcore_mac.mm.

References qt_apple_isApplicationExtension(), and qWarning.

Referenced by QIOSApplicationState::QIOSApplicationState(), QIOSIntegration::QIOSIntegration(), QIOSTheme::colorScheme(), QIOSServices::openUrl(), presentationWindow(), qRegisterApplicationStateNotifications(), QIOSTheme::requestColorScheme(), and rootViewForScreen().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ QT_FOR_EACH_CORE_FOUNDATION_TYPE()

QT_FOR_EACH_CORE_FOUNDATION_TYPE ( QT_DECLARE_WEAK_QDEBUG_OPERATOR_FOR_CF_TYPE )

◆ QT_FOR_EACH_CORE_GRAPHICS_TYPE()

QT_FOR_EACH_CORE_GRAPHICS_TYPE ( QT_DECLARE_WEAK_QDEBUG_OPERATOR_FOR_CF_TYPE )

◆ QT_FOR_EACH_MUTABLE_CORE_FOUNDATION_TYPE()

QT_FOR_EACH_MUTABLE_CORE_FOUNDATION_TYPE ( QT_DECLARE_WEAK_QDEBUG_OPERATOR_FOR_CF_TYPE )

◆ QT_FOR_EACH_MUTABLE_CORE_GRAPHICS_TYPE()

QT_FOR_EACH_MUTABLE_CORE_GRAPHICS_TYPE ( QT_DECLARE_WEAK_QDEBUG_OPERATOR_FOR_CF_TYPE )