Differences From Artifact [56fa6f8c8c]:
- File QtWidgets/QtApplication.mm — 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: 3265) [annotate] [blame] [check-ins using]
- File
src/QtWidgets/QtApplication.mm
— 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: 3265) [annotate] [blame] [check-ins using]
To Artifact [579279b5d5]:
- File src/QtWidgets/QtApplication.mm — part of check-in [860515ac5a] at 2017-05-08 00:11:18 on branch trunk — Update to recent ObjFW changes (user: js, size: 3271) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
25 26 27 28 29 30 31 | #import "helpers.h" using ObjQt::toOF; using ObjQt::toQt; @implementation QtApplication | | | | | | 25 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 | #import "helpers.h" using ObjQt::toOF; using ObjQt::toQt; @implementation QtApplication - initWithQGuiApplication: (QGuiApplication *)qGuiApplication { OF_INVALID_INIT_METHOD } - initWithQApplication: (QApplication *)qApplication { return [super initWithQGuiApplication: qApplication]; } - (QApplication *)qApplication { return qobject_cast<QApplication *>(_qObject); } - (bool)autoSIPEnabled { return toQt(self)->autoSipEnabled(); } |
︙ | ︙ | |||
110 111 112 113 114 115 116 | } - (void)setStartDragTime: (int)startDragTime { toQt(self)->setStartDragTime(startDragTime); } | | | | 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 | } - (void)setStartDragTime: (int)startDragTime { toQt(self)->setStartDragTime(startDragTime); } - (OFString *)styleSheet { return toOF(toQt(self)->styleSheet()); } - (void)setStyleSheet: (OFString *)styleSheet { toQt(self)->setStyleSheet(toQt(styleSheet)); } - (int)wheelScrollLines { return toQt(self)->wheelScrollLines(); |
︙ | ︙ |