Differences From Artifact [a42f7769d7]:
- File src/QtWidgets/QtAction.h — part of check-in [201f28b1d1] at 2017-05-14 00:57:09 on branch trunk — Declare designated initializers (user: js, size: 3093) [annotate] [blame] [check-ins using]
To Artifact [7e60480e14]:
- File src/QtWidgets/QtAction.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: 3130) [annotate] [blame] [check-ins using]
︙ | |||
67 68 69 70 71 72 73 74 75 76 77 78 79 80 | 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 | + + + | @end namespace ObjQt { static OF_INLINE QtAction * toOF(QAction *qAction) { if (qAction == NULL) return nil; return [[[QtAction alloc] initWithQAction: qAction] autorelease]; } static OF_INLINE QAction * toQt(QtAction *action) { return [action qAction]; |
︙ |