Differences From Artifact [3fdad31715]:
- File src/QtCore/QtObject.h — part of check-in [201f28b1d1] at 2017-05-14 00:57:09 on branch trunk — Declare designated initializers (user: js, size: 3473) [annotate] [blame] [check-ins using]
To Artifact [76db7e3c84]:
- File src/QtCore/QtObject.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: 3510) [annotate] [blame] [check-ins using]
︙ | |||
83 84 85 86 87 88 89 90 91 92 93 94 95 96 | 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 | + + + | @end namespace ObjQt { static OF_INLINE QtObject * toOF(QObject *qObject) { if (qObject == NULL) return nil; return [[[QtObject alloc] initWithQObject: qObject] autorelease]; } static OF_INLINE QObject * toQt(QtObject *object) { return [object qObject]; |
︙ |