Differences From Artifact [16b48401ce]:
- File
src/QtGui/QtPaintDevice.mm
— part of check-in
[baf52ea3b1]
at
2017-04-17 23:25:45
on branch trunk
— Add a proper build system
Also lowers the minimum required Qt version to 5.5. (user: js, size: 2201) [annotate] [blame] [check-ins using]
To Artifact [dfb9eb98ed]:
- File src/QtGui/QtPaintDevice.mm — part of check-in [860515ac5a] at 2017-05-08 00:11:18 on branch trunk — Update to recent ObjFW changes (user: js, size: 2204) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
25 26 27 28 29 30 31 | #include <QObject> using ObjQt::toQt; @implementation QtPaintDevice @dynamic qObject; | | | | 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 { return dynamic_cast<QPaintDevice *>([self qObject]); } - (int)colorCount { return toQt(self)->colorCount(); } |
︙ | ︙ | |||
72 73 74 75 76 77 78 | } - (int)logicalDPIY { return toQt(self)->logicalDpiY(); } | | | 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 | } - (int)logicalDPIY { return toQt(self)->logicalDpiY(); } - (QPaintEngine *)paintEngine { return toQt(self)->paintEngine(); } - (bool)paintingActive { return toQt(self)->paintingActive(); |
︙ | ︙ |