46
47
48
49
50
51
52
53
54
55
56
57
58
59
|
@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];
|
>
>
>
|
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
|
@end
namespace ObjQt {
static OF_INLINE QtThread *
toOF(QThread *qThread)
{
if (qThread == NULL)
return nil;
return [[[QtThread alloc] initWithQThread: qThread] autorelease];
}
static OF_INLINE QThread *
toQt(QtThread *thread)
{
return [thread qThread];
|