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

#include <qcocoaautoreleasepool.h>

Public Functions

 QCocoaAutoReleasePool ()
 
 ~QCocoaAutoReleasePool ()
 

Properties

NSAutoreleasePool * pool
 

Detailed Description

Definition at line 47 of file qcocoaautoreleasepool.h.

Constructors and Destructors

◆ QCocoaAutoReleasePool()

QCocoaAutoReleasePool::QCocoaAutoReleasePool ( )

Definition at line 44 of file qcocoaautoreleasepool.mm.

45 {
46  pool = [[NSAutoreleasePool alloc] init];
47 }
NSAutoreleasePool * pool
static bool init

◆ ~QCocoaAutoReleasePool()

QCocoaAutoReleasePool::~QCocoaAutoReleasePool ( )

Definition at line 49 of file qcocoaautoreleasepool.mm.

50 {
51  [pool release];
52 }
NSAutoreleasePool * pool

Properties

◆ pool

NSAutoreleasePool* QCocoaAutoReleasePool::pool
private

Definition at line 54 of file qcocoaautoreleasepool.h.

Referenced by QCocoaAutoReleasePool(), and ~QCocoaAutoReleasePool().


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