ObjQt  Diff

Differences From Artifact [fd57508770]:

To Artifact [2207e4ec9f]:


21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
 */

#import "QtThread.h"

using ObjQt::toQt;

@implementation QtThread: QtObject
- initWithQObject: (QObject *)qObject
{
	OF_INVALID_INIT_METHOD
}

- initWithQThread: (QThread *)qThread
{
	return [super initWithQObject: qThread];
}

- (QThread *)qThread
{
	return qobject_cast<QThread *>(_qObject);







|




|







21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
 */

#import "QtThread.h"

using ObjQt::toQt;

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

- (instancetype)initWithQThread: (QThread *)qThread
{
	return [super initWithQObject: qThread];
}

- (QThread *)qThread
{
	return qobject_cast<QThread *>(_qObject);