Differences From Artifact [0274ca44b6]:
- File src/QtWidgets/QtWidget.h — part of check-in [201f28b1d1] at 2017-05-14 00:57:09 on branch trunk — Declare designated initializers (user: js, size: 9412) [annotate] [blame] [check-ins using]
To Artifact [5d9835a3dd]:
- File src/QtWidgets/QtWidget.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: 9449) [annotate] [blame] [check-ins using]
︙ | |||
225 226 227 228 229 230 231 232 233 234 235 236 237 238 | 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 | + + + | @end namespace ObjQt { static OF_INLINE QtWidget * toOF(QWidget *qWidget) { if (qWidget == NULL) return nil; return [[[QtWidget alloc] initWithQWidget: qWidget] autorelease]; } static OF_INLINE QWidget * toQt(QtWidget *widget) { return [widget qWidget]; |
︙ |