ObjQt  Diff

Differences From Artifact [16b48401ce]:

To Artifact [dfb9eb98ed]:


25
26
27
28
29
30
31
32

33
34

35
36
37
38
39
40
41
25
26
27
28
29
30
31

32
33

34
35
36
37
38
39
40
41







-
+

-
+







#include <QObject>

using ObjQt::toQt;

@implementation QtPaintDevice
@dynamic qObject;

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

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

72
73
74
75
76
77
78
79

80
81
82
83
84
85
86
72
73
74
75
76
77
78

79
80
81
82
83
84
85
86







-
+







}

- (int)logicalDPIY
{
	return toQt(self)->logicalDpiY();
}

- (QPaintEngine*)paintEngine
- (QPaintEngine *)paintEngine
{
	return toQt(self)->paintEngine();
}

- (bool)paintingActive
{
	return toQt(self)->paintingActive();