ObjQt  Diff

Differences From Artifact [fa444a862d]:

To Artifact [37ef3d484f]:


43
44
45
46
47
48
49



50
51
52
53
54
55
56
57
58
59
60
@end

namespace ObjQt {

static OF_INLINE QtApplication *
toOF(QApplication *qApplication)
{



	return [[[QtApplication alloc]
	    initWithQApplication: qApplication] autorelease];
}

static OF_INLINE QApplication *
toQt(QtApplication *application)
{
	return [application qApplication];
}

}







>
>
>











43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
@end

namespace ObjQt {

static OF_INLINE QtApplication *
toOF(QApplication *qApplication)
{
	if (qApplication == NULL)
		return nil;

	return [[[QtApplication alloc]
	    initWithQApplication: qApplication] autorelease];
}

static OF_INLINE QApplication *
toQt(QtApplication *application)
{
	return [application qApplication];
}

}