ObjQt  Diff

Differences From Artifact [dfb9eb98ed]:

To Artifact [ac42e38a1e]:


27
28
29
30
31
32
33
34

35
36
37
38
39
40
41
27
28
29
30
31
32
33

34
35
36
37
38
39
40
41







-
+







using ObjQt::toQt;

@implementation QtPaintDevice
@dynamic qObject;

- (QPaintDevice *)qPaintDevice
{
	return dynamic_cast<QPaintDevice *>([self qObject]);
	return dynamic_cast<QPaintDevice *>(self.qObject);
}

- (int)colorCount
{
	return toQt(self)->colorCount();
}