ObjQt  Diff

Differences From Artifact [149eabc8dd]:

To Artifact [c9467afda7]:


38
39
40
41
42
43
44
















- (void)exitWithReturnCode: (int)returnCode;
- (void)requestInterruption;
- (bool)waitForMilliseconds: (unsigned long)time;
- (void)quit;
- (void)startWithPriority: (QThread::Priority)priority;
- (void)terminate;
@end























>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
- (void)exitWithReturnCode: (int)returnCode;
- (void)requestInterruption;
- (bool)waitForMilliseconds: (unsigned long)time;
- (void)quit;
- (void)startWithPriority: (QThread::Priority)priority;
- (void)terminate;
@end

namespace ObjQt {

static OF_INLINE QtThread*
toOF(QThread *qThread)
{
	return [[[QtThread alloc] initWithQThread: qThread] autorelease];
}

static OF_INLINE QThread*
toQt(QtThread *thread)
{
	return [thread qThread];
}

}