Qt 4.8
Public Functions | Properties | List of all members
QMacCocoaAutoReleasePool Class Reference

#include <qt_mac_p.h>

Public Functions

void * handle () const
 
 QMacCocoaAutoReleasePool ()
 
 ~QMacCocoaAutoReleasePool ()
 

Properties

void * pool
 

Detailed Description

Definition at line 141 of file qt_mac_p.h.

Constructors and Destructors

◆ QMacCocoaAutoReleasePool()

QMacCocoaAutoReleasePool::QMacCocoaAutoReleasePool ( )

Definition at line 1713 of file qt_cocoa_helpers_mac.mm.

1714 {
1715 #ifndef QT_MAC_USE_COCOA
1716  NSApplicationLoad();
1717 #endif
1718  pool = (void*)[[NSAutoreleasePool alloc] init];
1719 }
static bool init

◆ ~QMacCocoaAutoReleasePool()

QMacCocoaAutoReleasePool::~QMacCocoaAutoReleasePool ( )

Definition at line 1721 of file qt_cocoa_helpers_mac.mm.

1722 {
1723  [(NSAutoreleasePool*)pool release];
1724 }

Functions

◆ handle()

void* QMacCocoaAutoReleasePool::handle ( ) const
inline

Definition at line 149 of file qt_mac_p.h.

149 { return pool; }

Properties

◆ pool

void* QMacCocoaAutoReleasePool::pool
private

Definition at line 144 of file qt_mac_p.h.


The documentation for this class was generated from the following files: