| 1 | /**************************************************************************** |
| 2 | ** Meta object code from reading C++ file 'qtextdocument.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 "text/qtextdocument.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 'qtextdocument.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_QTextDocument_t { |
| 26 | const uint offsetsAndSize[106]; |
| 27 | char stringdata0[696]; |
| 28 | }; |
| 29 | #define QT_MOC_LITERAL(ofs, len) \ |
| 30 | uint(offsetof(qt_meta_stringdata_QTextDocument_t, stringdata0) + ofs), len |
| 31 | static const qt_meta_stringdata_QTextDocument_t qt_meta_stringdata_QTextDocument = { |
| 32 | { |
| 33 | QT_MOC_LITERAL(0, 13), // "QTextDocument" |
| 34 | QT_MOC_LITERAL(14, 14), // "contentsChange" |
| 35 | QT_MOC_LITERAL(29, 0), // "" |
| 36 | QT_MOC_LITERAL(30, 4), // "from" |
| 37 | QT_MOC_LITERAL(35, 12), // "charsRemoved" |
| 38 | QT_MOC_LITERAL(48, 10), // "charsAdded" |
| 39 | QT_MOC_LITERAL(59, 15), // "contentsChanged" |
| 40 | QT_MOC_LITERAL(75, 13), // "undoAvailable" |
| 41 | QT_MOC_LITERAL(89, 13), // "redoAvailable" |
| 42 | QT_MOC_LITERAL(103, 16), // "undoCommandAdded" |
| 43 | QT_MOC_LITERAL(120, 19), // "modificationChanged" |
| 44 | QT_MOC_LITERAL(140, 1), // "m" |
| 45 | QT_MOC_LITERAL(142, 21), // "cursorPositionChanged" |
| 46 | QT_MOC_LITERAL(164, 11), // "QTextCursor" |
| 47 | QT_MOC_LITERAL(176, 6), // "cursor" |
| 48 | QT_MOC_LITERAL(183, 17), // "blockCountChanged" |
| 49 | QT_MOC_LITERAL(201, 13), // "newBlockCount" |
| 50 | QT_MOC_LITERAL(215, 14), // "baseUrlChanged" |
| 51 | QT_MOC_LITERAL(230, 3), // "url" |
| 52 | QT_MOC_LITERAL(234, 21), // "documentLayoutChanged" |
| 53 | QT_MOC_LITERAL(256, 4), // "undo" |
| 54 | QT_MOC_LITERAL(261, 4), // "redo" |
| 55 | QT_MOC_LITERAL(266, 14), // "appendUndoItem" |
| 56 | QT_MOC_LITERAL(281, 18), // "QAbstractUndoItem*" |
| 57 | QT_MOC_LITERAL(300, 11), // "setModified" |
| 58 | QT_MOC_LITERAL(312, 12), // "loadResource" |
| 59 | QT_MOC_LITERAL(325, 4), // "type" |
| 60 | QT_MOC_LITERAL(330, 4), // "name" |
| 61 | QT_MOC_LITERAL(335, 15), // "undoRedoEnabled" |
| 62 | QT_MOC_LITERAL(351, 8), // "modified" |
| 63 | QT_MOC_LITERAL(360, 8), // "pageSize" |
| 64 | QT_MOC_LITERAL(369, 11), // "defaultFont" |
| 65 | QT_MOC_LITERAL(381, 16), // "useDesignMetrics" |
| 66 | QT_MOC_LITERAL(398, 4), // "size" |
| 67 | QT_MOC_LITERAL(403, 9), // "textWidth" |
| 68 | QT_MOC_LITERAL(413, 10), // "blockCount" |
| 69 | QT_MOC_LITERAL(424, 11), // "indentWidth" |
| 70 | QT_MOC_LITERAL(436, 17), // "defaultStyleSheet" |
| 71 | QT_MOC_LITERAL(454, 17), // "maximumBlockCount" |
| 72 | QT_MOC_LITERAL(472, 14), // "documentMargin" |
| 73 | QT_MOC_LITERAL(487, 7), // "baseUrl" |
| 74 | QT_MOC_LITERAL(495, 16), // "MarkdownFeatures" |
| 75 | QT_MOC_LITERAL(512, 15), // "MarkdownFeature" |
| 76 | QT_MOC_LITERAL(528, 14), // "MarkdownNoHTML" |
| 77 | QT_MOC_LITERAL(543, 25), // "MarkdownDialectCommonMark" |
| 78 | QT_MOC_LITERAL(569, 21), // "MarkdownDialectGitHub" |
| 79 | QT_MOC_LITERAL(591, 12), // "ResourceType" |
| 80 | QT_MOC_LITERAL(604, 15), // "UnknownResource" |
| 81 | QT_MOC_LITERAL(620, 12), // "HtmlResource" |
| 82 | QT_MOC_LITERAL(633, 13), // "ImageResource" |
| 83 | QT_MOC_LITERAL(647, 18), // "StyleSheetResource" |
| 84 | QT_MOC_LITERAL(666, 16), // "MarkdownResource" |
| 85 | QT_MOC_LITERAL(683, 12) // "UserResource" |
| 86 | |
| 87 | }, |
| 88 | "QTextDocument\0contentsChange\0\0from\0" |
| 89 | "charsRemoved\0charsAdded\0contentsChanged\0" |
| 90 | "undoAvailable\0redoAvailable\0" |
| 91 | "undoCommandAdded\0modificationChanged\0" |
| 92 | "m\0cursorPositionChanged\0QTextCursor\0" |
| 93 | "cursor\0blockCountChanged\0newBlockCount\0" |
| 94 | "baseUrlChanged\0url\0documentLayoutChanged\0" |
| 95 | "undo\0redo\0appendUndoItem\0QAbstractUndoItem*\0" |
| 96 | "setModified\0loadResource\0type\0name\0" |
| 97 | "undoRedoEnabled\0modified\0pageSize\0" |
| 98 | "defaultFont\0useDesignMetrics\0size\0" |
| 99 | "textWidth\0blockCount\0indentWidth\0" |
| 100 | "defaultStyleSheet\0maximumBlockCount\0" |
| 101 | "documentMargin\0baseUrl\0MarkdownFeatures\0" |
| 102 | "MarkdownFeature\0MarkdownNoHTML\0" |
| 103 | "MarkdownDialectCommonMark\0" |
| 104 | "MarkdownDialectGitHub\0ResourceType\0" |
| 105 | "UnknownResource\0HtmlResource\0ImageResource\0" |
| 106 | "StyleSheetResource\0MarkdownResource\0" |
| 107 | "UserResource" |
| 108 | }; |
| 109 | #undef QT_MOC_LITERAL |
| 110 | |
| 111 | static const uint qt_meta_data_QTextDocument[] = { |
| 112 | |
| 113 | // content: |
| 114 | 9, // revision |
| 115 | 0, // classname |
| 116 | 0, 0, // classinfo |
| 117 | 16, 14, // methods |
| 118 | 13, 152, // properties |
| 119 | 2, 217, // enums/sets |
| 120 | 0, 0, // constructors |
| 121 | 0, // flags |
| 122 | 10, // signalCount |
| 123 | |
| 124 | // signals: name, argc, parameters, tag, flags, initial metatype offsets |
| 125 | 1, 3, 110, 2, 0x06, 13 /* Public */, |
| 126 | 6, 0, 117, 2, 0x06, 17 /* Public */, |
| 127 | 7, 1, 118, 2, 0x06, 18 /* Public */, |
| 128 | 8, 1, 121, 2, 0x06, 20 /* Public */, |
| 129 | 9, 0, 124, 2, 0x06, 22 /* Public */, |
| 130 | 10, 1, 125, 2, 0x06, 23 /* Public */, |
| 131 | 12, 1, 128, 2, 0x06, 25 /* Public */, |
| 132 | 15, 1, 131, 2, 0x06, 27 /* Public */, |
| 133 | 17, 1, 134, 2, 0x06, 29 /* Public */, |
| 134 | 19, 0, 137, 2, 0x06, 31 /* Public */, |
| 135 | |
| 136 | // slots: name, argc, parameters, tag, flags, initial metatype offsets |
| 137 | 20, 0, 138, 2, 0x0a, 32 /* Public */, |
| 138 | 21, 0, 139, 2, 0x0a, 33 /* Public */, |
| 139 | 22, 1, 140, 2, 0x0a, 34 /* Public */, |
| 140 | 24, 1, 143, 2, 0x0a, 36 /* Public */, |
| 141 | 24, 0, 146, 2, 0x2a, 38 /* Public | MethodCloned */, |
| 142 | |
| 143 | // methods: name, argc, parameters, tag, flags, initial metatype offsets |
| 144 | 25, 2, 147, 2, 0x01, 39 /* Protected */, |
| 145 | |
| 146 | // signals: parameters |
| 147 | QMetaType::Void, QMetaType::Int, QMetaType::Int, QMetaType::Int, 3, 4, 5, |
| 148 | QMetaType::Void, |
| 149 | QMetaType::Void, QMetaType::Bool, 2, |
| 150 | QMetaType::Void, QMetaType::Bool, 2, |
| 151 | QMetaType::Void, |
| 152 | QMetaType::Void, QMetaType::Bool, 11, |
| 153 | QMetaType::Void, 0x80000000 | 13, 14, |
| 154 | QMetaType::Void, QMetaType::Int, 16, |
| 155 | QMetaType::Void, QMetaType::QUrl, 18, |
| 156 | QMetaType::Void, |
| 157 | |
| 158 | // slots: parameters |
| 159 | QMetaType::Void, |
| 160 | QMetaType::Void, |
| 161 | QMetaType::Void, 0x80000000 | 23, 2, |
| 162 | QMetaType::Void, QMetaType::Bool, 11, |
| 163 | QMetaType::Void, |
| 164 | |
| 165 | // methods: parameters |
| 166 | QMetaType::QVariant, QMetaType::Int, QMetaType::QUrl, 26, 27, |
| 167 | |
| 168 | // properties: name, type, flags |
| 169 | 28, QMetaType::Bool, 0x00015103, uint(-1), 0, |
| 170 | 29, QMetaType::Bool, 0x00014103, uint(-1), 0, |
| 171 | 30, QMetaType::QSizeF, 0x00015103, uint(-1), 0, |
| 172 | 31, QMetaType::QFont, 0x00015103, uint(-1), 0, |
| 173 | 32, QMetaType::Bool, 0x00015103, uint(-1), 0, |
| 174 | 33, QMetaType::QSizeF, 0x00015001, uint(-1), 0, |
| 175 | 34, QMetaType::QReal, 0x00015103, uint(-1), 0, |
| 176 | 35, QMetaType::Int, 0x00015001, uint(-1), 0, |
| 177 | 36, QMetaType::QReal, 0x00015103, uint(-1), 0, |
| 178 | 37, QMetaType::QString, 0x00015103, uint(-1), 0, |
| 179 | 38, QMetaType::Int, 0x00015103, uint(-1), 0, |
| 180 | 39, QMetaType::QReal, 0x00015103, uint(-1), 0, |
| 181 | 40, QMetaType::QUrl, 0x00015103, uint(8), 0, |
| 182 | |
| 183 | // enums: name, alias, flags, count, data |
| 184 | 41, 42, 0x1, 3, 227, |
| 185 | 46, 46, 0x0, 6, 233, |
| 186 | |
| 187 | // enum data: key, value |
| 188 | 43, uint(QTextDocument::MarkdownNoHTML), |
| 189 | 44, uint(QTextDocument::MarkdownDialectCommonMark), |
| 190 | 45, uint(QTextDocument::MarkdownDialectGitHub), |
| 191 | 47, uint(QTextDocument::UnknownResource), |
| 192 | 48, uint(QTextDocument::HtmlResource), |
| 193 | 49, uint(QTextDocument::ImageResource), |
| 194 | 50, uint(QTextDocument::StyleSheetResource), |
| 195 | 51, uint(QTextDocument::MarkdownResource), |
| 196 | 52, uint(QTextDocument::UserResource), |
| 197 | |
| 198 | 0 // eod |
| 199 | }; |
| 200 | |
| 201 | void QTextDocument::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) |
| 202 | { |
| 203 | if (_c == QMetaObject::InvokeMetaMethod) { |
| 204 | Q_ASSERT(staticMetaObject.cast(_o)); |
| 205 | auto *_t = static_cast<QTextDocument *>(_o); |
| 206 | Q_UNUSED(_t) |
| 207 | switch (_id) { |
| 208 | case 0: _t->contentsChange((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break; |
| 209 | case 1: _t->contentsChanged(); break; |
| 210 | case 2: _t->undoAvailable((*reinterpret_cast< bool(*)>(_a[1]))); break; |
| 211 | case 3: _t->redoAvailable((*reinterpret_cast< bool(*)>(_a[1]))); break; |
| 212 | case 4: _t->undoCommandAdded(); break; |
| 213 | case 5: _t->modificationChanged((*reinterpret_cast< bool(*)>(_a[1]))); break; |
| 214 | case 6: _t->cursorPositionChanged((*reinterpret_cast< const QTextCursor(*)>(_a[1]))); break; |
| 215 | case 7: _t->blockCountChanged((*reinterpret_cast< int(*)>(_a[1]))); break; |
| 216 | case 8: _t->baseUrlChanged((*reinterpret_cast< const QUrl(*)>(_a[1]))); break; |
| 217 | case 9: _t->documentLayoutChanged(); break; |
| 218 | case 10: _t->undo(); break; |
| 219 | case 11: _t->redo(); break; |
| 220 | case 12: _t->appendUndoItem((*reinterpret_cast< QAbstractUndoItem*(*)>(_a[1]))); break; |
| 221 | case 13: _t->setModified((*reinterpret_cast< bool(*)>(_a[1]))); break; |
| 222 | case 14: _t->setModified(); break; |
| 223 | case 15: { QVariant _r = _t->loadResource((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< const QUrl(*)>(_a[2]))); |
| 224 | if (_a[0]) *reinterpret_cast< QVariant*>(_a[0]) = std::move(_r); } break; |
| 225 | default: ; |
| 226 | } |
| 227 | } else if (_c == QMetaObject::IndexOfMethod) { |
| 228 | int *result = reinterpret_cast<int *>(_a[0]); |
| 229 | { |
| 230 | using _t = void (QTextDocument::*)(int , int , int ); |
| 231 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QTextDocument::contentsChange)) { |
| 232 | *result = 0; |
| 233 | return; |
| 234 | } |
| 235 | } |
| 236 | { |
| 237 | using _t = void (QTextDocument::*)(); |
| 238 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QTextDocument::contentsChanged)) { |
| 239 | *result = 1; |
| 240 | return; |
| 241 | } |
| 242 | } |
| 243 | { |
| 244 | using _t = void (QTextDocument::*)(bool ); |
| 245 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QTextDocument::undoAvailable)) { |
| 246 | *result = 2; |
| 247 | return; |
| 248 | } |
| 249 | } |
| 250 | { |
| 251 | using _t = void (QTextDocument::*)(bool ); |
| 252 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QTextDocument::redoAvailable)) { |
| 253 | *result = 3; |
| 254 | return; |
| 255 | } |
| 256 | } |
| 257 | { |
| 258 | using _t = void (QTextDocument::*)(); |
| 259 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QTextDocument::undoCommandAdded)) { |
| 260 | *result = 4; |
| 261 | return; |
| 262 | } |
| 263 | } |
| 264 | { |
| 265 | using _t = void (QTextDocument::*)(bool ); |
| 266 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QTextDocument::modificationChanged)) { |
| 267 | *result = 5; |
| 268 | return; |
| 269 | } |
| 270 | } |
| 271 | { |
| 272 | using _t = void (QTextDocument::*)(const QTextCursor & ); |
| 273 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QTextDocument::cursorPositionChanged)) { |
| 274 | *result = 6; |
| 275 | return; |
| 276 | } |
| 277 | } |
| 278 | { |
| 279 | using _t = void (QTextDocument::*)(int ); |
| 280 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QTextDocument::blockCountChanged)) { |
| 281 | *result = 7; |
| 282 | return; |
| 283 | } |
| 284 | } |
| 285 | { |
| 286 | using _t = void (QTextDocument::*)(const QUrl & ); |
| 287 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QTextDocument::baseUrlChanged)) { |
| 288 | *result = 8; |
| 289 | return; |
| 290 | } |
| 291 | } |
| 292 | { |
| 293 | using _t = void (QTextDocument::*)(); |
| 294 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QTextDocument::documentLayoutChanged)) { |
| 295 | *result = 9; |
| 296 | return; |
| 297 | } |
| 298 | } |
| 299 | } |
| 300 | #ifndef QT_NO_PROPERTIES |
| 301 | else if (_c == QMetaObject::ReadProperty) { |
| 302 | Q_ASSERT(staticMetaObject.cast(_o)); |
| 303 | auto *_t = static_cast<QTextDocument *>(_o); |
| 304 | Q_UNUSED(_t) |
| 305 | void *_v = _a[0]; |
| 306 | switch (_id) { |
| 307 | case 0: *reinterpret_cast< bool*>(_v) = _t->isUndoRedoEnabled(); break; |
| 308 | case 1: *reinterpret_cast< bool*>(_v) = _t->isModified(); break; |
| 309 | case 2: *reinterpret_cast< QSizeF*>(_v) = _t->pageSize(); break; |
| 310 | case 3: *reinterpret_cast< QFont*>(_v) = _t->defaultFont(); break; |
| 311 | case 4: *reinterpret_cast< bool*>(_v) = _t->useDesignMetrics(); break; |
| 312 | case 5: *reinterpret_cast< QSizeF*>(_v) = _t->size(); break; |
| 313 | case 6: *reinterpret_cast< qreal*>(_v) = _t->textWidth(); break; |
| 314 | case 7: *reinterpret_cast< int*>(_v) = _t->blockCount(); break; |
| 315 | case 8: *reinterpret_cast< qreal*>(_v) = _t->indentWidth(); break; |
| 316 | case 9: *reinterpret_cast< QString*>(_v) = _t->defaultStyleSheet(); break; |
| 317 | case 10: *reinterpret_cast< int*>(_v) = _t->maximumBlockCount(); break; |
| 318 | case 11: *reinterpret_cast< qreal*>(_v) = _t->documentMargin(); break; |
| 319 | case 12: *reinterpret_cast< QUrl*>(_v) = _t->baseUrl(); break; |
| 320 | default: break; |
| 321 | } |
| 322 | } else if (_c == QMetaObject::WriteProperty) { |
| 323 | Q_ASSERT(staticMetaObject.cast(_o)); |
| 324 | auto *_t = static_cast<QTextDocument *>(_o); |
| 325 | Q_UNUSED(_t) |
| 326 | void *_v = _a[0]; |
| 327 | switch (_id) { |
| 328 | case 0: _t->setUndoRedoEnabled(*reinterpret_cast< bool*>(_v)); break; |
| 329 | case 1: _t->setModified(*reinterpret_cast< bool*>(_v)); break; |
| 330 | case 2: _t->setPageSize(*reinterpret_cast< QSizeF*>(_v)); break; |
| 331 | case 3: _t->setDefaultFont(*reinterpret_cast< QFont*>(_v)); break; |
| 332 | case 4: _t->setUseDesignMetrics(*reinterpret_cast< bool*>(_v)); break; |
| 333 | case 6: _t->setTextWidth(*reinterpret_cast< qreal*>(_v)); break; |
| 334 | case 8: _t->setIndentWidth(*reinterpret_cast< qreal*>(_v)); break; |
| 335 | case 9: _t->setDefaultStyleSheet(*reinterpret_cast< QString*>(_v)); break; |
| 336 | case 10: _t->setMaximumBlockCount(*reinterpret_cast< int*>(_v)); break; |
| 337 | case 11: _t->setDocumentMargin(*reinterpret_cast< qreal*>(_v)); break; |
| 338 | case 12: _t->setBaseUrl(*reinterpret_cast< QUrl*>(_v)); break; |
| 339 | default: break; |
| 340 | } |
| 341 | } else if (_c == QMetaObject::ResetProperty) { |
| 342 | } else if (_c == QMetaObject::BindableProperty) { |
| 343 | } |
| 344 | #endif // QT_NO_PROPERTIES |
| 345 | } |
| 346 | |
| 347 | const QMetaObject QTextDocument::staticMetaObject = { { |
| 348 | QMetaObject::SuperData::link<QObject::staticMetaObject>(), |
| 349 | qt_meta_stringdata_QTextDocument.offsetsAndSize, |
| 350 | qt_meta_data_QTextDocument, |
| 351 | qt_static_metacall, |
| 352 | nullptr, |
| 353 | qt_incomplete_metaTypeArray<qt_meta_stringdata_QTextDocument_t |
| 354 | , QtPrivate::TypeAndForceComplete<bool, std::true_type>, QtPrivate::TypeAndForceComplete<bool, std::true_type>, QtPrivate::TypeAndForceComplete<QSizeF, std::true_type>, QtPrivate::TypeAndForceComplete<QFont, std::true_type>, QtPrivate::TypeAndForceComplete<bool, std::true_type>, QtPrivate::TypeAndForceComplete<QSizeF, std::true_type>, QtPrivate::TypeAndForceComplete<qreal, std::true_type>, QtPrivate::TypeAndForceComplete<int, std::true_type>, QtPrivate::TypeAndForceComplete<qreal, std::true_type>, QtPrivate::TypeAndForceComplete<QString, std::true_type>, QtPrivate::TypeAndForceComplete<int, std::true_type>, QtPrivate::TypeAndForceComplete<qreal, std::true_type>, QtPrivate::TypeAndForceComplete<QUrl, std::true_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>, 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<void, std::false_type>, QtPrivate::TypeAndForceComplete<bool, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QTextCursor &, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<int, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QUrl &, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type> |
| 355 | , QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<QAbstractUndoItem *, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<bool, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type> |
| 356 | , QtPrivate::TypeAndForceComplete<QVariant, std::false_type>, QtPrivate::TypeAndForceComplete<int, std::false_type>, QtPrivate::TypeAndForceComplete<const QUrl &, std::false_type> |
| 357 | |
| 358 | >, |
| 359 | nullptr |
| 360 | } }; |
| 361 | |
| 362 | |
| 363 | const QMetaObject *QTextDocument::metaObject() const |
| 364 | { |
| 365 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; |
| 366 | } |
| 367 | |
| 368 | void *QTextDocument::qt_metacast(const char *_clname) |
| 369 | { |
| 370 | if (!_clname) return nullptr; |
| 371 | if (!strcmp(_clname, qt_meta_stringdata_QTextDocument.stringdata0)) |
| 372 | return static_cast<void*>(this); |
| 373 | return QObject::qt_metacast(_clname); |
| 374 | } |
| 375 | |
| 376 | int QTextDocument::qt_metacall(QMetaObject::Call _c, int _id, void **_a) |
| 377 | { |
| 378 | _id = QObject::qt_metacall(_c, _id, _a); |
| 379 | if (_id < 0) |
| 380 | return _id; |
| 381 | if (_c == QMetaObject::InvokeMetaMethod) { |
| 382 | if (_id < 16) |
| 383 | qt_static_metacall(this, _c, _id, _a); |
| 384 | _id -= 16; |
| 385 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { |
| 386 | if (_id < 16) |
| 387 | *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); |
| 388 | _id -= 16; |
| 389 | } |
| 390 | #ifndef QT_NO_PROPERTIES |
| 391 | else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty |
| 392 | || _c == QMetaObject::ResetProperty || _c == QMetaObject::BindableProperty |
| 393 | || _c == QMetaObject::RegisterPropertyMetaType) { |
| 394 | qt_static_metacall(this, _c, _id, _a); |
| 395 | _id -= 13; |
| 396 | } |
| 397 | #endif // QT_NO_PROPERTIES |
| 398 | return _id; |
| 399 | } |
| 400 | |
| 401 | // SIGNAL 0 |
| 402 | void QTextDocument::contentsChange(int _t1, int _t2, int _t3) |
| 403 | { |
| 404 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t3))) }; |
| 405 | QMetaObject::activate(this, &staticMetaObject, 0, _a); |
| 406 | } |
| 407 | |
| 408 | // SIGNAL 1 |
| 409 | void QTextDocument::contentsChanged() |
| 410 | { |
| 411 | QMetaObject::activate(this, &staticMetaObject, 1, nullptr); |
| 412 | } |
| 413 | |
| 414 | // SIGNAL 2 |
| 415 | void QTextDocument::undoAvailable(bool _t1) |
| 416 | { |
| 417 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) }; |
| 418 | QMetaObject::activate(this, &staticMetaObject, 2, _a); |
| 419 | } |
| 420 | |
| 421 | // SIGNAL 3 |
| 422 | void QTextDocument::redoAvailable(bool _t1) |
| 423 | { |
| 424 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) }; |
| 425 | QMetaObject::activate(this, &staticMetaObject, 3, _a); |
| 426 | } |
| 427 | |
| 428 | // SIGNAL 4 |
| 429 | void QTextDocument::undoCommandAdded() |
| 430 | { |
| 431 | QMetaObject::activate(this, &staticMetaObject, 4, nullptr); |
| 432 | } |
| 433 | |
| 434 | // SIGNAL 5 |
| 435 | void QTextDocument::modificationChanged(bool _t1) |
| 436 | { |
| 437 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) }; |
| 438 | QMetaObject::activate(this, &staticMetaObject, 5, _a); |
| 439 | } |
| 440 | |
| 441 | // SIGNAL 6 |
| 442 | void QTextDocument::cursorPositionChanged(const QTextCursor & _t1) |
| 443 | { |
| 444 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) }; |
| 445 | QMetaObject::activate(this, &staticMetaObject, 6, _a); |
| 446 | } |
| 447 | |
| 448 | // SIGNAL 7 |
| 449 | void QTextDocument::blockCountChanged(int _t1) |
| 450 | { |
| 451 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) }; |
| 452 | QMetaObject::activate(this, &staticMetaObject, 7, _a); |
| 453 | } |
| 454 | |
| 455 | // SIGNAL 8 |
| 456 | void QTextDocument::baseUrlChanged(const QUrl & _t1) |
| 457 | { |
| 458 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) }; |
| 459 | QMetaObject::activate(this, &staticMetaObject, 8, _a); |
| 460 | } |
| 461 | |
| 462 | // SIGNAL 9 |
| 463 | void QTextDocument::documentLayoutChanged() |
| 464 | { |
| 465 | QMetaObject::activate(this, &staticMetaObject, 9, nullptr); |
| 466 | } |
| 467 | QT_WARNING_POP |
| 468 | QT_END_MOC_NAMESPACE |
| 469 | |