| 1 | /**************************************************************************** |
| 2 | ** Meta object code from reading C++ file 'qwidgettextcontrol_p.h' |
| 3 | ** |
| 4 | ** Created by: The Qt Meta Object Compiler version 68 (Qt 6.0.0) |
| 5 | ** |
| 6 | ** WARNING! All changes made in this file will be lost! |
| 7 | *****************************************************************************/ |
| 8 | |
| 9 | #include <memory> |
| 10 | #include "widgets/qwidgettextcontrol_p.h" |
| 11 | #include <QtGui/qtextcursor.h> |
| 12 | #include <QtCore/qbytearray.h> |
| 13 | #include <QtCore/qmetatype.h> |
| 14 | #if !defined(Q_MOC_OUTPUT_REVISION) |
| 15 | #error "The header file 'qwidgettextcontrol_p.h' doesn't include <QObject>." |
| 16 | #elif Q_MOC_OUTPUT_REVISION != 68 |
| 17 | #error "This file was generated using the moc from 6.0.0. It" |
| 18 | #error "cannot be used with the include files from this version of Qt." |
| 19 | #error "(The moc has changed too much.)" |
| 20 | #endif |
| 21 | |
| 22 | QT_BEGIN_MOC_NAMESPACE |
| 23 | QT_WARNING_PUSH |
| 24 | QT_WARNING_DISABLE_DEPRECATED |
| 25 | struct qt_meta_stringdata_QWidgetTextControl_t { |
| 26 | const uint offsetsAndSize[130]; |
| 27 | char stringdata0[858]; |
| 28 | }; |
| 29 | #define QT_MOC_LITERAL(ofs, len) \ |
| 30 | uint(offsetof(qt_meta_stringdata_QWidgetTextControl_t, stringdata0) + ofs), len |
| 31 | static const qt_meta_stringdata_QWidgetTextControl_t qt_meta_stringdata_QWidgetTextControl = { |
| 32 | { |
| 33 | QT_MOC_LITERAL(0, 18), // "QWidgetTextControl" |
| 34 | QT_MOC_LITERAL(19, 11), // "textChanged" |
| 35 | QT_MOC_LITERAL(31, 0), // "" |
| 36 | QT_MOC_LITERAL(32, 13), // "undoAvailable" |
| 37 | QT_MOC_LITERAL(46, 1), // "b" |
| 38 | QT_MOC_LITERAL(48, 13), // "redoAvailable" |
| 39 | QT_MOC_LITERAL(62, 24), // "currentCharFormatChanged" |
| 40 | QT_MOC_LITERAL(87, 15), // "QTextCharFormat" |
| 41 | QT_MOC_LITERAL(103, 6), // "format" |
| 42 | QT_MOC_LITERAL(110, 13), // "copyAvailable" |
| 43 | QT_MOC_LITERAL(124, 16), // "selectionChanged" |
| 44 | QT_MOC_LITERAL(141, 21), // "cursorPositionChanged" |
| 45 | QT_MOC_LITERAL(163, 13), // "updateRequest" |
| 46 | QT_MOC_LITERAL(177, 4), // "rect" |
| 47 | QT_MOC_LITERAL(182, 19), // "documentSizeChanged" |
| 48 | QT_MOC_LITERAL(202, 17), // "blockCountChanged" |
| 49 | QT_MOC_LITERAL(220, 13), // "newBlockCount" |
| 50 | QT_MOC_LITERAL(234, 17), // "visibilityRequest" |
| 51 | QT_MOC_LITERAL(252, 17), // "microFocusChanged" |
| 52 | QT_MOC_LITERAL(270, 13), // "linkActivated" |
| 53 | QT_MOC_LITERAL(284, 4), // "link" |
| 54 | QT_MOC_LITERAL(289, 11), // "linkHovered" |
| 55 | QT_MOC_LITERAL(301, 18), // "blockMarkerHovered" |
| 56 | QT_MOC_LITERAL(320, 10), // "QTextBlock" |
| 57 | QT_MOC_LITERAL(331, 5), // "block" |
| 58 | QT_MOC_LITERAL(337, 19), // "modificationChanged" |
| 59 | QT_MOC_LITERAL(357, 1), // "m" |
| 60 | QT_MOC_LITERAL(359, 12), // "setPlainText" |
| 61 | QT_MOC_LITERAL(372, 4), // "text" |
| 62 | QT_MOC_LITERAL(377, 11), // "setMarkdown" |
| 63 | QT_MOC_LITERAL(389, 7), // "setHtml" |
| 64 | QT_MOC_LITERAL(397, 3), // "cut" |
| 65 | QT_MOC_LITERAL(401, 4), // "copy" |
| 66 | QT_MOC_LITERAL(406, 5), // "paste" |
| 67 | QT_MOC_LITERAL(412, 16), // "QClipboard::Mode" |
| 68 | QT_MOC_LITERAL(429, 4), // "mode" |
| 69 | QT_MOC_LITERAL(434, 4), // "undo" |
| 70 | QT_MOC_LITERAL(439, 4), // "redo" |
| 71 | QT_MOC_LITERAL(444, 5), // "clear" |
| 72 | QT_MOC_LITERAL(450, 9), // "selectAll" |
| 73 | QT_MOC_LITERAL(460, 15), // "insertPlainText" |
| 74 | QT_MOC_LITERAL(476, 10), // "insertHtml" |
| 75 | QT_MOC_LITERAL(487, 6), // "append" |
| 76 | QT_MOC_LITERAL(494, 10), // "appendHtml" |
| 77 | QT_MOC_LITERAL(505, 4), // "html" |
| 78 | QT_MOC_LITERAL(510, 15), // "appendPlainText" |
| 79 | QT_MOC_LITERAL(526, 10), // "adjustSize" |
| 80 | QT_MOC_LITERAL(537, 38), // "_q_updateCurrentCharFormatAnd..." |
| 81 | QT_MOC_LITERAL(576, 23), // "_q_emitCursorPosChanged" |
| 82 | QT_MOC_LITERAL(600, 11), // "QTextCursor" |
| 83 | QT_MOC_LITERAL(612, 17), // "_q_deleteSelected" |
| 84 | QT_MOC_LITERAL(630, 11), // "_q_copyLink" |
| 85 | QT_MOC_LITERAL(642, 14), // "_q_updateBlock" |
| 86 | QT_MOC_LITERAL(657, 24), // "_q_documentLayoutChanged" |
| 87 | QT_MOC_LITERAL(682, 18), // "_q_contentsChanged" |
| 88 | QT_MOC_LITERAL(701, 12), // "loadResource" |
| 89 | QT_MOC_LITERAL(714, 4), // "type" |
| 90 | QT_MOC_LITERAL(719, 4), // "name" |
| 91 | QT_MOC_LITERAL(724, 13), // "overwriteMode" |
| 92 | QT_MOC_LITERAL(738, 14), // "acceptRichText" |
| 93 | QT_MOC_LITERAL(753, 11), // "cursorWidth" |
| 94 | QT_MOC_LITERAL(765, 20), // "textInteractionFlags" |
| 95 | QT_MOC_LITERAL(786, 24), // "Qt::TextInteractionFlags" |
| 96 | QT_MOC_LITERAL(811, 17), // "openExternalLinks" |
| 97 | QT_MOC_LITERAL(829, 28) // "ignoreUnusedNavigationEvents" |
| 98 | |
| 99 | }, |
| 100 | "QWidgetTextControl\0textChanged\0\0" |
| 101 | "undoAvailable\0b\0redoAvailable\0" |
| 102 | "currentCharFormatChanged\0QTextCharFormat\0" |
| 103 | "format\0copyAvailable\0selectionChanged\0" |
| 104 | "cursorPositionChanged\0updateRequest\0" |
| 105 | "rect\0documentSizeChanged\0blockCountChanged\0" |
| 106 | "newBlockCount\0visibilityRequest\0" |
| 107 | "microFocusChanged\0linkActivated\0link\0" |
| 108 | "linkHovered\0blockMarkerHovered\0" |
| 109 | "QTextBlock\0block\0modificationChanged\0" |
| 110 | "m\0setPlainText\0text\0setMarkdown\0setHtml\0" |
| 111 | "cut\0copy\0paste\0QClipboard::Mode\0mode\0" |
| 112 | "undo\0redo\0clear\0selectAll\0insertPlainText\0" |
| 113 | "insertHtml\0append\0appendHtml\0html\0" |
| 114 | "appendPlainText\0adjustSize\0" |
| 115 | "_q_updateCurrentCharFormatAndSelection\0" |
| 116 | "_q_emitCursorPosChanged\0QTextCursor\0" |
| 117 | "_q_deleteSelected\0_q_copyLink\0" |
| 118 | "_q_updateBlock\0_q_documentLayoutChanged\0" |
| 119 | "_q_contentsChanged\0loadResource\0type\0" |
| 120 | "name\0overwriteMode\0acceptRichText\0" |
| 121 | "cursorWidth\0textInteractionFlags\0" |
| 122 | "Qt::TextInteractionFlags\0openExternalLinks\0" |
| 123 | "ignoreUnusedNavigationEvents" |
| 124 | }; |
| 125 | #undef QT_MOC_LITERAL |
| 126 | |
| 127 | static const uint qt_meta_data_QWidgetTextControl[] = { |
| 128 | |
| 129 | // content: |
| 130 | 9, // revision |
| 131 | 0, // classname |
| 132 | 0, 0, // classinfo |
| 133 | 42, 14, // methods |
| 134 | 7, 364, // properties |
| 135 | 0, 0, // enums/sets |
| 136 | 0, 0, // constructors |
| 137 | 0, // flags |
| 138 | 17, // signalCount |
| 139 | |
| 140 | // signals: name, argc, parameters, tag, flags, initial metatype offsets |
| 141 | 1, 0, 266, 2, 0x06, 7 /* Public */, |
| 142 | 3, 1, 267, 2, 0x06, 8 /* Public */, |
| 143 | 5, 1, 270, 2, 0x06, 10 /* Public */, |
| 144 | 6, 1, 273, 2, 0x06, 12 /* Public */, |
| 145 | 9, 1, 276, 2, 0x06, 14 /* Public */, |
| 146 | 10, 0, 279, 2, 0x06, 16 /* Public */, |
| 147 | 11, 0, 280, 2, 0x06, 17 /* Public */, |
| 148 | 12, 1, 281, 2, 0x06, 18 /* Public */, |
| 149 | 12, 0, 284, 2, 0x26, 20 /* Public | MethodCloned */, |
| 150 | 14, 1, 285, 2, 0x06, 21 /* Public */, |
| 151 | 15, 1, 288, 2, 0x06, 23 /* Public */, |
| 152 | 17, 1, 291, 2, 0x06, 25 /* Public */, |
| 153 | 18, 0, 294, 2, 0x06, 27 /* Public */, |
| 154 | 19, 1, 295, 2, 0x06, 28 /* Public */, |
| 155 | 21, 1, 298, 2, 0x06, 30 /* Public */, |
| 156 | 22, 1, 301, 2, 0x06, 32 /* Public */, |
| 157 | 25, 1, 304, 2, 0x06, 34 /* Public */, |
| 158 | |
| 159 | // slots: name, argc, parameters, tag, flags, initial metatype offsets |
| 160 | 27, 1, 307, 2, 0x0a, 36 /* Public */, |
| 161 | 29, 1, 310, 2, 0x0a, 38 /* Public */, |
| 162 | 30, 1, 313, 2, 0x0a, 40 /* Public */, |
| 163 | 31, 0, 316, 2, 0x0a, 42 /* Public */, |
| 164 | 32, 0, 317, 2, 0x0a, 43 /* Public */, |
| 165 | 33, 1, 318, 2, 0x0a, 44 /* Public */, |
| 166 | 33, 0, 321, 2, 0x2a, 46 /* Public | MethodCloned */, |
| 167 | 36, 0, 322, 2, 0x0a, 47 /* Public */, |
| 168 | 37, 0, 323, 2, 0x0a, 48 /* Public */, |
| 169 | 38, 0, 324, 2, 0x0a, 49 /* Public */, |
| 170 | 39, 0, 325, 2, 0x0a, 50 /* Public */, |
| 171 | 40, 1, 326, 2, 0x0a, 51 /* Public */, |
| 172 | 41, 1, 329, 2, 0x0a, 53 /* Public */, |
| 173 | 42, 1, 332, 2, 0x0a, 55 /* Public */, |
| 174 | 43, 1, 335, 2, 0x0a, 57 /* Public */, |
| 175 | 45, 1, 338, 2, 0x0a, 59 /* Public */, |
| 176 | 46, 0, 341, 2, 0x0a, 61 /* Public */, |
| 177 | 47, 0, 342, 2, 0x08, 62 /* Private */, |
| 178 | 48, 1, 343, 2, 0x08, 63 /* Private */, |
| 179 | 50, 0, 346, 2, 0x08, 65 /* Private */, |
| 180 | 51, 0, 347, 2, 0x08, 66 /* Private */, |
| 181 | 52, 1, 348, 2, 0x08, 67 /* Private */, |
| 182 | 53, 0, 351, 2, 0x08, 69 /* Private */, |
| 183 | 54, 3, 352, 2, 0x08, 70 /* Private */, |
| 184 | |
| 185 | // methods: name, argc, parameters, tag, flags, initial metatype offsets |
| 186 | 55, 2, 359, 2, 0x02, 74 /* Public */, |
| 187 | |
| 188 | // signals: parameters |
| 189 | QMetaType::Void, |
| 190 | QMetaType::Void, QMetaType::Bool, 4, |
| 191 | QMetaType::Void, QMetaType::Bool, 4, |
| 192 | QMetaType::Void, 0x80000000 | 7, 8, |
| 193 | QMetaType::Void, QMetaType::Bool, 4, |
| 194 | QMetaType::Void, |
| 195 | QMetaType::Void, |
| 196 | QMetaType::Void, QMetaType::QRectF, 13, |
| 197 | QMetaType::Void, |
| 198 | QMetaType::Void, QMetaType::QSizeF, 2, |
| 199 | QMetaType::Void, QMetaType::Int, 16, |
| 200 | QMetaType::Void, QMetaType::QRectF, 13, |
| 201 | QMetaType::Void, |
| 202 | QMetaType::Void, QMetaType::QString, 20, |
| 203 | QMetaType::Void, QMetaType::QString, 2, |
| 204 | QMetaType::Void, 0x80000000 | 23, 24, |
| 205 | QMetaType::Void, QMetaType::Bool, 26, |
| 206 | |
| 207 | // slots: parameters |
| 208 | QMetaType::Void, QMetaType::QString, 28, |
| 209 | QMetaType::Void, QMetaType::QString, 28, |
| 210 | QMetaType::Void, QMetaType::QString, 28, |
| 211 | QMetaType::Void, |
| 212 | QMetaType::Void, |
| 213 | QMetaType::Void, 0x80000000 | 34, 35, |
| 214 | QMetaType::Void, |
| 215 | QMetaType::Void, |
| 216 | QMetaType::Void, |
| 217 | QMetaType::Void, |
| 218 | QMetaType::Void, |
| 219 | QMetaType::Void, QMetaType::QString, 28, |
| 220 | QMetaType::Void, QMetaType::QString, 28, |
| 221 | QMetaType::Void, QMetaType::QString, 28, |
| 222 | QMetaType::Void, QMetaType::QString, 44, |
| 223 | QMetaType::Void, QMetaType::QString, 28, |
| 224 | QMetaType::Void, |
| 225 | QMetaType::Void, |
| 226 | QMetaType::Void, 0x80000000 | 49, 2, |
| 227 | QMetaType::Void, |
| 228 | QMetaType::Void, |
| 229 | QMetaType::Void, 0x80000000 | 23, 2, |
| 230 | QMetaType::Void, |
| 231 | QMetaType::Void, QMetaType::Int, QMetaType::Int, QMetaType::Int, 2, 2, 2, |
| 232 | |
| 233 | // methods: parameters |
| 234 | QMetaType::QVariant, QMetaType::Int, QMetaType::QUrl, 56, 57, |
| 235 | |
| 236 | // properties: name, type, flags |
| 237 | 44, QMetaType::QString, 0x00115103, uint(0), 0, |
| 238 | 58, QMetaType::Bool, 0x00015103, uint(-1), 0, |
| 239 | 59, QMetaType::Bool, 0x00015103, uint(-1), 0, |
| 240 | 60, QMetaType::Int, 0x00015103, uint(-1), 0, |
| 241 | 61, 0x80000000 | 62, 0x0001510b, uint(-1), 0, |
| 242 | 63, QMetaType::Bool, 0x00015103, uint(-1), 0, |
| 243 | 64, QMetaType::Bool, 0x00015103, uint(-1), 0, |
| 244 | |
| 245 | 0 // eod |
| 246 | }; |
| 247 | |
| 248 | void QWidgetTextControl::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) |
| 249 | { |
| 250 | if (_c == QMetaObject::InvokeMetaMethod) { |
| 251 | Q_ASSERT(staticMetaObject.cast(_o)); |
| 252 | auto *_t = static_cast<QWidgetTextControl *>(_o); |
| 253 | Q_UNUSED(_t) |
| 254 | switch (_id) { |
| 255 | case 0: _t->textChanged(); break; |
| 256 | case 1: _t->undoAvailable((*reinterpret_cast< bool(*)>(_a[1]))); break; |
| 257 | case 2: _t->redoAvailable((*reinterpret_cast< bool(*)>(_a[1]))); break; |
| 258 | case 3: _t->currentCharFormatChanged((*reinterpret_cast< const QTextCharFormat(*)>(_a[1]))); break; |
| 259 | case 4: _t->copyAvailable((*reinterpret_cast< bool(*)>(_a[1]))); break; |
| 260 | case 5: _t->selectionChanged(); break; |
| 261 | case 6: _t->cursorPositionChanged(); break; |
| 262 | case 7: _t->updateRequest((*reinterpret_cast< const QRectF(*)>(_a[1]))); break; |
| 263 | case 8: _t->updateRequest(); break; |
| 264 | case 9: _t->documentSizeChanged((*reinterpret_cast< const QSizeF(*)>(_a[1]))); break; |
| 265 | case 10: _t->blockCountChanged((*reinterpret_cast< int(*)>(_a[1]))); break; |
| 266 | case 11: _t->visibilityRequest((*reinterpret_cast< const QRectF(*)>(_a[1]))); break; |
| 267 | case 12: _t->microFocusChanged(); break; |
| 268 | case 13: _t->linkActivated((*reinterpret_cast< const QString(*)>(_a[1]))); break; |
| 269 | case 14: _t->linkHovered((*reinterpret_cast< const QString(*)>(_a[1]))); break; |
| 270 | case 15: _t->blockMarkerHovered((*reinterpret_cast< const QTextBlock(*)>(_a[1]))); break; |
| 271 | case 16: _t->modificationChanged((*reinterpret_cast< bool(*)>(_a[1]))); break; |
| 272 | case 17: _t->setPlainText((*reinterpret_cast< const QString(*)>(_a[1]))); break; |
| 273 | case 18: _t->setMarkdown((*reinterpret_cast< const QString(*)>(_a[1]))); break; |
| 274 | case 19: _t->setHtml((*reinterpret_cast< const QString(*)>(_a[1]))); break; |
| 275 | case 20: _t->cut(); break; |
| 276 | case 21: _t->copy(); break; |
| 277 | case 22: _t->paste((*reinterpret_cast< QClipboard::Mode(*)>(_a[1]))); break; |
| 278 | case 23: _t->paste(); break; |
| 279 | case 24: _t->undo(); break; |
| 280 | case 25: _t->redo(); break; |
| 281 | case 26: _t->clear(); break; |
| 282 | case 27: _t->selectAll(); break; |
| 283 | case 28: _t->insertPlainText((*reinterpret_cast< const QString(*)>(_a[1]))); break; |
| 284 | case 29: _t->insertHtml((*reinterpret_cast< const QString(*)>(_a[1]))); break; |
| 285 | case 30: _t->append((*reinterpret_cast< const QString(*)>(_a[1]))); break; |
| 286 | case 31: _t->appendHtml((*reinterpret_cast< const QString(*)>(_a[1]))); break; |
| 287 | case 32: _t->appendPlainText((*reinterpret_cast< const QString(*)>(_a[1]))); break; |
| 288 | case 33: _t->adjustSize(); break; |
| 289 | case 34: _t->d_func()->_q_updateCurrentCharFormatAndSelection(); break; |
| 290 | case 35: _t->d_func()->_q_emitCursorPosChanged((*reinterpret_cast< const QTextCursor(*)>(_a[1]))); break; |
| 291 | case 36: _t->d_func()->_q_deleteSelected(); break; |
| 292 | case 37: _t->d_func()->_q_copyLink(); break; |
| 293 | case 38: _t->d_func()->_q_updateBlock((*reinterpret_cast< const QTextBlock(*)>(_a[1]))); break; |
| 294 | case 39: _t->d_func()->_q_documentLayoutChanged(); break; |
| 295 | case 40: _t->d_func()->_q_contentsChanged((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break; |
| 296 | case 41: { QVariant _r = _t->loadResource((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< const QUrl(*)>(_a[2]))); |
| 297 | if (_a[0]) *reinterpret_cast< QVariant*>(_a[0]) = std::move(_r); } break; |
| 298 | default: ; |
| 299 | } |
| 300 | } else if (_c == QMetaObject::IndexOfMethod) { |
| 301 | int *result = reinterpret_cast<int *>(_a[0]); |
| 302 | { |
| 303 | using _t = void (QWidgetTextControl::*)(); |
| 304 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QWidgetTextControl::textChanged)) { |
| 305 | *result = 0; |
| 306 | return; |
| 307 | } |
| 308 | } |
| 309 | { |
| 310 | using _t = void (QWidgetTextControl::*)(bool ); |
| 311 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QWidgetTextControl::undoAvailable)) { |
| 312 | *result = 1; |
| 313 | return; |
| 314 | } |
| 315 | } |
| 316 | { |
| 317 | using _t = void (QWidgetTextControl::*)(bool ); |
| 318 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QWidgetTextControl::redoAvailable)) { |
| 319 | *result = 2; |
| 320 | return; |
| 321 | } |
| 322 | } |
| 323 | { |
| 324 | using _t = void (QWidgetTextControl::*)(const QTextCharFormat & ); |
| 325 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QWidgetTextControl::currentCharFormatChanged)) { |
| 326 | *result = 3; |
| 327 | return; |
| 328 | } |
| 329 | } |
| 330 | { |
| 331 | using _t = void (QWidgetTextControl::*)(bool ); |
| 332 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QWidgetTextControl::copyAvailable)) { |
| 333 | *result = 4; |
| 334 | return; |
| 335 | } |
| 336 | } |
| 337 | { |
| 338 | using _t = void (QWidgetTextControl::*)(); |
| 339 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QWidgetTextControl::selectionChanged)) { |
| 340 | *result = 5; |
| 341 | return; |
| 342 | } |
| 343 | } |
| 344 | { |
| 345 | using _t = void (QWidgetTextControl::*)(); |
| 346 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QWidgetTextControl::cursorPositionChanged)) { |
| 347 | *result = 6; |
| 348 | return; |
| 349 | } |
| 350 | } |
| 351 | { |
| 352 | using _t = void (QWidgetTextControl::*)(const QRectF & ); |
| 353 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QWidgetTextControl::updateRequest)) { |
| 354 | *result = 7; |
| 355 | return; |
| 356 | } |
| 357 | } |
| 358 | { |
| 359 | using _t = void (QWidgetTextControl::*)(const QSizeF & ); |
| 360 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QWidgetTextControl::documentSizeChanged)) { |
| 361 | *result = 9; |
| 362 | return; |
| 363 | } |
| 364 | } |
| 365 | { |
| 366 | using _t = void (QWidgetTextControl::*)(int ); |
| 367 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QWidgetTextControl::blockCountChanged)) { |
| 368 | *result = 10; |
| 369 | return; |
| 370 | } |
| 371 | } |
| 372 | { |
| 373 | using _t = void (QWidgetTextControl::*)(const QRectF & ); |
| 374 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QWidgetTextControl::visibilityRequest)) { |
| 375 | *result = 11; |
| 376 | return; |
| 377 | } |
| 378 | } |
| 379 | { |
| 380 | using _t = void (QWidgetTextControl::*)(); |
| 381 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QWidgetTextControl::microFocusChanged)) { |
| 382 | *result = 12; |
| 383 | return; |
| 384 | } |
| 385 | } |
| 386 | { |
| 387 | using _t = void (QWidgetTextControl::*)(const QString & ); |
| 388 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QWidgetTextControl::linkActivated)) { |
| 389 | *result = 13; |
| 390 | return; |
| 391 | } |
| 392 | } |
| 393 | { |
| 394 | using _t = void (QWidgetTextControl::*)(const QString & ); |
| 395 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QWidgetTextControl::linkHovered)) { |
| 396 | *result = 14; |
| 397 | return; |
| 398 | } |
| 399 | } |
| 400 | { |
| 401 | using _t = void (QWidgetTextControl::*)(const QTextBlock & ); |
| 402 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QWidgetTextControl::blockMarkerHovered)) { |
| 403 | *result = 15; |
| 404 | return; |
| 405 | } |
| 406 | } |
| 407 | { |
| 408 | using _t = void (QWidgetTextControl::*)(bool ); |
| 409 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QWidgetTextControl::modificationChanged)) { |
| 410 | *result = 16; |
| 411 | return; |
| 412 | } |
| 413 | } |
| 414 | } |
| 415 | #ifndef QT_NO_PROPERTIES |
| 416 | else if (_c == QMetaObject::ReadProperty) { |
| 417 | Q_ASSERT(staticMetaObject.cast(_o)); |
| 418 | auto *_t = static_cast<QWidgetTextControl *>(_o); |
| 419 | Q_UNUSED(_t) |
| 420 | void *_v = _a[0]; |
| 421 | switch (_id) { |
| 422 | case 0: *reinterpret_cast< QString*>(_v) = _t->toHtml(); break; |
| 423 | case 1: *reinterpret_cast< bool*>(_v) = _t->overwriteMode(); break; |
| 424 | case 2: *reinterpret_cast< bool*>(_v) = _t->acceptRichText(); break; |
| 425 | case 3: *reinterpret_cast< int*>(_v) = _t->cursorWidth(); break; |
| 426 | case 4: *reinterpret_cast< Qt::TextInteractionFlags*>(_v) = _t->textInteractionFlags(); break; |
| 427 | case 5: *reinterpret_cast< bool*>(_v) = _t->openExternalLinks(); break; |
| 428 | case 6: *reinterpret_cast< bool*>(_v) = _t->ignoreUnusedNavigationEvents(); break; |
| 429 | default: break; |
| 430 | } |
| 431 | } else if (_c == QMetaObject::WriteProperty) { |
| 432 | Q_ASSERT(staticMetaObject.cast(_o)); |
| 433 | auto *_t = static_cast<QWidgetTextControl *>(_o); |
| 434 | Q_UNUSED(_t) |
| 435 | void *_v = _a[0]; |
| 436 | switch (_id) { |
| 437 | case 0: _t->setHtml(*reinterpret_cast< QString*>(_v)); break; |
| 438 | case 1: _t->setOverwriteMode(*reinterpret_cast< bool*>(_v)); break; |
| 439 | case 2: _t->setAcceptRichText(*reinterpret_cast< bool*>(_v)); break; |
| 440 | case 3: _t->setCursorWidth(*reinterpret_cast< int*>(_v)); break; |
| 441 | case 4: _t->setTextInteractionFlags(*reinterpret_cast< Qt::TextInteractionFlags*>(_v)); break; |
| 442 | case 5: _t->setOpenExternalLinks(*reinterpret_cast< bool*>(_v)); break; |
| 443 | case 6: _t->setIgnoreUnusedNavigationEvents(*reinterpret_cast< bool*>(_v)); break; |
| 444 | default: break; |
| 445 | } |
| 446 | } else if (_c == QMetaObject::ResetProperty) { |
| 447 | } else if (_c == QMetaObject::BindableProperty) { |
| 448 | } |
| 449 | #endif // QT_NO_PROPERTIES |
| 450 | } |
| 451 | |
| 452 | const QMetaObject QWidgetTextControl::staticMetaObject = { { |
| 453 | QMetaObject::SuperData::link<QInputControl::staticMetaObject>(), |
| 454 | qt_meta_stringdata_QWidgetTextControl.offsetsAndSize, |
| 455 | qt_meta_data_QWidgetTextControl, |
| 456 | qt_static_metacall, |
| 457 | nullptr, |
| 458 | qt_incomplete_metaTypeArray<qt_meta_stringdata_QWidgetTextControl_t |
| 459 | , QtPrivate::TypeAndForceComplete<QString, std::true_type>, QtPrivate::TypeAndForceComplete<bool, std::true_type>, QtPrivate::TypeAndForceComplete<bool, std::true_type>, QtPrivate::TypeAndForceComplete<int, std::true_type>, QtPrivate::TypeAndForceComplete<Qt::TextInteractionFlags, std::true_type>, QtPrivate::TypeAndForceComplete<bool, std::true_type>, QtPrivate::TypeAndForceComplete<bool, std::true_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<bool, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<bool, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QTextCharFormat &, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<bool, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QRectF &, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QSizeF &, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<int, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QRectF &, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QString &, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QString &, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QTextBlock &, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<bool, std::false_type> |
| 460 | , QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QString &, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QString &, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QString &, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<QClipboard::Mode, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QString &, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QString &, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QString &, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QString &, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QString &, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QTextCursor &, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QTextBlock &, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<int, std::false_type>, QtPrivate::TypeAndForceComplete<int, std::false_type>, QtPrivate::TypeAndForceComplete<int, std::false_type> |
| 461 | , QtPrivate::TypeAndForceComplete<QVariant, std::false_type>, QtPrivate::TypeAndForceComplete<int, std::false_type>, QtPrivate::TypeAndForceComplete<const QUrl &, std::false_type> |
| 462 | |
| 463 | >, |
| 464 | nullptr |
| 465 | } }; |
| 466 | |
| 467 | |
| 468 | const QMetaObject *QWidgetTextControl::metaObject() const |
| 469 | { |
| 470 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; |
| 471 | } |
| 472 | |
| 473 | void *QWidgetTextControl::qt_metacast(const char *_clname) |
| 474 | { |
| 475 | if (!_clname) return nullptr; |
| 476 | if (!strcmp(_clname, qt_meta_stringdata_QWidgetTextControl.stringdata0)) |
| 477 | return static_cast<void*>(this); |
| 478 | return QInputControl::qt_metacast(_clname); |
| 479 | } |
| 480 | |
| 481 | int QWidgetTextControl::qt_metacall(QMetaObject::Call _c, int _id, void **_a) |
| 482 | { |
| 483 | _id = QInputControl::qt_metacall(_c, _id, _a); |
| 484 | if (_id < 0) |
| 485 | return _id; |
| 486 | if (_c == QMetaObject::InvokeMetaMethod) { |
| 487 | if (_id < 42) |
| 488 | qt_static_metacall(this, _c, _id, _a); |
| 489 | _id -= 42; |
| 490 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { |
| 491 | if (_id < 42) |
| 492 | *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); |
| 493 | _id -= 42; |
| 494 | } |
| 495 | #ifndef QT_NO_PROPERTIES |
| 496 | else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty |
| 497 | || _c == QMetaObject::ResetProperty || _c == QMetaObject::BindableProperty |
| 498 | || _c == QMetaObject::RegisterPropertyMetaType) { |
| 499 | qt_static_metacall(this, _c, _id, _a); |
| 500 | _id -= 7; |
| 501 | } |
| 502 | #endif // QT_NO_PROPERTIES |
| 503 | return _id; |
| 504 | } |
| 505 | |
| 506 | // SIGNAL 0 |
| 507 | void QWidgetTextControl::textChanged() |
| 508 | { |
| 509 | QMetaObject::activate(this, &staticMetaObject, 0, nullptr); |
| 510 | } |
| 511 | |
| 512 | // SIGNAL 1 |
| 513 | void QWidgetTextControl::undoAvailable(bool _t1) |
| 514 | { |
| 515 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) }; |
| 516 | QMetaObject::activate(this, &staticMetaObject, 1, _a); |
| 517 | } |
| 518 | |
| 519 | // SIGNAL 2 |
| 520 | void QWidgetTextControl::redoAvailable(bool _t1) |
| 521 | { |
| 522 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) }; |
| 523 | QMetaObject::activate(this, &staticMetaObject, 2, _a); |
| 524 | } |
| 525 | |
| 526 | // SIGNAL 3 |
| 527 | void QWidgetTextControl::currentCharFormatChanged(const QTextCharFormat & _t1) |
| 528 | { |
| 529 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) }; |
| 530 | QMetaObject::activate(this, &staticMetaObject, 3, _a); |
| 531 | } |
| 532 | |
| 533 | // SIGNAL 4 |
| 534 | void QWidgetTextControl::copyAvailable(bool _t1) |
| 535 | { |
| 536 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) }; |
| 537 | QMetaObject::activate(this, &staticMetaObject, 4, _a); |
| 538 | } |
| 539 | |
| 540 | // SIGNAL 5 |
| 541 | void QWidgetTextControl::selectionChanged() |
| 542 | { |
| 543 | QMetaObject::activate(this, &staticMetaObject, 5, nullptr); |
| 544 | } |
| 545 | |
| 546 | // SIGNAL 6 |
| 547 | void QWidgetTextControl::cursorPositionChanged() |
| 548 | { |
| 549 | QMetaObject::activate(this, &staticMetaObject, 6, nullptr); |
| 550 | } |
| 551 | |
| 552 | // SIGNAL 7 |
| 553 | void QWidgetTextControl::updateRequest(const QRectF & _t1) |
| 554 | { |
| 555 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) }; |
| 556 | QMetaObject::activate(this, &staticMetaObject, 7, _a); |
| 557 | } |
| 558 | |
| 559 | // SIGNAL 9 |
| 560 | void QWidgetTextControl::documentSizeChanged(const QSizeF & _t1) |
| 561 | { |
| 562 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) }; |
| 563 | QMetaObject::activate(this, &staticMetaObject, 9, _a); |
| 564 | } |
| 565 | |
| 566 | // SIGNAL 10 |
| 567 | void QWidgetTextControl::blockCountChanged(int _t1) |
| 568 | { |
| 569 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) }; |
| 570 | QMetaObject::activate(this, &staticMetaObject, 10, _a); |
| 571 | } |
| 572 | |
| 573 | // SIGNAL 11 |
| 574 | void QWidgetTextControl::visibilityRequest(const QRectF & _t1) |
| 575 | { |
| 576 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) }; |
| 577 | QMetaObject::activate(this, &staticMetaObject, 11, _a); |
| 578 | } |
| 579 | |
| 580 | // SIGNAL 12 |
| 581 | void QWidgetTextControl::microFocusChanged() |
| 582 | { |
| 583 | QMetaObject::activate(this, &staticMetaObject, 12, nullptr); |
| 584 | } |
| 585 | |
| 586 | // SIGNAL 13 |
| 587 | void QWidgetTextControl::linkActivated(const QString & _t1) |
| 588 | { |
| 589 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) }; |
| 590 | QMetaObject::activate(this, &staticMetaObject, 13, _a); |
| 591 | } |
| 592 | |
| 593 | // SIGNAL 14 |
| 594 | void QWidgetTextControl::linkHovered(const QString & _t1) |
| 595 | { |
| 596 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) }; |
| 597 | QMetaObject::activate(this, &staticMetaObject, 14, _a); |
| 598 | } |
| 599 | |
| 600 | // SIGNAL 15 |
| 601 | void QWidgetTextControl::blockMarkerHovered(const QTextBlock & _t1) |
| 602 | { |
| 603 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) }; |
| 604 | QMetaObject::activate(this, &staticMetaObject, 15, _a); |
| 605 | } |
| 606 | |
| 607 | // SIGNAL 16 |
| 608 | void QWidgetTextControl::modificationChanged(bool _t1) |
| 609 | { |
| 610 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) }; |
| 611 | QMetaObject::activate(this, &staticMetaObject, 16, _a); |
| 612 | } |
| 613 | struct { |
| 614 | const uint offsetsAndSize[6]; |
| 615 | char [50]; |
| 616 | }; |
| 617 | #define QT_MOC_LITERAL(ofs, len) \ |
| 618 | uint(offsetof(qt_meta_stringdata_QUnicodeControlCharacterMenu_t, stringdata0) + ofs), len |
| 619 | static const qt_meta_stringdata_QUnicodeControlCharacterMenu_t = { |
| 620 | { |
| 621 | QT_MOC_LITERAL(0, 28), // "QUnicodeControlCharacterMenu" |
| 622 | QT_MOC_LITERAL(29, 19), // "menuActionTriggered" |
| 623 | QT_MOC_LITERAL(49, 0) // "" |
| 624 | |
| 625 | }, |
| 626 | "QUnicodeControlCharacterMenu\0" |
| 627 | "menuActionTriggered\0" |
| 628 | }; |
| 629 | #undef QT_MOC_LITERAL |
| 630 | |
| 631 | static const uint [] = { |
| 632 | |
| 633 | // content: |
| 634 | 9, // revision |
| 635 | 0, // classname |
| 636 | 0, 0, // classinfo |
| 637 | 1, 14, // methods |
| 638 | 0, 0, // properties |
| 639 | 0, 0, // enums/sets |
| 640 | 0, 0, // constructors |
| 641 | 0, // flags |
| 642 | 0, // signalCount |
| 643 | |
| 644 | // slots: name, argc, parameters, tag, flags, initial metatype offsets |
| 645 | 1, 0, 20, 2, 0x08, 0 /* Private */, |
| 646 | |
| 647 | // slots: parameters |
| 648 | QMetaType::Void, |
| 649 | |
| 650 | 0 // eod |
| 651 | }; |
| 652 | |
| 653 | void QUnicodeControlCharacterMenu::(QObject *_o, QMetaObject::Call _c, int _id, void **_a) |
| 654 | { |
| 655 | if (_c == QMetaObject::InvokeMetaMethod) { |
| 656 | Q_ASSERT(staticMetaObject.cast(_o)); |
| 657 | auto *_t = static_cast<QUnicodeControlCharacterMenu *>(_o); |
| 658 | Q_UNUSED(_t) |
| 659 | switch (_id) { |
| 660 | case 0: _t->menuActionTriggered(); break; |
| 661 | default: ; |
| 662 | } |
| 663 | } |
| 664 | Q_UNUSED(_a); |
| 665 | } |
| 666 | |
| 667 | const QMetaObject QUnicodeControlCharacterMenu:: = { { |
| 668 | QMetaObject::SuperData::link<QMenu::staticMetaObject>(), |
| 669 | qt_meta_stringdata_QUnicodeControlCharacterMenu.offsetsAndSize, |
| 670 | qt_meta_data_QUnicodeControlCharacterMenu, |
| 671 | qt_static_metacall, |
| 672 | nullptr, |
| 673 | qt_incomplete_metaTypeArray<qt_meta_stringdata_QUnicodeControlCharacterMenu_t |
| 674 | |
| 675 | , QtPrivate::TypeAndForceComplete<void, std::false_type> |
| 676 | |
| 677 | |
| 678 | >, |
| 679 | nullptr |
| 680 | } }; |
| 681 | |
| 682 | |
| 683 | const QMetaObject *QUnicodeControlCharacterMenu::() const |
| 684 | { |
| 685 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; |
| 686 | } |
| 687 | |
| 688 | void *QUnicodeControlCharacterMenu::(const char *_clname) |
| 689 | { |
| 690 | if (!_clname) return nullptr; |
| 691 | if (!strcmp(_clname, qt_meta_stringdata_QUnicodeControlCharacterMenu.stringdata0)) |
| 692 | return static_cast<void*>(this); |
| 693 | return QMenu::qt_metacast(_clname); |
| 694 | } |
| 695 | |
| 696 | int QUnicodeControlCharacterMenu::(QMetaObject::Call _c, int _id, void **_a) |
| 697 | { |
| 698 | _id = QMenu::qt_metacall(_c, _id, _a); |
| 699 | if (_id < 0) |
| 700 | return _id; |
| 701 | if (_c == QMetaObject::InvokeMetaMethod) { |
| 702 | if (_id < 1) |
| 703 | qt_static_metacall(this, _c, _id, _a); |
| 704 | _id -= 1; |
| 705 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { |
| 706 | if (_id < 1) |
| 707 | *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); |
| 708 | _id -= 1; |
| 709 | } |
| 710 | return _id; |
| 711 | } |
| 712 | QT_WARNING_POP |
| 713 | QT_END_MOC_NAMESPACE |
| 714 | |