ObjQt  Diff

Differences From Artifact [9c5a288510]:

To Artifact [784db2b371]:


54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
		delete _qObject;

	[super dealloc];
}

- (void)takeOwnership
{
	OF_ENSURE(!_ownsObject);
	_ownsObject = true;
}

- (void)giveUpOwnership
{
	OF_ENSURE(_ownsObject);
	_ownsObject = false;
}

- (OFString *)objectName
{
	return toOF(_qObject->objectName());
}







|





|







54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
		delete _qObject;

	[super dealloc];
}

- (void)takeOwnership
{
	OFEnsure(!_ownsObject);
	_ownsObject = true;
}

- (void)giveUpOwnership
{
	OFEnsure(_ownsObject);
	_ownsObject = false;
}

- (OFString *)objectName
{
	return toOF(_qObject->objectName());
}
237
238
239
240
241
242
243
244
245
246
247
- (QtThread *)thread
{
	return toOF(_qObject->thread());
}

- (void)deleteLater
{
	OF_ENSURE(!_ownsObject);
	_qObject->deleteLater();
}
@end







|



237
238
239
240
241
242
243
244
245
246
247
- (QtThread *)thread
{
	return toOF(_qObject->thread());
}

- (void)deleteLater
{
	OFEnsure(!_ownsObject);
	_qObject->deleteLater();
}
@end