Differences From Artifact [f5a84ec4a3]:
- File src/QtWidgets/QtPushButton.h — part of check-in [201f28b1d1] at 2017-05-14 00:57:09 on branch trunk — Declare designated initializers (user: js, size: 2083) [annotate] [blame] [check-ins using]
To Artifact [0c750e4bdb]:
- File src/QtWidgets/QtPushButton.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: 2124) [annotate] [blame] [check-ins using]
︙ | |||
41 42 43 44 45 46 47 48 49 50 51 52 53 54 | 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 | + + + | @end namespace ObjQt { static OF_INLINE QtPushButton * toOF(QPushButton *qPushButton) { if (qPushButton == NULL) return nil; return [[[QtPushButton alloc] initWithQPushButton: qPushButton] autorelease]; } static OF_INLINE QPushButton * toQt(QtPushButton *pushButton) { |
︙ |