Differences From Artifact [f6acd86617]:
- File QtWidgets/QtAction.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: 2796) [annotate] [blame] [check-ins using]
- File
src/QtWidgets/QtAction.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: 2796) [annotate] [blame] [check-ins using]
To Artifact [786b963eba]:
- File src/QtWidgets/QtAction.h — part of check-in [860515ac5a] at 2017-05-08 00:11:18 on branch trunk — Update to recent ObjFW changes (user: js, size: 2862) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
42 43 44 45 46 47 48 | @property Qt::ShortcutContext shortcutContext; @property (copy) OFString *statusTip; @property (copy) OFString *text; @property (copy) OFString *toolTip; @property (getter=isVisible) bool visible; @property (copy) OFString *whatsThis; | > | | | | | | | | | | | | 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 | @property Qt::ShortcutContext shortcutContext; @property (copy) OFString *statusTip; @property (copy) OFString *text; @property (copy) OFString *toolTip; @property (getter=isVisible) bool visible; @property (copy) OFString *whatsThis; - initWithQObject: (QObject *)qObject OF_UNAVAILABLE; - initWithQAction: (QAction *)qAction; - (QActionGroup *)actionGroup; - (void)activate: (QAction::ActionEvent)event; - (QList<QGraphicsWidget *>)associatedGraphicsWidgets; - (OFArray OF_GENERIC(QtWidget *) *)associatedWidgets; - (QVariant)data; - (bool)isSeparator; - (QMenu *)menu; - (QtWidget *)parentWidget; - (void)setActionGroup: (QActionGroup *)group; - (void)setData: (const QVariant&)data; - (void)setMenu: (QMenu *)menu; - (void)setSeparator: (bool)isSeparator; - (void)setShortcuts: (const QList<QKeySequence>&)shortcuts; - (void)setShortcutsWithStandardKey: (QKeySequence::StandardKey)key; - (QList<QKeySequence>)shortcuts; - (bool)showStatusText: (QtWidget *)widget; @end namespace ObjQt { static OF_INLINE QtAction * toOF(QAction *qAction) { return [[[QtAction alloc] initWithQAction: qAction] autorelease]; } static OF_INLINE QAction * toQt(QtAction *action) { return [action qAction]; } } |