/****************************************************************************
** Meta object code from reading C++ file 'qtextedit.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.19)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/

#include <memory>
#include "../widgets/qtextedit.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'qtextedit.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.15.19. It"
#error "cannot be used with the include files from this version of Qt."
#error "(The moc has changed too much.)"
#endif

QT_BEGIN_MOC_NAMESPACE
QT_WARNING_PUSH
QT_WARNING_DISABLE_DEPRECATED
struct qt_meta_stringdata_QTextEdit_t {
    QByteArrayData data[92];
    char stringdata0[1133];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_QTextEdit_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_QTextEdit_t qt_meta_stringdata_QTextEdit = {
    {
QT_MOC_LITERAL(0, 0, 9), // "QTextEdit"
QT_MOC_LITERAL(1, 10, 11), // "textChanged"
QT_MOC_LITERAL(2, 22, 0), // ""
QT_MOC_LITERAL(3, 23, 13), // "undoAvailable"
QT_MOC_LITERAL(4, 37, 1), // "b"
QT_MOC_LITERAL(5, 39, 13), // "redoAvailable"
QT_MOC_LITERAL(6, 53, 24), // "currentCharFormatChanged"
QT_MOC_LITERAL(7, 78, 15), // "QTextCharFormat"
QT_MOC_LITERAL(8, 94, 6), // "format"
QT_MOC_LITERAL(9, 101, 13), // "copyAvailable"
QT_MOC_LITERAL(10, 115, 16), // "selectionChanged"
QT_MOC_LITERAL(11, 132, 21), // "cursorPositionChanged"
QT_MOC_LITERAL(12, 154, 16), // "setFontPointSize"
QT_MOC_LITERAL(13, 171, 1), // "s"
QT_MOC_LITERAL(14, 173, 13), // "setFontFamily"
QT_MOC_LITERAL(15, 187, 10), // "fontFamily"
QT_MOC_LITERAL(16, 198, 13), // "setFontWeight"
QT_MOC_LITERAL(17, 212, 1), // "w"
QT_MOC_LITERAL(18, 214, 16), // "setFontUnderline"
QT_MOC_LITERAL(19, 231, 13), // "setFontItalic"
QT_MOC_LITERAL(20, 245, 12), // "setTextColor"
QT_MOC_LITERAL(21, 258, 1), // "c"
QT_MOC_LITERAL(22, 260, 22), // "setTextBackgroundColor"
QT_MOC_LITERAL(23, 283, 14), // "setCurrentFont"
QT_MOC_LITERAL(24, 298, 1), // "f"
QT_MOC_LITERAL(25, 300, 12), // "setAlignment"
QT_MOC_LITERAL(26, 313, 13), // "Qt::Alignment"
QT_MOC_LITERAL(27, 327, 1), // "a"
QT_MOC_LITERAL(28, 329, 12), // "setPlainText"
QT_MOC_LITERAL(29, 342, 4), // "text"
QT_MOC_LITERAL(30, 347, 7), // "setHtml"
QT_MOC_LITERAL(31, 355, 11), // "setMarkdown"
QT_MOC_LITERAL(32, 367, 8), // "markdown"
QT_MOC_LITERAL(33, 376, 7), // "setText"
QT_MOC_LITERAL(34, 384, 3), // "cut"
QT_MOC_LITERAL(35, 388, 4), // "copy"
QT_MOC_LITERAL(36, 393, 5), // "paste"
QT_MOC_LITERAL(37, 399, 4), // "undo"
QT_MOC_LITERAL(38, 404, 4), // "redo"
QT_MOC_LITERAL(39, 409, 5), // "clear"
QT_MOC_LITERAL(40, 415, 9), // "selectAll"
QT_MOC_LITERAL(41, 425, 15), // "insertPlainText"
QT_MOC_LITERAL(42, 441, 10), // "insertHtml"
QT_MOC_LITERAL(43, 452, 6), // "append"
QT_MOC_LITERAL(44, 459, 14), // "scrollToAnchor"
QT_MOC_LITERAL(45, 474, 4), // "name"
QT_MOC_LITERAL(46, 479, 6), // "zoomIn"
QT_MOC_LITERAL(47, 486, 5), // "range"
QT_MOC_LITERAL(48, 492, 7), // "zoomOut"
QT_MOC_LITERAL(49, 500, 18), // "_q_repaintContents"
QT_MOC_LITERAL(50, 519, 1), // "r"
QT_MOC_LITERAL(51, 521, 27), // "_q_currentCharFormatChanged"
QT_MOC_LITERAL(52, 549, 19), // "_q_adjustScrollbars"
QT_MOC_LITERAL(53, 569, 16), // "_q_ensureVisible"
QT_MOC_LITERAL(54, 586, 24), // "_q_cursorPositionChanged"
QT_MOC_LITERAL(55, 611, 32), // "_q_hoveredBlockWithMarkerChanged"
QT_MOC_LITERAL(56, 644, 10), // "QTextBlock"
QT_MOC_LITERAL(57, 655, 12), // "loadResource"
QT_MOC_LITERAL(58, 668, 4), // "type"
QT_MOC_LITERAL(59, 673, 16), // "inputMethodQuery"
QT_MOC_LITERAL(60, 690, 20), // "Qt::InputMethodQuery"
QT_MOC_LITERAL(61, 711, 5), // "query"
QT_MOC_LITERAL(62, 717, 8), // "argument"
QT_MOC_LITERAL(63, 726, 14), // "autoFormatting"
QT_MOC_LITERAL(64, 741, 14), // "AutoFormatting"
QT_MOC_LITERAL(65, 756, 15), // "tabChangesFocus"
QT_MOC_LITERAL(66, 772, 13), // "documentTitle"
QT_MOC_LITERAL(67, 786, 15), // "undoRedoEnabled"
QT_MOC_LITERAL(68, 802, 12), // "lineWrapMode"
QT_MOC_LITERAL(69, 815, 12), // "LineWrapMode"
QT_MOC_LITERAL(70, 828, 21), // "lineWrapColumnOrWidth"
QT_MOC_LITERAL(71, 850, 8), // "readOnly"
QT_MOC_LITERAL(72, 859, 4), // "html"
QT_MOC_LITERAL(73, 864, 9), // "plainText"
QT_MOC_LITERAL(74, 874, 13), // "overwriteMode"
QT_MOC_LITERAL(75, 888, 12), // "tabStopWidth"
QT_MOC_LITERAL(76, 901, 15), // "tabStopDistance"
QT_MOC_LITERAL(77, 917, 14), // "acceptRichText"
QT_MOC_LITERAL(78, 932, 11), // "cursorWidth"
QT_MOC_LITERAL(79, 944, 20), // "textInteractionFlags"
QT_MOC_LITERAL(80, 965, 24), // "Qt::TextInteractionFlags"
QT_MOC_LITERAL(81, 990, 8), // "document"
QT_MOC_LITERAL(82, 999, 14), // "QTextDocument*"
QT_MOC_LITERAL(83, 1014, 15), // "placeholderText"
QT_MOC_LITERAL(84, 1030, 6), // "NoWrap"
QT_MOC_LITERAL(85, 1037, 11), // "WidgetWidth"
QT_MOC_LITERAL(86, 1049, 15), // "FixedPixelWidth"
QT_MOC_LITERAL(87, 1065, 16), // "FixedColumnWidth"
QT_MOC_LITERAL(88, 1082, 18), // "AutoFormattingFlag"
QT_MOC_LITERAL(89, 1101, 8), // "AutoNone"
QT_MOC_LITERAL(90, 1110, 14), // "AutoBulletList"
QT_MOC_LITERAL(91, 1125, 7) // "AutoAll"

    },
    "QTextEdit\0textChanged\0\0undoAvailable\0"
    "b\0redoAvailable\0currentCharFormatChanged\0"
    "QTextCharFormat\0format\0copyAvailable\0"
    "selectionChanged\0cursorPositionChanged\0"
    "setFontPointSize\0s\0setFontFamily\0"
    "fontFamily\0setFontWeight\0w\0setFontUnderline\0"
    "setFontItalic\0setTextColor\0c\0"
    "setTextBackgroundColor\0setCurrentFont\0"
    "f\0setAlignment\0Qt::Alignment\0a\0"
    "setPlainText\0text\0setHtml\0setMarkdown\0"
    "markdown\0setText\0cut\0copy\0paste\0undo\0"
    "redo\0clear\0selectAll\0insertPlainText\0"
    "insertHtml\0append\0scrollToAnchor\0name\0"
    "zoomIn\0range\0zoomOut\0_q_repaintContents\0"
    "r\0_q_currentCharFormatChanged\0"
    "_q_adjustScrollbars\0_q_ensureVisible\0"
    "_q_cursorPositionChanged\0"
    "_q_hoveredBlockWithMarkerChanged\0"
    "QTextBlock\0loadResource\0type\0"
    "inputMethodQuery\0Qt::InputMethodQuery\0"
    "query\0argument\0autoFormatting\0"
    "AutoFormatting\0tabChangesFocus\0"
    "documentTitle\0undoRedoEnabled\0"
    "lineWrapMode\0LineWrapMode\0"
    "lineWrapColumnOrWidth\0readOnly\0html\0"
    "plainText\0overwriteMode\0tabStopWidth\0"
    "tabStopDistance\0acceptRichText\0"
    "cursorWidth\0textInteractionFlags\0"
    "Qt::TextInteractionFlags\0document\0"
    "QTextDocument*\0placeholderText\0NoWrap\0"
    "WidgetWidth\0FixedPixelWidth\0"
    "FixedColumnWidth\0AutoFormattingFlag\0"
    "AutoNone\0AutoBulletList\0AutoAll"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_QTextEdit[] = {

 // content:
       8,       // revision
       0,       // classname
       0,    0, // classinfo
      43,   14, // methods
      18,  334, // properties
       2,  406, // enums/sets
       0,    0, // constructors
       0,       // flags
       7,       // signalCount

 // signals: name, argc, parameters, tag, flags
       1,    0,  229,    2, 0x06 /* Public */,
       3,    1,  230,    2, 0x06 /* Public */,
       5,    1,  233,    2, 0x06 /* Public */,
       6,    1,  236,    2, 0x06 /* Public */,
       9,    1,  239,    2, 0x06 /* Public */,
      10,    0,  242,    2, 0x06 /* Public */,
      11,    0,  243,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      12,    1,  244,    2, 0x0a /* Public */,
      14,    1,  247,    2, 0x0a /* Public */,
      16,    1,  250,    2, 0x0a /* Public */,
      18,    1,  253,    2, 0x0a /* Public */,
      19,    1,  256,    2, 0x0a /* Public */,
      20,    1,  259,    2, 0x0a /* Public */,
      22,    1,  262,    2, 0x0a /* Public */,
      23,    1,  265,    2, 0x0a /* Public */,
      25,    1,  268,    2, 0x0a /* Public */,
      28,    1,  271,    2, 0x0a /* Public */,
      30,    1,  274,    2, 0x0a /* Public */,
      31,    1,  277,    2, 0x0a /* Public */,
      33,    1,  280,    2, 0x0a /* Public */,
      34,    0,  283,    2, 0x0a /* Public */,
      35,    0,  284,    2, 0x0a /* Public */,
      36,    0,  285,    2, 0x0a /* Public */,
      37,    0,  286,    2, 0x0a /* Public */,
      38,    0,  287,    2, 0x0a /* Public */,
      39,    0,  288,    2, 0x0a /* Public */,
      40,    0,  289,    2, 0x0a /* Public */,
      41,    1,  290,    2, 0x0a /* Public */,
      42,    1,  293,    2, 0x0a /* Public */,
      43,    1,  296,    2, 0x0a /* Public */,
      44,    1,  299,    2, 0x0a /* Public */,
      46,    1,  302,    2, 0x0a /* Public */,
      46,    0,  305,    2, 0x2a /* Public | MethodCloned */,
      48,    1,  306,    2, 0x0a /* Public */,
      48,    0,  309,    2, 0x2a /* Public | MethodCloned */,
      49,    1,  310,    2, 0x08 /* Private */,
      51,    1,  313,    2, 0x08 /* Private */,
      52,    0,  316,    2, 0x08 /* Private */,
      53,    1,  317,    2, 0x08 /* Private */,
      54,    0,  320,    2, 0x08 /* Private */,
      55,    1,  321,    2, 0x08 /* Private */,

 // methods: name, argc, parameters, tag, flags
      57,    2,  324,    2, 0x02 /* Public */,
      59,    2,  329,    2, 0x02 /* Public */,

 // signals: parameters
    QMetaType::Void,
    QMetaType::Void, QMetaType::Bool,    4,
    QMetaType::Void, QMetaType::Bool,    4,
    QMetaType::Void, 0x80000000 | 7,    8,
    QMetaType::Void, QMetaType::Bool,    4,
    QMetaType::Void,
    QMetaType::Void,

 // slots: parameters
    QMetaType::Void, QMetaType::QReal,   13,
    QMetaType::Void, QMetaType::QString,   15,
    QMetaType::Void, QMetaType::Int,   17,
    QMetaType::Void, QMetaType::Bool,    4,
    QMetaType::Void, QMetaType::Bool,    4,
    QMetaType::Void, QMetaType::QColor,   21,
    QMetaType::Void, QMetaType::QColor,   21,
    QMetaType::Void, QMetaType::QFont,   24,
    QMetaType::Void, 0x80000000 | 26,   27,
    QMetaType::Void, QMetaType::QString,   29,
    QMetaType::Void, QMetaType::QString,   29,
    QMetaType::Void, QMetaType::QString,   32,
    QMetaType::Void, QMetaType::QString,   29,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString,   29,
    QMetaType::Void, QMetaType::QString,   29,
    QMetaType::Void, QMetaType::QString,   29,
    QMetaType::Void, QMetaType::QString,   45,
    QMetaType::Void, QMetaType::Int,   47,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int,   47,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QRectF,   50,
    QMetaType::Void, 0x80000000 | 7,    2,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QRectF,    2,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 56,    2,

 // methods: parameters
    QMetaType::QVariant, QMetaType::Int, QMetaType::QUrl,   58,   45,
    QMetaType::QVariant, 0x80000000 | 60, QMetaType::QVariant,   61,   62,

 // properties: name, type, flags
      63, 0x80000000 | 64, 0x0009510b,
      65, QMetaType::Bool, 0x00095103,
      66, QMetaType::QString, 0x00095103,
      67, QMetaType::Bool, 0x00095103,
      68, 0x80000000 | 69, 0x0009510b,
      70, QMetaType::Int, 0x00095103,
      71, QMetaType::Bool, 0x00095103,
      32, QMetaType::QString, 0x00495103,
      72, QMetaType::QString, 0x00595103,
      73, QMetaType::QString, 0x00094103,
      74, QMetaType::Bool, 0x00095103,
      75, QMetaType::Int, 0x00095103,
      76, QMetaType::QReal, 0x00095103,
      77, QMetaType::Bool, 0x00095103,
      78, QMetaType::Int, 0x00095103,
      79, 0x80000000 | 80, 0x0009510b,
      81, 0x80000000 | 82, 0x0009410b,
      83, QMetaType::QString, 0x00095103,

 // properties: notify_signal_id
       0,
       0,
       0,
       0,
       0,
       0,
       0,
       0,
       0,
       0,
       0,
       0,
       0,
       0,
       0,
       0,
       0,
       0,

 // enums: name, alias, flags, count, data
      69,   69, 0x0,    4,  416,
      64,   88, 0x1,    3,  424,

 // enum data: key, value
      84, uint(QTextEdit::NoWrap),
      85, uint(QTextEdit::WidgetWidth),
      86, uint(QTextEdit::FixedPixelWidth),
      87, uint(QTextEdit::FixedColumnWidth),
      89, uint(QTextEdit::AutoNone),
      90, uint(QTextEdit::AutoBulletList),
      91, uint(QTextEdit::AutoAll),

       0        // eod
};

void QTextEdit::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<QTextEdit *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->textChanged(); break;
        case 1: _t->undoAvailable((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 2: _t->redoAvailable((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 3: _t->currentCharFormatChanged((*reinterpret_cast< const QTextCharFormat(*)>(_a[1]))); break;
        case 4: _t->copyAvailable((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 5: _t->selectionChanged(); break;
        case 6: _t->cursorPositionChanged(); break;
        case 7: _t->setFontPointSize((*reinterpret_cast< qreal(*)>(_a[1]))); break;
        case 8: _t->setFontFamily((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 9: _t->setFontWeight((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 10: _t->setFontUnderline((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 11: _t->setFontItalic((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 12: _t->setTextColor((*reinterpret_cast< const QColor(*)>(_a[1]))); break;
        case 13: _t->setTextBackgroundColor((*reinterpret_cast< const QColor(*)>(_a[1]))); break;
        case 14: _t->setCurrentFont((*reinterpret_cast< const QFont(*)>(_a[1]))); break;
        case 15: _t->setAlignment((*reinterpret_cast< Qt::Alignment(*)>(_a[1]))); break;
        case 16: _t->setPlainText((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 17: _t->setHtml((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 18: _t->setMarkdown((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 19: _t->setText((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 20: _t->cut(); break;
        case 21: _t->copy(); break;
        case 22: _t->paste(); break;
        case 23: _t->undo(); break;
        case 24: _t->redo(); break;
        case 25: _t->clear(); break;
        case 26: _t->selectAll(); break;
        case 27: _t->insertPlainText((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 28: _t->insertHtml((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 29: _t->append((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 30: _t->scrollToAnchor((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 31: _t->zoomIn((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 32: _t->zoomIn(); break;
        case 33: _t->zoomOut((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 34: _t->zoomOut(); break;
        case 35: _t->d_func()->_q_repaintContents((*reinterpret_cast< const QRectF(*)>(_a[1]))); break;
        case 36: _t->d_func()->_q_currentCharFormatChanged((*reinterpret_cast< const QTextCharFormat(*)>(_a[1]))); break;
        case 37: _t->d_func()->_q_adjustScrollbars(); break;
        case 38: _t->d_func()->_q_ensureVisible((*reinterpret_cast< const QRectF(*)>(_a[1]))); break;
        case 39: _t->d_func()->_q_cursorPositionChanged(); break;
        case 40: _t->d_func()->_q_hoveredBlockWithMarkerChanged((*reinterpret_cast< const QTextBlock(*)>(_a[1]))); break;
        case 41: { QVariant _r = _t->loadResource((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< const QUrl(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< QVariant*>(_a[0]) = std::move(_r); }  break;
        case 42: { QVariant _r = _t->inputMethodQuery((*reinterpret_cast< Qt::InputMethodQuery(*)>(_a[1])),(*reinterpret_cast< QVariant(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< QVariant*>(_a[0]) = std::move(_r); }  break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (QTextEdit::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QTextEdit::textChanged)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (QTextEdit::*)(bool );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QTextEdit::undoAvailable)) {
                *result = 1;
                return;
            }
        }
        {
            using _t = void (QTextEdit::*)(bool );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QTextEdit::redoAvailable)) {
                *result = 2;
                return;
            }
        }
        {
            using _t = void (QTextEdit::*)(const QTextCharFormat & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QTextEdit::currentCharFormatChanged)) {
                *result = 3;
                return;
            }
        }
        {
            using _t = void (QTextEdit::*)(bool );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QTextEdit::copyAvailable)) {
                *result = 4;
                return;
            }
        }
        {
            using _t = void (QTextEdit::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QTextEdit::selectionChanged)) {
                *result = 5;
                return;
            }
        }
        {
            using _t = void (QTextEdit::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QTextEdit::cursorPositionChanged)) {
                *result = 6;
                return;
            }
        }
    } else if (_c == QMetaObject::RegisterPropertyMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 16:
            *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QTextDocument* >(); break;
        }
    }

#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        auto *_t = static_cast<QTextEdit *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast<int*>(_v) = QFlag(_t->autoFormatting()); break;
        case 1: *reinterpret_cast< bool*>(_v) = _t->tabChangesFocus(); break;
        case 2: *reinterpret_cast< QString*>(_v) = _t->documentTitle(); break;
        case 3: *reinterpret_cast< bool*>(_v) = _t->isUndoRedoEnabled(); break;
        case 4: *reinterpret_cast< LineWrapMode*>(_v) = _t->lineWrapMode(); break;
        case 5: *reinterpret_cast< int*>(_v) = _t->lineWrapColumnOrWidth(); break;
        case 6: *reinterpret_cast< bool*>(_v) = _t->isReadOnly(); break;
        case 7: *reinterpret_cast< QString*>(_v) = _t->toMarkdown(); break;
        case 8: *reinterpret_cast< QString*>(_v) = _t->toHtml(); break;
        case 9: *reinterpret_cast< QString*>(_v) = _t->toPlainText(); break;
        case 10: *reinterpret_cast< bool*>(_v) = _t->overwriteMode(); break;
        case 11: *reinterpret_cast< int*>(_v) = _t->tabStopWidth(); break;
        case 12: *reinterpret_cast< qreal*>(_v) = _t->tabStopDistance(); break;
        case 13: *reinterpret_cast< bool*>(_v) = _t->acceptRichText(); break;
        case 14: *reinterpret_cast< int*>(_v) = _t->cursorWidth(); break;
        case 15: *reinterpret_cast< Qt::TextInteractionFlags*>(_v) = _t->textInteractionFlags(); break;
        case 16: *reinterpret_cast< QTextDocument**>(_v) = _t->document(); break;
        case 17: *reinterpret_cast< QString*>(_v) = _t->placeholderText(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        auto *_t = static_cast<QTextEdit *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setAutoFormatting(QFlag(*reinterpret_cast<int*>(_v))); break;
        case 1: _t->setTabChangesFocus(*reinterpret_cast< bool*>(_v)); break;
        case 2: _t->setDocumentTitle(*reinterpret_cast< QString*>(_v)); break;
        case 3: _t->setUndoRedoEnabled(*reinterpret_cast< bool*>(_v)); break;
        case 4: _t->setLineWrapMode(*reinterpret_cast< LineWrapMode*>(_v)); break;
        case 5: _t->setLineWrapColumnOrWidth(*reinterpret_cast< int*>(_v)); break;
        case 6: _t->setReadOnly(*reinterpret_cast< bool*>(_v)); break;
        case 7: _t->setMarkdown(*reinterpret_cast< QString*>(_v)); break;
        case 8: _t->setHtml(*reinterpret_cast< QString*>(_v)); break;
        case 9: _t->setPlainText(*reinterpret_cast< QString*>(_v)); break;
        case 10: _t->setOverwriteMode(*reinterpret_cast< bool*>(_v)); break;
        case 11: _t->setTabStopWidth(*reinterpret_cast< int*>(_v)); break;
        case 12: _t->setTabStopDistance(*reinterpret_cast< qreal*>(_v)); break;
        case 13: _t->setAcceptRichText(*reinterpret_cast< bool*>(_v)); break;
        case 14: _t->setCursorWidth(*reinterpret_cast< int*>(_v)); break;
        case 15: _t->setTextInteractionFlags(*reinterpret_cast< Qt::TextInteractionFlags*>(_v)); break;
        case 16: _t->setDocument(*reinterpret_cast< QTextDocument**>(_v)); break;
        case 17: _t->setPlaceholderText(*reinterpret_cast< QString*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

QT_INIT_METAOBJECT const QMetaObject QTextEdit::staticMetaObject = { {
    QMetaObject::SuperData::link<QAbstractScrollArea::staticMetaObject>(),
    qt_meta_stringdata_QTextEdit.data,
    qt_meta_data_QTextEdit,
    qt_static_metacall,
    nullptr,
    nullptr
} };


const QMetaObject *QTextEdit::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
}

void *QTextEdit::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_QTextEdit.stringdata0))
        return static_cast<void*>(this);
    return QAbstractScrollArea::qt_metacast(_clname);
}

int QTextEdit::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QAbstractScrollArea::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 43)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 43;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 43)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 43;
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
            || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {
        qt_static_metacall(this, _c, _id, _a);
        _id -= 18;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 18;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 18;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 18;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 18;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 18;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

// SIGNAL 0
void QTextEdit::textChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}

// SIGNAL 1
void QTextEdit::undoAvailable(bool _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}

// SIGNAL 2
void QTextEdit::redoAvailable(bool _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}

// SIGNAL 3
void QTextEdit::currentCharFormatChanged(const QTextCharFormat & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 3, _a);
}

// SIGNAL 4
void QTextEdit::copyAvailable(bool _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 4, _a);
}

// SIGNAL 5
void QTextEdit::selectionChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 5, nullptr);
}

// SIGNAL 6
void QTextEdit::cursorPositionChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 6, nullptr);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
