10#include <QtCore/qmetatype.h>
12#if __has_include(<QtCore/qtmochelpers.h>)
13#include <QtCore/qtmochelpers.h>
21#if !defined(Q_MOC_OUTPUT_REVISION)
22#error "The header file 'texteditorcontroller.h' doesn't include <QObject>."
23#elif Q_MOC_OUTPUT_REVISION != 68
24#error "This file was generated using the moc from 6.6.3. It"
25#error "cannot be used with the include files from this version of Qt."
26#error "(The moc has changed too much.)"
35QT_WARNING_DISABLE_GCC(
"-Wuseless-cast")
38#ifdef QT_MOC_HAS_STRINGDATA
39struct qt_meta_stringdata_CLASSedbeeSCOPETextEditorControllerENDCLASS_t {};
40constexpr auto qt_meta_stringdata_CLASSedbeeSCOPETextEditorControllerENDCLASS = QtMocHelpers::stringData(
41 "edbee::TextEditorController",
42 "updateStatusTextSignal",
45 "textDocumentChanged",
46 "edbee::TextDocument*",
49 "commandToBeExecuted",
50 "edbee::TextEditorCommand*",
55 "edbee::TextBufferChange",
59 "edbee::TextRangeSet*",
65 "updateAfterConfigChange",
69 "scrollPositionVisible",
72 "scrollOffsetVisible",
82 "edbee::TextRangeSet&",
89 "moveCaretAndAnchorToOffset",
94 "changeAndGiveTextSelection",
99 "edbee::ChangeGroup*",
176#define QT_MOC_LITERAL(ofs, len) \
177 uint(sizeof(qt_meta_stringdata_CLASSedbeeSCOPETextEditorControllerENDCLASS_t::offsetsAndSizes) + ofs), len
176#define QT_MOC_LITERAL(ofs, len) \ …
178Q_CONSTINIT static const qt_meta_stringdata_CLASSedbeeSCOPETextEditorControllerENDCLASS_t qt_meta_stringdata_CLASSedbeeSCOPETextEditorControllerENDCLASS = {
246 "edbee::TextEditorController",
247 "updateStatusTextSignal",
250 "textDocumentChanged",
251 "edbee::TextDocument*",
254 "commandToBeExecuted",
255 "edbee::TextEditorCommand*",
260 "edbee::TextBufferChange",
263 "onSelectionChanged",
264 "edbee::TextRangeSet*",
270 "updateAfterConfigChange",
274 "scrollPositionVisible",
277 "scrollOffsetVisible",
279 "scrollCaretVisible",
287 "edbee::TextRangeSet&",
294 "moveCaretAndAnchorToOffset",
299 "changeAndGiveTextSelection",
304 "edbee::ChangeGroup*",
316Q_CONSTINIT static const uint qt_meta_data_CLASSedbeeSCOPETextEditorControllerENDCLASS[] = {
330 1, 1, 338, 2, 0x06, 1 ,
331 4, 2, 341, 2, 0x06, 3 ,
332 8, 1, 346, 2, 0x06, 6 ,
333 11, 1, 349, 2, 0x06, 8 ,
334 12, 0, 352, 2, 0x06, 10 ,
337 13, 2, 353, 2, 0x0a, 11 ,
338 13, 1, 358, 2, 0x2a, 14 ,
339 17, 1, 361, 2, 0x0a, 16 ,
340 20, 3, 364, 2, 0x0a, 18 ,
341 24, 0, 371, 2, 0x0a, 22 ,
342 25, 1, 372, 2, 0x0a, 23 ,
343 25, 0, 375, 2, 0x2a, 25 ,
344 27, 0, 376, 2, 0x0a, 26 ,
345 28, 2, 377, 2, 0x0a, 27 ,
346 31, 1, 382, 2, 0x0a, 30 ,
347 33, 0, 385, 2, 0x0a, 32 ,
348 34, 1, 386, 2, 0x0a, 33 ,
349 34, 0, 389, 2, 0x2a, 35 ,
350 36, 5, 390, 2, 0x0a, 36 ,
351 36, 4, 401, 2, 0x2a, 42 ,
352 38, 3, 410, 2, 0x0a, 47 ,
353 38, 2, 417, 2, 0x2a, 51 ,
354 38, 1, 422, 2, 0x2a, 54 ,
355 38, 3, 425, 2, 0x0a, 56 ,
356 38, 2, 432, 2, 0x2a, 60 ,
357 38, 1, 437, 2, 0x2a, 63 ,
358 40, 4, 440, 2, 0x0a, 65 ,
359 40, 3, 449, 2, 0x2a, 70 ,
360 40, 2, 456, 2, 0x2a, 74 ,
361 40, 4, 461, 2, 0x0a, 77 ,
362 40, 3, 470, 2, 0x2a, 82 ,
363 40, 2, 477, 2, 0x2a, 86 ,
364 43, 4, 482, 2, 0x0a, 89 ,
365 43, 3, 491, 2, 0x2a, 94 ,
366 47, 3, 498, 2, 0x0a, 98 ,
367 47, 2, 505, 2, 0x2a, 102 ,
368 48, 3, 510, 2, 0x0a, 105 ,
369 48, 2, 517, 2, 0x2a, 109 ,
370 51, 2, 522, 2, 0x0a, 112 ,
371 52, 1, 527, 2, 0x0a, 115 ,
372 53, 2, 530, 2, 0x0a, 117 ,
373 53, 1, 535, 2, 0x2a, 120 ,
374 54, 1, 538, 2, 0x0a, 122 ,
375 54, 0, 541, 2, 0x2a, 124 ,
376 56, 1, 542, 2, 0x0a, 125 ,
377 56, 0, 545, 2, 0x2a, 127 ,
378 57, 1, 546, 2, 0x0a, 128 ,
379 57, 0, 549, 2, 0x2a, 130 ,
380 60, 2, 550, 2, 0x0a, 131 ,
381 60, 1, 555, 2, 0x2a, 134 ,
382 60, 0, 558, 2, 0x2a, 136 ,
383 62, 1, 559, 2, 0x0a, 137 ,
384 62, 1, 562, 2, 0x0a, 139 ,
385 62, 0, 565, 2, 0x2a, 141 ,
388 QMetaType::Void, QMetaType::QString, 3,
389 QMetaType::Void, 0x80000000 | 5, 0x80000000 | 5, 6, 7,
390 QMetaType::Void, 0x80000000 | 9, 10,
391 QMetaType::Void, 0x80000000 | 9, 10,
395 QMetaType::Void, 0x80000000 | 14, QMetaType::QString, 15, 16,
396 QMetaType::Void, 0x80000000 | 14, 15,
397 QMetaType::Void, 0x80000000 | 18, 19,
398 QMetaType::Void, QMetaType::Int, QMetaType::Int, QMetaType::Int, 21, 22, 23,
400 QMetaType::Void, QMetaType::QString, 26,
403 QMetaType::Void, QMetaType::Int, QMetaType::Int, 29, 30,
404 QMetaType::Void, QMetaType::Int, 32,
406 QMetaType::Void, QMetaType::Int, 35,
408 QMetaType::Void, QMetaType::Int, QMetaType::Int, QMetaType::QString, QMetaType::Int, QMetaType::Bool, 32, 22, 3, 35, 37,
409 QMetaType::Void, QMetaType::Int, QMetaType::Int, QMetaType::QString, QMetaType::Int, 32, 22, 3, 35,
410 QMetaType::Void, QMetaType::QString, QMetaType::Int, QMetaType::Bool, 3, 35, 37,
411 QMetaType::Void, QMetaType::QString, QMetaType::Int, 3, 35,
412 QMetaType::Void, QMetaType::QString, 3,
413 QMetaType::Void, QMetaType::QStringList, QMetaType::Int, QMetaType::Bool, 39, 35, 37,
414 QMetaType::Void, QMetaType::QStringList, QMetaType::Int, 39, 35,
415 QMetaType::Void, QMetaType::QStringList, 39,
416 QMetaType::Void, 0x80000000 | 41, QMetaType::QString, QMetaType::Int, QMetaType::Bool, 42, 3, 35, 37,
417 QMetaType::Void, 0x80000000 | 41, QMetaType::QString, QMetaType::Int, 42, 3, 35,
418 QMetaType::Void, 0x80000000 | 41, QMetaType::QString, 42, 3,
419 QMetaType::Void, 0x80000000 | 41, QMetaType::QStringList, QMetaType::Int, QMetaType::Bool, 42, 39, 35, 37,
420 QMetaType::Void, 0x80000000 | 41, QMetaType::QStringList, QMetaType::Int, 42, 39, 35,
421 QMetaType::Void, 0x80000000 | 41, QMetaType::QStringList, 42, 39,
422 QMetaType::Void, QMetaType::Int, QMetaType::Int, QMetaType::Bool, QMetaType::Int, 21, 44, 45, 46,
423 QMetaType::Void, QMetaType::Int, QMetaType::Int, QMetaType::Bool, 21, 44, 45,
424 QMetaType::Void, QMetaType::Int, QMetaType::Bool, QMetaType::Int, 32, 45, 46,
425 QMetaType::Void, QMetaType::Int, QMetaType::Bool, 32, 45,
426 QMetaType::Void, QMetaType::Int, QMetaType::Int, QMetaType::Int, 49, 50, 46,
427 QMetaType::Void, QMetaType::Int, QMetaType::Int, 49, 50,
428 QMetaType::Void, QMetaType::Int, QMetaType::Int, 21, 44,
429 QMetaType::Void, QMetaType::Int, 32,
430 QMetaType::Void, 0x80000000 | 18, QMetaType::Int, 42, 35,
431 QMetaType::Void, 0x80000000 | 18, 42,
432 QMetaType::Void, QMetaType::Bool, 55,
434 QMetaType::Void, QMetaType::Bool, 55,
436 QMetaType::Void, 0x80000000 | 58, 59,
438 QMetaType::Void, QMetaType::Int, QMetaType::Bool, 35, 61,
439 QMetaType::Void, QMetaType::Int, 35,
441 QMetaType::Void, 0x80000000 | 9, 63,
442 QMetaType::Void, QMetaType::QString, 64,
448Q_CONSTINIT const QMetaObject edbee::TextEditorController::staticMetaObject = { {
449 QMetaObject::SuperData::link<QObject::staticMetaObject>(),
450 qt_meta_stringdata_CLASSedbeeSCOPETextEditorControllerENDCLASS.
offsetsAndSizes,
451 qt_meta_data_CLASSedbeeSCOPETextEditorControllerENDCLASS,
454 qt_incomplete_metaTypeArray<qt_meta_stringdata_CLASSedbeeSCOPETextEditorControllerENDCLASS_t,
456 QtPrivate::TypeAndForceComplete<TextEditorController, std::true_type>,
458 QtPrivate::TypeAndForceComplete<void, std::false_type>,
459 QtPrivate::TypeAndForceComplete<const QString &, std::false_type>,
461 QtPrivate::TypeAndForceComplete<void, std::false_type>,
462 QtPrivate::TypeAndForceComplete<edbee::TextDocument *, std::false_type>,
463 QtPrivate::TypeAndForceComplete<edbee::TextDocument *, std::false_type>,
465 QtPrivate::TypeAndForceComplete<void, std::false_type>,
466 QtPrivate::TypeAndForceComplete<edbee::TextEditorCommand *, std::false_type>,
468 QtPrivate::TypeAndForceComplete<void, std::false_type>,
469 QtPrivate::TypeAndForceComplete<edbee::TextEditorCommand *, std::false_type>,
471 QtPrivate::TypeAndForceComplete<void, std::false_type>,
473 QtPrivate::TypeAndForceComplete<void, std::false_type>,
474 QtPrivate::TypeAndForceComplete<edbee::TextBufferChange, std::false_type>,
475 QtPrivate::TypeAndForceComplete<QString, std::false_type>,
477 QtPrivate::TypeAndForceComplete<void, std::false_type>,
478 QtPrivate::TypeAndForceComplete<edbee::TextBufferChange, std::false_type>,
480 QtPrivate::TypeAndForceComplete<void, std::false_type>,
481 QtPrivate::TypeAndForceComplete<edbee::TextRangeSet *, std::false_type>,
483 QtPrivate::TypeAndForceComplete<void, std::false_type>,
484 QtPrivate::TypeAndForceComplete<int, std::false_type>,
485 QtPrivate::TypeAndForceComplete<int, std::false_type>,
486 QtPrivate::TypeAndForceComplete<int, std::false_type>,
488 QtPrivate::TypeAndForceComplete<void, std::false_type>,
490 QtPrivate::TypeAndForceComplete<void, std::false_type>,
491 QtPrivate::TypeAndForceComplete<const QString &, std::false_type>,
493 QtPrivate::TypeAndForceComplete<void, std::false_type>,
495 QtPrivate::TypeAndForceComplete<void, std::false_type>,
497 QtPrivate::TypeAndForceComplete<void, std::false_type>,
498 QtPrivate::TypeAndForceComplete<int, std::false_type>,
499 QtPrivate::TypeAndForceComplete<int, std::false_type>,
501 QtPrivate::TypeAndForceComplete<void, std::false_type>,
502 QtPrivate::TypeAndForceComplete<int, std::false_type>,
504 QtPrivate::TypeAndForceComplete<void, std::false_type>,
506 QtPrivate::TypeAndForceComplete<void, std::false_type>,
507 QtPrivate::TypeAndForceComplete<int, std::false_type>,
509 QtPrivate::TypeAndForceComplete<void, std::false_type>,
511 QtPrivate::TypeAndForceComplete<void, std::false_type>,
512 QtPrivate::TypeAndForceComplete<int, std::false_type>,
513 QtPrivate::TypeAndForceComplete<int, std::false_type>,
514 QtPrivate::TypeAndForceComplete<const QString &, std::false_type>,
515 QtPrivate::TypeAndForceComplete<int, std::false_type>,
516 QtPrivate::TypeAndForceComplete<bool, std::false_type>,
518 QtPrivate::TypeAndForceComplete<void, std::false_type>,
519 QtPrivate::TypeAndForceComplete<int, std::false_type>,
520 QtPrivate::TypeAndForceComplete<int, std::false_type>,
521 QtPrivate::TypeAndForceComplete<const QString &, std::false_type>,
522 QtPrivate::TypeAndForceComplete<int, std::false_type>,
524 QtPrivate::TypeAndForceComplete<void, std::false_type>,
525 QtPrivate::TypeAndForceComplete<const QString &, std::false_type>,
526 QtPrivate::TypeAndForceComplete<int, std::false_type>,
527 QtPrivate::TypeAndForceComplete<bool, std::false_type>,
529 QtPrivate::TypeAndForceComplete<void, std::false_type>,
530 QtPrivate::TypeAndForceComplete<const QString &, std::false_type>,
531 QtPrivate::TypeAndForceComplete<int, std::false_type>,
533 QtPrivate::TypeAndForceComplete<void, std::false_type>,
534 QtPrivate::TypeAndForceComplete<const QString &, std::false_type>,
536 QtPrivate::TypeAndForceComplete<void, std::false_type>,
537 QtPrivate::TypeAndForceComplete<const QStringList &, std::false_type>,
538 QtPrivate::TypeAndForceComplete<int, std::false_type>,
539 QtPrivate::TypeAndForceComplete<bool, std::false_type>,
541 QtPrivate::TypeAndForceComplete<void, std::false_type>,
542 QtPrivate::TypeAndForceComplete<const QStringList &, std::false_type>,
543 QtPrivate::TypeAndForceComplete<int, std::false_type>,
545 QtPrivate::TypeAndForceComplete<void, std::false_type>,
546 QtPrivate::TypeAndForceComplete<const QStringList &, std::false_type>,
548 QtPrivate::TypeAndForceComplete<void, std::false_type>,
549 QtPrivate::TypeAndForceComplete<edbee::TextRangeSet &, std::false_type>,
550 QtPrivate::TypeAndForceComplete<const QString &, std::false_type>,
551 QtPrivate::TypeAndForceComplete<int, std::false_type>,
552 QtPrivate::TypeAndForceComplete<bool, std::false_type>,
554 QtPrivate::TypeAndForceComplete<void, std::false_type>,
555 QtPrivate::TypeAndForceComplete<edbee::TextRangeSet &, std::false_type>,
556 QtPrivate::TypeAndForceComplete<const QString &, std::false_type>,
557 QtPrivate::TypeAndForceComplete<int, std::false_type>,
559 QtPrivate::TypeAndForceComplete<void, std::false_type>,
560 QtPrivate::TypeAndForceComplete<edbee::TextRangeSet &, std::false_type>,
561 QtPrivate::TypeAndForceComplete<const QString &, std::false_type>,
563 QtPrivate::TypeAndForceComplete<void, std::false_type>,
564 QtPrivate::TypeAndForceComplete<edbee::TextRangeSet &, std::false_type>,
565 QtPrivate::TypeAndForceComplete<const QStringList &, std::false_type>,
566 QtPrivate::TypeAndForceComplete<int, std::false_type>,
567 QtPrivate::TypeAndForceComplete<bool, std::false_type>,
569 QtPrivate::TypeAndForceComplete<void, std::false_type>,
570 QtPrivate::TypeAndForceComplete<edbee::TextRangeSet &, std::false_type>,
571 QtPrivate::TypeAndForceComplete<const QStringList &, std::false_type>,
572 QtPrivate::TypeAndForceComplete<int, std::false_type>,
574 QtPrivate::TypeAndForceComplete<void, std::false_type>,
575 QtPrivate::TypeAndForceComplete<edbee::TextRangeSet &, std::false_type>,
576 QtPrivate::TypeAndForceComplete<const QStringList &, std::false_type>,
578 QtPrivate::TypeAndForceComplete<void, std::false_type>,
579 QtPrivate::TypeAndForceComplete<int, std::false_type>,
580 QtPrivate::TypeAndForceComplete<int, std::false_type>,
581 QtPrivate::TypeAndForceComplete<bool, std::false_type>,
582 QtPrivate::TypeAndForceComplete<int, std::false_type>,
584 QtPrivate::TypeAndForceComplete<void, std::false_type>,
585 QtPrivate::TypeAndForceComplete<int, std::false_type>,
586 QtPrivate::TypeAndForceComplete<int, std::false_type>,
587 QtPrivate::TypeAndForceComplete<bool, std::false_type>,
589 QtPrivate::TypeAndForceComplete<void, std::false_type>,
590 QtPrivate::TypeAndForceComplete<int, std::false_type>,
591 QtPrivate::TypeAndForceComplete<bool, std::false_type>,
592 QtPrivate::TypeAndForceComplete<int, std::false_type>,
594 QtPrivate::TypeAndForceComplete<void, std::false_type>,
595 QtPrivate::TypeAndForceComplete<int, std::false_type>,
596 QtPrivate::TypeAndForceComplete<bool, std::false_type>,
598 QtPrivate::TypeAndForceComplete<void, std::false_type>,
599 QtPrivate::TypeAndForceComplete<int, std::false_type>,
600 QtPrivate::TypeAndForceComplete<int, std::false_type>,
601 QtPrivate::TypeAndForceComplete<int, std::false_type>,
603 QtPrivate::TypeAndForceComplete<void, std::false_type>,
604 QtPrivate::TypeAndForceComplete<int, std::false_type>,
605 QtPrivate::TypeAndForceComplete<int, std::false_type>,
607 QtPrivate::TypeAndForceComplete<void, std::false_type>,
608 QtPrivate::TypeAndForceComplete<int, std::false_type>,
609 QtPrivate::TypeAndForceComplete<int, std::false_type>,
611 QtPrivate::TypeAndForceComplete<void, std::false_type>,
612 QtPrivate::TypeAndForceComplete<int, std::false_type>,
614 QtPrivate::TypeAndForceComplete<void, std::false_type>,
615 QtPrivate::TypeAndForceComplete<edbee::TextRangeSet *, std::false_type>,
616 QtPrivate::TypeAndForceComplete<int, std::false_type>,
618 QtPrivate::TypeAndForceComplete<void, std::false_type>,
619 QtPrivate::TypeAndForceComplete<edbee::TextRangeSet *, std::false_type>,
621 QtPrivate::TypeAndForceComplete<void, std::false_type>,
622 QtPrivate::TypeAndForceComplete<bool, std::false_type>,
624 QtPrivate::TypeAndForceComplete<void, std::false_type>,
626 QtPrivate::TypeAndForceComplete<void, std::false_type>,
627 QtPrivate::TypeAndForceComplete<bool, std::false_type>,
629 QtPrivate::TypeAndForceComplete<void, std::false_type>,
631 QtPrivate::TypeAndForceComplete<void, std::false_type>,
632 QtPrivate::TypeAndForceComplete<edbee::ChangeGroup *, std::false_type>,
634 QtPrivate::TypeAndForceComplete<void, std::false_type>,
636 QtPrivate::TypeAndForceComplete<void, std::false_type>,
637 QtPrivate::TypeAndForceComplete<int, std::false_type>,
638 QtPrivate::TypeAndForceComplete<bool, std::false_type>,
640 QtPrivate::TypeAndForceComplete<void, std::false_type>,
641 QtPrivate::TypeAndForceComplete<int, std::false_type>,
643 QtPrivate::TypeAndForceComplete<void, std::false_type>,
645 QtPrivate::TypeAndForceComplete<void, std::false_type>,
646 QtPrivate::TypeAndForceComplete<edbee::TextEditorCommand *, std::false_type>,
648 QtPrivate::TypeAndForceComplete<void, std::false_type>,
649 QtPrivate::TypeAndForceComplete<const QString &, std::false_type>,
651 QtPrivate::TypeAndForceComplete<void, std::false_type>
656void edbee::TextEditorController::qt_static_metacall(QObject *_o, QMetaObject::Call _c,
int _id,
void **_a)
658 if (_c == QMetaObject::InvokeMetaMethod) {
662 case 0: _t->updateStatusTextSignal((*
reinterpret_cast< std::add_pointer_t<QString>
>(_a[1])));
break;
663 case 1: _t->textDocumentChanged((*
reinterpret_cast< std::add_pointer_t<edbee::TextDocument*>
>(_a[1])),(*
reinterpret_cast< std::add_pointer_t<edbee::TextDocument*>
>(_a[2])));
break;
664 case 2: _t->commandToBeExecuted((*
reinterpret_cast< std::add_pointer_t<edbee::TextEditorCommand*>
>(_a[1])));
break;
665 case 3: _t->commandExecuted((*
reinterpret_cast< std::add_pointer_t<edbee::TextEditorCommand*>
>(_a[1])));
break;
666 case 4: _t->backspacePressed();
break;
667 case 5: _t->onTextChanged((*
reinterpret_cast< std::add_pointer_t<edbee::TextBufferChange>
>(_a[1])),(*
reinterpret_cast< std::add_pointer_t<QString>
>(_a[2])));
break;
668 case 6: _t->onTextChanged((*
reinterpret_cast< std::add_pointer_t<edbee::TextBufferChange>
>(_a[1])));
break;
669 case 7: _t->onSelectionChanged((*
reinterpret_cast< std::add_pointer_t<edbee::TextRangeSet*>
>(_a[1])));
break;
670 case 8: _t->onLineDataChanged((*
reinterpret_cast< std::add_pointer_t<int>
>(_a[1])),(*
reinterpret_cast< std::add_pointer_t<int>
>(_a[2])),(*
reinterpret_cast< std::add_pointer_t<int>
>(_a[3])));
break;
671 case 9: _t->updateAfterConfigChange();
break;
672 case 10: _t->updateStatusText((*
reinterpret_cast< std::add_pointer_t<QString>
>(_a[1])));
break;
673 case 11: _t->updateStatusText();
break;
674 case 12: _t->update();
break;
675 case 13: _t->scrollPositionVisible((*
reinterpret_cast< std::add_pointer_t<int>
>(_a[1])),(*
reinterpret_cast< std::add_pointer_t<int>
>(_a[2])));
break;
676 case 14: _t->scrollOffsetVisible((*
reinterpret_cast< std::add_pointer_t<int>
>(_a[1])));
break;
677 case 15: _t->scrollCaretVisible();
break;
678 case 16: _t->storeSelection((*
reinterpret_cast< std::add_pointer_t<int>
>(_a[1])));
break;
679 case 17: _t->storeSelection();
break;
680 case 18: _t->replace((*
reinterpret_cast< std::add_pointer_t<int>
>(_a[1])),(*
reinterpret_cast< std::add_pointer_t<int>
>(_a[2])),(*
reinterpret_cast< std::add_pointer_t<QString>
>(_a[3])),(*
reinterpret_cast< std::add_pointer_t<int>
>(_a[4])),(*
reinterpret_cast< std::add_pointer_t<bool>
>(_a[5])));
break;
681 case 19: _t->replace((*
reinterpret_cast< std::add_pointer_t<int>
>(_a[1])),(*
reinterpret_cast< std::add_pointer_t<int>
>(_a[2])),(*
reinterpret_cast< std::add_pointer_t<QString>
>(_a[3])),(*
reinterpret_cast< std::add_pointer_t<int>
>(_a[4])));
break;
682 case 20: _t->replaceSelection((*
reinterpret_cast< std::add_pointer_t<QString>
>(_a[1])),(*
reinterpret_cast< std::add_pointer_t<int>
>(_a[2])),(*
reinterpret_cast< std::add_pointer_t<bool>
>(_a[3])));
break;
683 case 21: _t->replaceSelection((*
reinterpret_cast< std::add_pointer_t<QString>
>(_a[1])),(*
reinterpret_cast< std::add_pointer_t<int>
>(_a[2])));
break;
684 case 22: _t->replaceSelection((*
reinterpret_cast< std::add_pointer_t<QString>
>(_a[1])));
break;
685 case 23: _t->replaceSelection((*
reinterpret_cast< std::add_pointer_t<QStringList>
>(_a[1])),(*
reinterpret_cast< std::add_pointer_t<int>
>(_a[2])),(*
reinterpret_cast< std::add_pointer_t<bool>
>(_a[3])));
break;
686 case 24: _t->replaceSelection((*
reinterpret_cast< std::add_pointer_t<QStringList>
>(_a[1])),(*
reinterpret_cast< std::add_pointer_t<int>
>(_a[2])));
break;
687 case 25: _t->replaceSelection((*
reinterpret_cast< std::add_pointer_t<QStringList>
>(_a[1])));
break;
688 case 26: _t->replaceRangeSet((*
reinterpret_cast< std::add_pointer_t<edbee::TextRangeSet&>
>(_a[1])),(*
reinterpret_cast< std::add_pointer_t<QString>
>(_a[2])),(*
reinterpret_cast< std::add_pointer_t<int>
>(_a[3])),(*
reinterpret_cast< std::add_pointer_t<bool>
>(_a[4])));
break;
689 case 27: _t->replaceRangeSet((*
reinterpret_cast< std::add_pointer_t<edbee::TextRangeSet&>
>(_a[1])),(*
reinterpret_cast< std::add_pointer_t<QString>
>(_a[2])),(*
reinterpret_cast< std::add_pointer_t<int>
>(_a[3])));
break;
690 case 28: _t->replaceRangeSet((*
reinterpret_cast< std::add_pointer_t<edbee::TextRangeSet&>
>(_a[1])),(*
reinterpret_cast< std::add_pointer_t<QString>
>(_a[2])));
break;
691 case 29: _t->replaceRangeSet((*
reinterpret_cast< std::add_pointer_t<edbee::TextRangeSet&>
>(_a[1])),(*
reinterpret_cast< std::add_pointer_t<QStringList>
>(_a[2])),(*
reinterpret_cast< std::add_pointer_t<int>
>(_a[3])),(*
reinterpret_cast< std::add_pointer_t<bool>
>(_a[4])));
break;
692 case 30: _t->replaceRangeSet((*
reinterpret_cast< std::add_pointer_t<edbee::TextRangeSet&>
>(_a[1])),(*
reinterpret_cast< std::add_pointer_t<QStringList>
>(_a[2])),(*
reinterpret_cast< std::add_pointer_t<int>
>(_a[3])));
break;
693 case 31: _t->replaceRangeSet((*
reinterpret_cast< std::add_pointer_t<edbee::TextRangeSet&>
>(_a[1])),(*
reinterpret_cast< std::add_pointer_t<QStringList>
>(_a[2])));
break;
694 case 32: _t->moveCaretTo((*
reinterpret_cast< std::add_pointer_t<int>
>(_a[1])),(*
reinterpret_cast< std::add_pointer_t<int>
>(_a[2])),(*
reinterpret_cast< std::add_pointer_t<bool>
>(_a[3])),(*
reinterpret_cast< std::add_pointer_t<int>
>(_a[4])));
break;
695 case 33: _t->moveCaretTo((*
reinterpret_cast< std::add_pointer_t<int>
>(_a[1])),(*
reinterpret_cast< std::add_pointer_t<int>
>(_a[2])),(*
reinterpret_cast< std::add_pointer_t<bool>
>(_a[3])));
break;
696 case 34: _t->moveCaretToOffset((*
reinterpret_cast< std::add_pointer_t<int>
>(_a[1])),(*
reinterpret_cast< std::add_pointer_t<bool>
>(_a[2])),(*
reinterpret_cast< std::add_pointer_t<int>
>(_a[3])));
break;
697 case 35: _t->moveCaretToOffset((*
reinterpret_cast< std::add_pointer_t<int>
>(_a[1])),(*
reinterpret_cast< std::add_pointer_t<bool>
>(_a[2])));
break;
698 case 36: _t->moveCaretAndAnchorToOffset((*
reinterpret_cast< std::add_pointer_t<int>
>(_a[1])),(*
reinterpret_cast< std::add_pointer_t<int>
>(_a[2])),(*
reinterpret_cast< std::add_pointer_t<int>
>(_a[3])));
break;
699 case 37: _t->moveCaretAndAnchorToOffset((*
reinterpret_cast< std::add_pointer_t<int>
>(_a[1])),(*
reinterpret_cast< std::add_pointer_t<int>
>(_a[2])));
break;
700 case 38: _t->addCaretAt((*
reinterpret_cast< std::add_pointer_t<int>
>(_a[1])),(*
reinterpret_cast< std::add_pointer_t<int>
>(_a[2])));
break;
701 case 39: _t->addCaretAtOffset((*
reinterpret_cast< std::add_pointer_t<int>
>(_a[1])));
break;
702 case 40: _t->changeAndGiveTextSelection((*
reinterpret_cast< std::add_pointer_t<edbee::TextRangeSet*>
>(_a[1])),(*
reinterpret_cast< std::add_pointer_t<int>
>(_a[2])));
break;
703 case 41: _t->changeAndGiveTextSelection((*
reinterpret_cast< std::add_pointer_t<edbee::TextRangeSet*>
>(_a[1])));
break;
704 case 42: _t->undo((*
reinterpret_cast< std::add_pointer_t<bool>
>(_a[1])));
break;
705 case 43: _t->undo();
break;
706 case 44: _t->redo((*
reinterpret_cast< std::add_pointer_t<bool>
>(_a[1])));
break;
707 case 45: _t->redo();
break;
708 case 46: _t->beginUndoGroup((*
reinterpret_cast< std::add_pointer_t<edbee::ChangeGroup*>
>(_a[1])));
break;
709 case 47: _t->beginUndoGroup();
break;
710 case 48: _t->endUndoGroup((*
reinterpret_cast< std::add_pointer_t<int>
>(_a[1])),(*
reinterpret_cast< std::add_pointer_t<bool>
>(_a[2])));
break;
711 case 49: _t->endUndoGroup((*
reinterpret_cast< std::add_pointer_t<int>
>(_a[1])));
break;
712 case 50: _t->endUndoGroup();
break;
713 case 51: _t->executeCommand((*
reinterpret_cast< std::add_pointer_t<edbee::TextEditorCommand*>
>(_a[1])));
break;
714 case 52: _t->executeCommand((*
reinterpret_cast< std::add_pointer_t<QString>
>(_a[1])));
break;
715 case 53: _t->executeCommand();
break;
718 }
else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
720 default: *
reinterpret_cast<QMetaType *
>(_a[0]) = QMetaType();
break;
722 switch (*
reinterpret_cast<int*
>(_a[1])) {
723 default: *
reinterpret_cast<QMetaType *
>(_a[0]) = QMetaType();
break;
725 *
reinterpret_cast<QMetaType *
>(_a[0]) = QMetaType::fromType< edbee::TextBufferChange >();
break;
729 switch (*
reinterpret_cast<int*
>(_a[1])) {
730 default: *
reinterpret_cast<QMetaType *
>(_a[0]) = QMetaType();
break;
732 *
reinterpret_cast<QMetaType *
>(_a[0]) = QMetaType::fromType< edbee::TextBufferChange >();
break;
736 }
else if (_c == QMetaObject::IndexOfMethod) {
737 int *result =
reinterpret_cast<int *
>(_a[0]);
776const QMetaObject *edbee::TextEditorController::metaObject()
const
778 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
781void *edbee::TextEditorController::qt_metacast(
const char *_clname)
783 if (!_clname)
return nullptr;
784 if (!strcmp(_clname, qt_meta_stringdata_CLASSedbeeSCOPETextEditorControllerENDCLASS.
stringdata0))
785 return static_cast<void*
>(
this);
786 return QObject::qt_metacast(_clname);
789int edbee::TextEditorController::qt_metacall(QMetaObject::Call _c,
int _id,
void **_a)
791 _id = QObject::qt_metacall(_c, _id, _a);
794 if (_c == QMetaObject::InvokeMetaMethod) {
796 qt_static_metacall(
this, _c, _id, _a);
798 }
else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
800 qt_static_metacall(
this, _c, _id, _a);
809 void *_a[] = {
nullptr,
const_cast<void*
>(
reinterpret_cast<const void*
>(std::addressof(_t1))) };
810 QMetaObject::activate(
this, &staticMetaObject, 0, _a);
816 void *_a[] = {
nullptr,
const_cast<void*
>(
reinterpret_cast<const void*
>(std::addressof(_t1))),
const_cast<void*
>(
reinterpret_cast<const void*
>(std::addressof(_t2))) };
817 QMetaObject::activate(
this, &staticMetaObject, 1, _a);
823 void *_a[] = {
nullptr,
const_cast<void*
>(
reinterpret_cast<const void*
>(std::addressof(_t1))) };
824 QMetaObject::activate(
this, &staticMetaObject, 2, _a);
830 void *_a[] = {
nullptr,
const_cast<void*
>(
reinterpret_cast<const void*
>(std::addressof(_t1))) };
831 QMetaObject::activate(
this, &staticMetaObject, 3, _a);
837 QMetaObject::activate(
this, &staticMetaObject, 4,
nullptr);
This is the base and abstract class of a text document A TextDocument is the model part of the editor...
Definition textdocument.h:42
This is the abstract base class for a textcommand.
Definition texteditorcommand.h:50
void textDocumentChanged(edbee::TextDocument *oldDocument, edbee::TextDocument *newDocument)
This signal is fired if the textdocument changes.
Definition moc_texteditorcontroller.cpp:814
void backspacePressed()
Definition moc_texteditorcontroller.cpp:835
void commandToBeExecuted(edbee::TextEditorCommand *command)
this method is executed when a command is going to be executed
Definition moc_texteditorcontroller.cpp:821
void commandExecuted(edbee::TextEditorCommand *command)
Definition moc_texteditorcontroller.cpp:828
TextEditorController(TextEditorWidget *widget=nullptr, QObject *parent=nullptr)
The constructor.
Definition texteditorcontroller.cpp:44
void updateStatusTextSignal(const QString &text)
This signal is fired if the statusbar needs updating.
Definition moc_texteditorcontroller.cpp:807
#define QT_MOC_LITERAL(ofs, len)
Definition moc_texteditorcontroller.cpp:176
#define Q_CONSTINIT
Definition moc_texteditorscrollarea.cpp:30
Definition moc_texteditorscrollarea.cpp:36