Comment: | Adjust to ObjFW changes |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | trunk |
Files: | files | file ages | folders |
SHA3-256: |
9c69939020d3573683bd3e3df6eb85a7 |
User & Date: | js on 2021-04-29 23:37:37 |
Other Links: | manifest | tags |
2021-04-29
| ||
23:37 | Adjust to ObjFW changes Leaf check-in: 9c69939020 user: js tags: trunk | |
2019-03-15
| ||
00:07 | Use dot syntax check-in: 4ae247a25d user: js tags: trunk | |
Modified src/QtCore/QtEvent.mm from [f106a26f16] to [82e43e6e41].
︙ | |||
50 51 52 53 54 55 56 | 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 | - + - + | delete _qEvent; [super dealloc]; } - (void)takeOwnership { |
︙ |
Modified src/QtCore/QtObject.mm from [9c5a288510] to [784db2b371].
︙ | |||
54 55 56 57 58 59 60 | 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 | - + - + | delete _qObject; [super dealloc]; } - (void)takeOwnership { |
︙ | |||
237 238 239 240 241 242 243 | 237 238 239 240 241 242 243 244 245 246 247 | - + | - (QtThread *)thread { return toOF(_qObject->thread()); } - (void)deleteLater { |
Modified src/QtWidgets/QtAbstractButton.h from [4524430429] to [54866ca7d3].
︙ | |||
30 31 32 33 34 35 36 | 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 | - + | @property (nonatomic) bool autoRepeat; @property (nonatomic) int autoRepeatDelay; @property (nonatomic) int autoRepeatInterval; @property (nonatomic, getter=isCheckable) bool checkable; @property (nonatomic, getter=isChecked) bool checked; @property (nonatomic, getter=isDown) bool down; @property (nonatomic) QIcon icon; |
︙ |
Modified src/QtWidgets/QtAbstractButton.mm from [4e3baa2d62] to [01e461b534].
︙ | |||
120 121 122 123 124 125 126 | 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 | - + - + | } - (void)setIcon: (QIcon)icon { toQt(self)->setIcon(icon); } |
︙ |
Modified src/QtWidgets/QtApplication.h from [40e6864610] to [84effc7b8a].
︙ | |||
25 26 27 28 29 30 31 | 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 | - + | #include <QApplication> @interface QtApplication: QtGUIApplication @property (readonly, nonatomic) QApplication *qApplication; @property (nonatomic) bool autoSIPEnabled; @property (nonatomic) int cursorFlashTime; @property (nonatomic) int doubleClickInterval; |
︙ |
Modified src/QtWidgets/QtApplication.mm from [18996e8953] to [cb2dcdfdc0].
︙ | |||
70 71 72 73 74 75 76 | 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 | - + - + | } - (void)setDoubleClickInterval: (int)doubleClickInterval { toQt(self)->setDoubleClickInterval(doubleClickInterval); } |
︙ |
Modified src/QtWidgets/QtGraphicsWidget.h from [cab64f2316] to [adab7bcf7c].
︙ | |||
31 32 33 34 35 36 37 | 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 58 59 60 | - + - - + + - - + + - - + + | @interface QtGraphicsObject: QtObject @end @interface QtGraphicsWidget: QtGraphicsObject @property (readonly, nonatomic) QGraphicsWidget *qGraphicsWidget; @property (nonatomic) bool autoFillBackground; @property (nonatomic) Qt::FocusPolicy focusPolicy; |
︙ | |||
72 73 74 75 76 77 78 | 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 | - - + + - | - (void)insertActions: (OFArray OF_GENERIC(QtAction *) *)actions before: (QtAction *)before; - (void)paintWindowFrameWithPainter: (QPainter *)painter option: (const QStyleOptionGraphicsItem *)option widget: (QtWidget *)widget; - (void)releaseShortcut: (int)ID; - (void)removeAction: (QtAction *)action; |
︙ |
Modified src/QtWidgets/QtGraphicsWidget.mm from [1af5bd7cf4] to [8d46c8c245].
︙ | |||
64 65 66 67 68 69 70 | 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 | - + - + | } - (void)setFocusPolicy: (Qt::FocusPolicy)focusPolicy { toQt(self)->setFocusPolicy(focusPolicy); } |
︙ | |||
94 95 96 97 98 99 100 | 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 | - + - + - + - + - + - + - + | } - (void)setLayoutDirection: (Qt::LayoutDirection)layoutDirection { toQt(self)->setLayoutDirection(layoutDirection); } |
︙ | |||
201 202 203 204 205 206 207 | 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 | - + - + | } - (void)setStyle: (QStyle *)style { toQt(self)->setStyle(style); } |
︙ | |||
286 287 288 289 290 291 292 | 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 | - + - + - | } - (void)removeAction: (QtAction *)action { toQt(self)->removeAction(toQt(action)); } |
︙ |
Modified src/QtWidgets/QtWidget.h from [c24969fde7] to [9439c45113].
︙ | |||
29 30 31 32 33 34 35 | 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 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 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 | - - + + - - + + - + - + - - + + - + - - - - - + + + + + - + - + - + - + - - + - - - - - + + + - - - - + + + - + - + - + - + - + - + - - + - - - + - - + | @interface QtWidget: QtObject @property (readonly, nonatomic) QWidget *qWidget; @property (nonatomic) bool acceptDrops; @property (copy, nonatomic) OFString *accessibleDescription; @property (copy, nonatomic) OFString *accessibleName; @property (nonatomic) bool autoFillBackground; |
︙ | |||
207 208 209 210 211 212 213 | 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 | - + | - (QStyle *)style; - (bool)testAttribute: (Qt::WidgetAttribute)attribute; - (bool)isUnderMouse; - (void)ungrabGesture: (Qt::GestureType)gesture; - (void)unsetCursor; - (void)unsetLayoutDirection; - (void)unsetLocale; |
︙ |
Modified src/QtWidgets/QtWidget.mm from [dd7b1dee96] to [9522cd6974].
︙ | |||
91 92 93 94 95 96 97 | 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 | - + - + - + | } - (void)setAutoFillBackground: (bool)autoFillBackground { toQt(self)->setAutoFillBackground(autoFillBackground); } |
︙ | |||
171 172 173 174 175 176 177 | 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 | - + - + - + - + | } - (void)setFont: (const QFont &)font { toQt(self)->setFont(font); } |
︙ | |||
261 262 263 264 265 266 267 | 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 | - + - + | } - (void)setMaximumHeight: (int)maximumHeight { toQt(self)->setMaximumHeight(maximumHeight); } |
︙ | |||
296 297 298 299 300 301 302 | 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 | - + - + - + | } - (void)setMinimumHeight: (int)minimumHeight { toQt(self)->setMinimumHeight(minimumHeight); } |
︙ | |||
336 337 338 339 340 341 342 | 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 | - + - + - + - + - + - + - + - + - + | } - (void)setMouseTracking: (bool)mouseTracking { toQt(self)->setMouseTracking(mouseTracking); } |
︙ | |||
608 609 610 611 612 613 614 | 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 | - + - + | } - (QBackingStore *)backingStore { return toQt(self)->backingStore(); } |
︙ | |||
668 669 670 671 672 673 674 | 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 | - + | } - (QPalette::ColorRole)foregroundRole { return toQt(self)->foregroundRole(); } |
︙ | |||
784 785 786 787 788 789 790 | 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 | - - + - + - + - - + - + - + | } - (bool)isWindow { return toQt(self)->isWindow(); } |
︙ | |||
867 868 869 870 871 872 873 | 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 | - + - + - + - + - + - + - - + - - - + - - + | - (void)removeAction: (QtAction *)action { toQt(self)->removeAction(toQt(action)); } - (void)renderIntoPaintDevice: (QtObject <QtPaintDevice> *)target |
︙ | |||
1058 1059 1060 1061 1062 1063 1064 | 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 | - + | } - (void)ungrabGesture: (Qt::GestureType)gesture { toQt(self)->ungrabGesture(gesture); } |
︙ |
Modified src/common/helpers.h from [b31e057a48] to [678ba15fab].
︙ | |||
30 31 32 33 34 35 36 | 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 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 84 85 86 87 | - + - + - + - + - + - + - + - + - + - - + - + - + - + - - + + | #import "QtEvent.h" #import "QtChildEvent.h" #import "QtThread.h" #import "QtWidget.h" namespace ObjQt { |