Differences From Artifact [dfc55ef348]:
- File QtCore/QtCoreApplication.h — part of check-in [3ece549448] at 2017-04-15 17:18:52 on branch trunk — Make toOF/toQt more powerful and complete QtWidget (user: js, size: 2091) [annotate] [blame] [check-ins using]
- File
src/QtCore/QtCoreApplication.h
— part of check-in
[baf52ea3b1]
at
2017-04-17 23:25:45
on branch trunk
— Add a proper build system
Also lowers the minimum required Qt version to 5.5. (user: js, size: 2091) [annotate] [blame] [check-ins using]
To Artifact [96e4d8b08f]:
- File src/QtCore/QtCoreApplication.h — part of check-in [860515ac5a] at 2017-05-08 00:11:18 on branch trunk — Update to recent ObjFW changes (user: js, size: 2152) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
26 27 28 29 30 31 32 | @interface QtCoreApplication: QtObject @property (readonly) QCoreApplication *qCoreApplication; @property (copy) OFString *applicationName, *applicationVersion; @property (copy) OFString *organizationDomain, *organizationName; @property (getter=isQuitLockEnabled) bool quitLockEnabled; | > | | | | | | | | 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 | @interface QtCoreApplication: QtObject @property (readonly) QCoreApplication *qCoreApplication; @property (copy) OFString *applicationName, *applicationVersion; @property (copy) OFString *organizationDomain, *organizationName; @property (getter=isQuitLockEnabled) bool quitLockEnabled; - initWithQObject: (QObject *)qObject OF_UNAVAILABLE; - initWithQCoreApplication: (QCoreApplication *)qCoreApplication; - (void)installNativeEventFilter: (QAbstractNativeEventFilter *)filterObject; - (void)quit; - (void)removeNativeEventFilter: (QAbstractNativeEventFilter *)filterObject; - (bool)sendEvent: (QtEvent *)event receiver: (QtObject *)receiver; @end namespace ObjQt { static OF_INLINE QtCoreApplication * toOF(QCoreApplication *qCoreApplication) { return [[[QtCoreApplication alloc] initWithQCoreApplication: qCoreApplication] autorelease]; } static OF_INLINE QCoreApplication * toQt(QtCoreApplication *coreApplication) { return [coreApplication qCoreApplication]; } } |