Add QtAction and add more methods to QtWidget

This commit is contained in:
Jonathan Schleifer 2017-04-15 04:16:34 +02:00
parent a4e20181b3
commit 6bc8ff153e
No known key found for this signature in database
GPG key ID: 28D65178B37F33E3
7 changed files with 669 additions and 3 deletions

View file

@ -23,7 +23,7 @@
#import "QtEvent.h"
@implementation QtEvent
@synthesize qEvent = _eEvent;
@synthesize qEvent = _qEvent;
+ (int)registerEventType: (int)hint
{

View file

@ -91,6 +91,8 @@
[children addObject:
[[[QtObject alloc] initWithQObject: qChild] autorelease]];
[children makeImmutable];
objc_autoreleasePoolPop(pool);
return children;
@ -144,6 +146,8 @@
[dynamicPropertyNames addObject: dynamicPropertyName];
}
[dynamicPropertyNames makeImmutable];
objc_autoreleasePoolPop(pool);
return dynamicPropertyNames;