Qt 6.x
The Qt SDK
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
qcore_mac.mm File Reference
#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 "qpair.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))
 
static QT_BEGIN_NAMESPACE void initializeStandardUserDefaults ()
 
 Q_CONSTRUCTOR_FUNCTION (initializeStandardUserDefaults)
 
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 223 of file qcore_mac.mm.

Typedef Documentation

◆ csr_config_t

typedef uint32_t csr_config_t

Definition at line 39 of file qcore_mac.mm.

Function Documentation

◆ csr_get_active_config()

int csr_get_active_config ( csr_config_t )

◆ initializeStandardUserDefaults()

static QT_BEGIN_NAMESPACE void initializeStandardUserDefaults ( )
static

Definition at line 56 of file qcore_mac.mm.

References Q_UNUSED.

◆ 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 208 of file qcore_mac.mm.

◆ operator<<() [2/5]

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

Definition at line 199 of file qcore_mac.mm.

◆ operator<<() [3/5]

QDebug operator<< ( QDebug  dbg,
id  obj 
)

Definition at line 178 of file qcore_mac.mm.

◆ operator<<() [4/5]

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

Definition at line 315 of file qcore_mac.mm.

References debug.

◆ operator<<() [5/5]

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

Definition at line 307 of file qcore_mac.mm.

References debug, and pool.

◆ Q_CONSTRUCTOR_FUNCTION() [1/2]

Q_CONSTRUCTOR_FUNCTION ( initializeStandardUserDefaults  )

◆ Q_CONSTRUCTOR_FUNCTION() [2/2]

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 561 of file qcore_mac.mm.

References QOperatingSystemVersion::current(), and QOperatingSystemVersion::version().

+ Here is the call graph for this function:

◆ qt_apple_isApplicationExtension()

bool qt_apple_isApplicationExtension ( )

◆ qt_apple_isSandboxed()

bool qt_apple_isSandboxed ( )

Definition at line 498 of file qcore_mac.mm.

◆ qt_apple_sharedApplication()

AppleApplication * qt_apple_sharedApplication ( )

Definition at line 430 of file qcore_mac.mm.

References qt_apple_isApplicationExtension(), and qWarning.

Referenced by QIOSApplicationState::QIOSApplicationState(), QIOSIntegration::QIOSIntegration(), QIOSScreen::QIOSScreen(), QIOSTheme::colorScheme(), isQtApplication(), QIOSServices::openUrl(), QIOSScreen::orientation(), qRegisterApplicationStateNotifications(), QIOSColorDialog::show(), QIOSFontDialog::show(), QIOSMessageDialog::show(), and QIOSScreen::updateProperties().

+ 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  )