Qt 4.8
Public Functions | Protected Variables | List of all members
EventLoopHelper Class Reference
Inheritance diagram for EventLoopHelper:

Public Functions

(id) - initWithEventLoopIntegration:
 
(void) - processEventsAndSchedule
 

Protected Variables

QUIKitEventLoopmIntegration
 

Detailed Description

Definition at line 65 of file quikiteventloop.mm.

Functions

◆ initWithEventLoopIntegration:()

- (id) initWithEventLoopIntegration: (QUIKitEventLoop *)  integration

Definition at line 155 of file quikiteventloop.mm.

155  :(QUIKitEventLoop *)integration
156 {
157  if ((self = [self init])) {
158  mIntegration = integration;
159  }
160  return self;
161 }
static bool init
QUIKitEventLoop * mIntegration

◆ processEventsAndSchedule()

- (void) processEventsAndSchedule

Definition at line 163 of file quikiteventloop.mm.

164 {
166  NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];
167  NSDate *nextDate = [[NSDate date] dateByAddingTimeInterval:((double)mIntegration->nextTimerEvent()/1000.)];
168  [mIntegration->mTimer setFireDate:nextDate];
169  [pool release];
170 }

Properties

◆ mIntegration

- (QUIKitEventLoop*) mIntegration
protected

Definition at line 66 of file quikiteventloop.mm.

Referenced by initWithEventLoopIntegration:.


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