ObjQt  Diff

Differences From Artifact [efe4224b0c]:

To Artifact [e01d9573b3]:


24
25
26
27
28
29
30
31

32
33
34
35
36

37
38
39
40
41
42
43
24
25
26
27
28
29
30

31
32
33
34
35

36
37
38
39
40
41
42
43







-
+




-
+







#import "QtEvent.h"
#import "OFString+QString.h"

using ObjQt::toOF;
using ObjQt::toQt;

@implementation QtCoreApplication
- initWithQObject: (QObject *)qObject
- (instancetype)initWithQObject: (QObject *)qObject
{
	OF_INVALID_INIT_METHOD
}

- initWithQCoreApplication: (QCoreApplication *)qCoreApplication
- (instancetype)initWithQCoreApplication: (QCoreApplication *)qCoreApplication
{
	return [super initWithQObject: qCoreApplication];
}

- (QCoreApplication *)qCoreApplication
{
	return qobject_cast<QCoreApplication *>(_qObject);