Differences From Artifact [9eeffc99c5]:
- File src/QtCore/QtEvent.h — part of check-in [201f28b1d1] at 2017-05-14 00:57:09 on branch trunk — Declare designated initializers (user: js, size: 1891) [annotate] [blame] [check-ins using]
To Artifact [24149a7d9b]:
- File src/QtCore/QtEvent.h — part of check-in [6c336e34d7] at 2017-05-14 01:07:21 on branch trunk — Handle NULL / nil in toOF() / toQt() (user: js, size: 1927) [annotate] [blame] [check-ins using]
︙ | |||
45 46 47 48 49 50 51 52 53 54 55 56 57 58 | 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 | + + + | @end namespace ObjQt { static OF_INLINE QtEvent * toOF(QEvent *qEvent) { if (qEvent == NULL) return nil; return [[[QtEvent alloc] initWithQEvent: qEvent] autorelease]; } static OF_INLINE QEvent * toQt(QtEvent *event) { return [event qEvent]; |
︙ |