/****************************************************************************
** Meta object code from reading C++ file 'qplaintextedit.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/qplaintextedit.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'qplaintextedit.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_QPlainTextEdit_t {
    QByteArrayData data[62];
    char stringdata0[785];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_QPlainTextEdit_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_QPlainTextEdit_t qt_meta_stringdata_QPlainTextEdit = {
    {
QT_MOC_LITERAL(0, 0, 14), // "QPlainTextEdit"
QT_MOC_LITERAL(1, 15, 11), // "textChanged"
QT_MOC_LITERAL(2, 27, 0), // ""
QT_MOC_LITERAL(3, 28, 13), // "undoAvailable"
QT_MOC_LITERAL(4, 42, 1), // "b"
QT_MOC_LITERAL(5, 44, 13), // "redoAvailable"
QT_MOC_LITERAL(6, 58, 13), // "copyAvailable"
QT_MOC_LITERAL(7, 72, 16), // "selectionChanged"
QT_MOC_LITERAL(8, 89, 21), // "cursorPositionChanged"
QT_MOC_LITERAL(9, 111, 13), // "updateRequest"
QT_MOC_LITERAL(10, 125, 4), // "rect"
QT_MOC_LITERAL(11, 130, 2), // "dy"
QT_MOC_LITERAL(12, 133, 17), // "blockCountChanged"
QT_MOC_LITERAL(13, 151, 13), // "newBlockCount"
QT_MOC_LITERAL(14, 165, 19), // "modificationChanged"
QT_MOC_LITERAL(15, 185, 12), // "setPlainText"
QT_MOC_LITERAL(16, 198, 4), // "text"
QT_MOC_LITERAL(17, 203, 3), // "cut"
QT_MOC_LITERAL(18, 207, 4), // "copy"
QT_MOC_LITERAL(19, 212, 5), // "paste"
QT_MOC_LITERAL(20, 218, 4), // "undo"
QT_MOC_LITERAL(21, 223, 4), // "redo"
QT_MOC_LITERAL(22, 228, 5), // "clear"
QT_MOC_LITERAL(23, 234, 9), // "selectAll"
QT_MOC_LITERAL(24, 244, 15), // "insertPlainText"
QT_MOC_LITERAL(25, 260, 15), // "appendPlainText"
QT_MOC_LITERAL(26, 276, 10), // "appendHtml"
QT_MOC_LITERAL(27, 287, 4), // "html"
QT_MOC_LITERAL(28, 292, 12), // "centerCursor"
QT_MOC_LITERAL(29, 305, 6), // "zoomIn"
QT_MOC_LITERAL(30, 312, 5), // "range"
QT_MOC_LITERAL(31, 318, 7), // "zoomOut"
QT_MOC_LITERAL(32, 326, 18), // "_q_repaintContents"
QT_MOC_LITERAL(33, 345, 1), // "r"
QT_MOC_LITERAL(34, 347, 14), // "_q_textChanged"
QT_MOC_LITERAL(35, 362, 19), // "_q_adjustScrollbars"
QT_MOC_LITERAL(36, 382, 35), // "_q_verticalScrollbarActionTri..."
QT_MOC_LITERAL(37, 418, 24), // "_q_cursorPositionChanged"
QT_MOC_LITERAL(38, 443, 16), // "inputMethodQuery"
QT_MOC_LITERAL(39, 460, 20), // "Qt::InputMethodQuery"
QT_MOC_LITERAL(40, 481, 5), // "query"
QT_MOC_LITERAL(41, 487, 8), // "argument"
QT_MOC_LITERAL(42, 496, 15), // "tabChangesFocus"
QT_MOC_LITERAL(43, 512, 13), // "documentTitle"
QT_MOC_LITERAL(44, 526, 15), // "undoRedoEnabled"
QT_MOC_LITERAL(45, 542, 12), // "lineWrapMode"
QT_MOC_LITERAL(46, 555, 12), // "LineWrapMode"
QT_MOC_LITERAL(47, 568, 8), // "readOnly"
QT_MOC_LITERAL(48, 577, 9), // "plainText"
QT_MOC_LITERAL(49, 587, 13), // "overwriteMode"
QT_MOC_LITERAL(50, 601, 12), // "tabStopWidth"
QT_MOC_LITERAL(51, 614, 15), // "tabStopDistance"
QT_MOC_LITERAL(52, 630, 11), // "cursorWidth"
QT_MOC_LITERAL(53, 642, 20), // "textInteractionFlags"
QT_MOC_LITERAL(54, 663, 24), // "Qt::TextInteractionFlags"
QT_MOC_LITERAL(55, 688, 10), // "blockCount"
QT_MOC_LITERAL(56, 699, 17), // "maximumBlockCount"
QT_MOC_LITERAL(57, 717, 17), // "backgroundVisible"
QT_MOC_LITERAL(58, 735, 14), // "centerOnScroll"
QT_MOC_LITERAL(59, 750, 15), // "placeholderText"
QT_MOC_LITERAL(60, 766, 6), // "NoWrap"
QT_MOC_LITERAL(61, 773, 11) // "WidgetWidth"

    },
    "QPlainTextEdit\0textChanged\0\0undoAvailable\0"
    "b\0redoAvailable\0copyAvailable\0"
    "selectionChanged\0cursorPositionChanged\0"
    "updateRequest\0rect\0dy\0blockCountChanged\0"
    "newBlockCount\0modificationChanged\0"
    "setPlainText\0text\0cut\0copy\0paste\0undo\0"
    "redo\0clear\0selectAll\0insertPlainText\0"
    "appendPlainText\0appendHtml\0html\0"
    "centerCursor\0zoomIn\0range\0zoomOut\0"
    "_q_repaintContents\0r\0_q_textChanged\0"
    "_q_adjustScrollbars\0"
    "_q_verticalScrollbarActionTriggered\0"
    "_q_cursorPositionChanged\0inputMethodQuery\0"
    "Qt::InputMethodQuery\0query\0argument\0"
    "tabChangesFocus\0documentTitle\0"
    "undoRedoEnabled\0lineWrapMode\0LineWrapMode\0"
    "readOnly\0plainText\0overwriteMode\0"
    "tabStopWidth\0tabStopDistance\0cursorWidth\0"
    "textInteractionFlags\0Qt::TextInteractionFlags\0"
    "blockCount\0maximumBlockCount\0"
    "backgroundVisible\0centerOnScroll\0"
    "placeholderText\0NoWrap\0WidgetWidth"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_QPlainTextEdit[] = {

 // content:
       8,       // revision
       0,       // classname
       0,    0, // classinfo
      31,   14, // methods
      16,  234, // properties
       1,  298, // enums/sets
       0,    0, // constructors
       0,       // flags
       9,       // signalCount

 // signals: name, argc, parameters, tag, flags
       1,    0,  169,    2, 0x06 /* Public */,
       3,    1,  170,    2, 0x06 /* Public */,
       5,    1,  173,    2, 0x06 /* Public */,
       6,    1,  176,    2, 0x06 /* Public */,
       7,    0,  179,    2, 0x06 /* Public */,
       8,    0,  180,    2, 0x06 /* Public */,
       9,    2,  181,    2, 0x06 /* Public */,
      12,    1,  186,    2, 0x06 /* Public */,
      14,    1,  189,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      15,    1,  192,    2, 0x0a /* Public */,
      17,    0,  195,    2, 0x0a /* Public */,
      18,    0,  196,    2, 0x0a /* Public */,
      19,    0,  197,    2, 0x0a /* Public */,
      20,    0,  198,    2, 0x0a /* Public */,
      21,    0,  199,    2, 0x0a /* Public */,
      22,    0,  200,    2, 0x0a /* Public */,
      23,    0,  201,    2, 0x0a /* Public */,
      24,    1,  202,    2, 0x0a /* Public */,
      25,    1,  205,    2, 0x0a /* Public */,
      26,    1,  208,    2, 0x0a /* Public */,
      28,    0,  211,    2, 0x0a /* Public */,
      29,    1,  212,    2, 0x0a /* Public */,
      29,    0,  215,    2, 0x2a /* Public | MethodCloned */,
      31,    1,  216,    2, 0x0a /* Public */,
      31,    0,  219,    2, 0x2a /* Public | MethodCloned */,
      32,    1,  220,    2, 0x08 /* Private */,
      34,    0,  223,    2, 0x08 /* Private */,
      35,    0,  224,    2, 0x08 /* Private */,
      36,    1,  225,    2, 0x08 /* Private */,
      37,    0,  228,    2, 0x08 /* Private */,

 // methods: name, argc, parameters, tag, flags
      38,    2,  229,    2, 0x02 /* Public */,

 // signals: parameters
    QMetaType::Void,
    QMetaType::Void, QMetaType::Bool,    4,
    QMetaType::Void, QMetaType::Bool,    4,
    QMetaType::Void, QMetaType::Bool,    4,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QRect, QMetaType::Int,   10,   11,
    QMetaType::Void, QMetaType::Int,   13,
    QMetaType::Void, QMetaType::Bool,    2,

 // slots: parameters
    QMetaType::Void, QMetaType::QString,   16,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString,   16,
    QMetaType::Void, QMetaType::QString,   16,
    QMetaType::Void, QMetaType::QString,   27,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int,   30,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int,   30,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QRectF,   33,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int,    2,
    QMetaType::Void,

 // methods: parameters
    QMetaType::QVariant, 0x80000000 | 39, QMetaType::QVariant,   40,   41,

 // properties: name, type, flags
      42, QMetaType::Bool, 0x00095103,
      43, QMetaType::QString, 0x00095103,
      44, QMetaType::Bool, 0x00095103,
      45, 0x80000000 | 46, 0x0009510b,
      47, QMetaType::Bool, 0x00095103,
      48, QMetaType::QString, 0x00595103,
      49, QMetaType::Bool, 0x00095103,
      50, QMetaType::Int, 0x00095103,
      51, QMetaType::QReal, 0x00095103,
      52, QMetaType::Int, 0x00095103,
      53, 0x80000000 | 54, 0x0009510b,
      55, QMetaType::Int, 0x00095001,
      56, QMetaType::Int, 0x00095103,
      57, QMetaType::Bool, 0x00095103,
      58, QMetaType::Bool, 0x00095103,
      59, QMetaType::QString, 0x00095103,

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

 // enums: name, alias, flags, count, data
      46,   46, 0x0,    2,  303,

 // enum data: key, value
      60, uint(QPlainTextEdit::NoWrap),
      61, uint(QPlainTextEdit::WidgetWidth),

       0        // eod
};

void QPlainTextEdit::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<QPlainTextEdit *>(_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->copyAvailable((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 4: _t->selectionChanged(); break;
        case 5: _t->cursorPositionChanged(); break;
        case 6: _t->updateRequest((*reinterpret_cast< const QRect(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 7: _t->blockCountChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 8: _t->modificationChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 9: _t->setPlainText((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 10: _t->cut(); break;
        case 11: _t->copy(); break;
        case 12: _t->paste(); break;
        case 13: _t->undo(); break;
        case 14: _t->redo(); break;
        case 15: _t->clear(); break;
        case 16: _t->selectAll(); break;
        case 17: _t->insertPlainText((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 18: _t->appendPlainText((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 19: _t->appendHtml((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 20: _t->centerCursor(); break;
        case 21: _t->zoomIn((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 22: _t->zoomIn(); break;
        case 23: _t->zoomOut((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 24: _t->zoomOut(); break;
        case 25: _t->d_func()->_q_repaintContents((*reinterpret_cast< const QRectF(*)>(_a[1]))); break;
        case 26: _t->d_func()->_q_textChanged(); break;
        case 27: _t->d_func()->_q_adjustScrollbars(); break;
        case 28: _t->d_func()->_q_verticalScrollbarActionTriggered((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 29: _t->d_func()->_q_cursorPositionChanged(); break;
        case 30: { 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 (QPlainTextEdit::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QPlainTextEdit::textChanged)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (QPlainTextEdit::*)(bool );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QPlainTextEdit::undoAvailable)) {
                *result = 1;
                return;
            }
        }
        {
            using _t = void (QPlainTextEdit::*)(bool );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QPlainTextEdit::redoAvailable)) {
                *result = 2;
                return;
            }
        }
        {
            using _t = void (QPlainTextEdit::*)(bool );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QPlainTextEdit::copyAvailable)) {
                *result = 3;
                return;
            }
        }
        {
            using _t = void (QPlainTextEdit::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QPlainTextEdit::selectionChanged)) {
                *result = 4;
                return;
            }
        }
        {
            using _t = void (QPlainTextEdit::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QPlainTextEdit::cursorPositionChanged)) {
                *result = 5;
                return;
            }
        }
        {
            using _t = void (QPlainTextEdit::*)(const QRect & , int );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QPlainTextEdit::updateRequest)) {
                *result = 6;
                return;
            }
        }
        {
            using _t = void (QPlainTextEdit::*)(int );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QPlainTextEdit::blockCountChanged)) {
                *result = 7;
                return;
            }
        }
        {
            using _t = void (QPlainTextEdit::*)(bool );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QPlainTextEdit::modificationChanged)) {
                *result = 8;
                return;
            }
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        auto *_t = static_cast<QPlainTextEdit *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< bool*>(_v) = _t->tabChangesFocus(); break;
        case 1: *reinterpret_cast< QString*>(_v) = _t->documentTitle(); break;
        case 2: *reinterpret_cast< bool*>(_v) = _t->isUndoRedoEnabled(); break;
        case 3: *reinterpret_cast< LineWrapMode*>(_v) = _t->lineWrapMode(); break;
        case 4: *reinterpret_cast< bool*>(_v) = _t->isReadOnly(); break;
        case 5: *reinterpret_cast< QString*>(_v) = _t->toPlainText(); break;
        case 6: *reinterpret_cast< bool*>(_v) = _t->overwriteMode(); break;
        case 7: *reinterpret_cast< int*>(_v) = _t->tabStopWidth(); break;
        case 8: *reinterpret_cast< qreal*>(_v) = _t->tabStopDistance(); break;
        case 9: *reinterpret_cast< int*>(_v) = _t->cursorWidth(); break;
        case 10: *reinterpret_cast< Qt::TextInteractionFlags*>(_v) = _t->textInteractionFlags(); break;
        case 11: *reinterpret_cast< int*>(_v) = _t->blockCount(); break;
        case 12: *reinterpret_cast< int*>(_v) = _t->maximumBlockCount(); break;
        case 13: *reinterpret_cast< bool*>(_v) = _t->backgroundVisible(); break;
        case 14: *reinterpret_cast< bool*>(_v) = _t->centerOnScroll(); break;
        case 15: *reinterpret_cast< QString*>(_v) = _t->placeholderText(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        auto *_t = static_cast<QPlainTextEdit *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setTabChangesFocus(*reinterpret_cast< bool*>(_v)); break;
        case 1: _t->setDocumentTitle(*reinterpret_cast< QString*>(_v)); break;
        case 2: _t->setUndoRedoEnabled(*reinterpret_cast< bool*>(_v)); break;
        case 3: _t->setLineWrapMode(*reinterpret_cast< LineWrapMode*>(_v)); break;
        case 4: _t->setReadOnly(*reinterpret_cast< bool*>(_v)); break;
        case 5: _t->setPlainText(*reinterpret_cast< QString*>(_v)); break;
        case 6: _t->setOverwriteMode(*reinterpret_cast< bool*>(_v)); break;
        case 7: _t->setTabStopWidth(*reinterpret_cast< int*>(_v)); break;
        case 8: _t->setTabStopDistance(*reinterpret_cast< qreal*>(_v)); break;
        case 9: _t->setCursorWidth(*reinterpret_cast< int*>(_v)); break;
        case 10: _t->setTextInteractionFlags(*reinterpret_cast< Qt::TextInteractionFlags*>(_v)); break;
        case 12: _t->setMaximumBlockCount(*reinterpret_cast< int*>(_v)); break;
        case 13: _t->setBackgroundVisible(*reinterpret_cast< bool*>(_v)); break;
        case 14: _t->setCenterOnScroll(*reinterpret_cast< bool*>(_v)); break;
        case 15: _t->setPlaceholderText(*reinterpret_cast< QString*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

QT_INIT_METAOBJECT const QMetaObject QPlainTextEdit::staticMetaObject = { {
    QMetaObject::SuperData::link<QAbstractScrollArea::staticMetaObject>(),
    qt_meta_stringdata_QPlainTextEdit.data,
    qt_meta_data_QPlainTextEdit,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

int QPlainTextEdit::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 < 31)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 31;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 31)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 31;
    }
#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 -= 16;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 16;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 16;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 16;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 16;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 16;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

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

// SIGNAL 1
void QPlainTextEdit::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 QPlainTextEdit::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 QPlainTextEdit::copyAvailable(bool _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 3, _a);
}

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

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

// SIGNAL 6
void QPlainTextEdit::updateRequest(const QRect & _t1, int _t2)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) };
    QMetaObject::activate(this, &staticMetaObject, 6, _a);
}

// SIGNAL 7
void QPlainTextEdit::blockCountChanged(int _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 7, _a);
}

// SIGNAL 8
void QPlainTextEdit::modificationChanged(bool _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 8, _a);
}
struct qt_meta_stringdata_QPlainTextDocumentLayout_t {
    QByteArrayData data[2];
    char stringdata0[37];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_QPlainTextDocumentLayout_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_QPlainTextDocumentLayout_t qt_meta_stringdata_QPlainTextDocumentLayout = {
    {
QT_MOC_LITERAL(0, 0, 24), // "QPlainTextDocumentLayout"
QT_MOC_LITERAL(1, 25, 11) // "cursorWidth"

    },
    "QPlainTextDocumentLayout\0cursorWidth"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_QPlainTextDocumentLayout[] = {

 // content:
       8,       // revision
       0,       // classname
       0,    0, // classinfo
       0,    0, // methods
       1,   14, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
       0,       // signalCount

 // properties: name, type, flags
       1, QMetaType::Int, 0x00095103,

       0        // eod
};

void QPlainTextDocumentLayout::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{

#ifndef QT_NO_PROPERTIES
    if (_c == QMetaObject::ReadProperty) {
        auto *_t = static_cast<QPlainTextDocumentLayout *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< int*>(_v) = _t->cursorWidth(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        auto *_t = static_cast<QPlainTextDocumentLayout *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setCursorWidth(*reinterpret_cast< int*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
    (void)_o;
    (void)_id;
    (void)_c;
    (void)_a;
}

QT_INIT_METAOBJECT const QMetaObject QPlainTextDocumentLayout::staticMetaObject = { {
    QMetaObject::SuperData::link<QAbstractTextDocumentLayout::staticMetaObject>(),
    qt_meta_stringdata_QPlainTextDocumentLayout.data,
    qt_meta_data_QPlainTextDocumentLayout,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

int QPlainTextDocumentLayout::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QAbstractTextDocumentLayout::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    
#ifndef QT_NO_PROPERTIES
    if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
            || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {
        qt_static_metacall(this, _c, _id, _a);
        _id -= 1;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 1;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 1;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 1;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 1;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 1;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
