44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
|
self = [self initWithQChildEvent:
new QChildEvent(type, toQt(child))];
[self takeOwnership];
return self;
} catch (const std::bad_alloc &e) {
self = [super initWithQEvent: NULL];
[self release];
throw;
}
}
- (QChildEvent *)qChildEvent
{
|
|
|
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
|
self = [self initWithQChildEvent:
new QChildEvent(type, toQt(child))];
[self takeOwnership];
return self;
} catch (const std::bad_alloc &e) {
self = [self initWithQChildEvent: NULL];
[self release];
throw;
}
}
- (QChildEvent *)qChildEvent
{
|