ObjQt  Diff

Differences From Artifact [f5a84ec4a3]:

To Artifact [0c750e4bdb]:


41
42
43
44
45
46
47



48
49
50
51
52
53
54
@end

namespace ObjQt {

static OF_INLINE QtPushButton *
toOF(QPushButton *qPushButton)
{



	return [[[QtPushButton alloc]
	    initWithQPushButton: qPushButton] autorelease];
}

static OF_INLINE QPushButton *
toQt(QtPushButton *pushButton)
{







>
>
>







41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
@end

namespace ObjQt {

static OF_INLINE QtPushButton *
toOF(QPushButton *qPushButton)
{
	if (qPushButton == NULL)
		return nil;

	return [[[QtPushButton alloc]
	    initWithQPushButton: qPushButton] autorelease];
}

static OF_INLINE QPushButton *
toQt(QtPushButton *pushButton)
{