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

#include "../../../../src/qtbase-opensource-src-5.5.1/src/widgets/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.5.1. 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
struct qt_meta_stringdata_QPlainTextEdit_t {
    QByteArrayData data[60];
    char stringdata0[754];
};
#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, 19), // "_q_adjustScrollbars"
QT_MOC_LITERAL(35, 367, 35), // "_q_verticalScrollbarActionTri..."
QT_MOC_LITERAL(36, 403, 24), // "_q_cursorPositionChanged"
QT_MOC_LITERAL(37, 428, 16), // "inputMethodQuery"
QT_MOC_LITERAL(38, 445, 20), // "Qt::InputMethodQuery"
QT_MOC_LITERAL(39, 466, 5), // "query"
QT_MOC_LITERAL(40, 472, 8), // "argument"
QT_MOC_LITERAL(41, 481, 15), // "tabChangesFocus"
QT_MOC_LITERAL(42, 497, 13), // "documentTitle"
QT_MOC_LITERAL(43, 511, 15), // "undoRedoEnabled"
QT_MOC_LITERAL(44, 527, 12), // "lineWrapMode"
QT_MOC_LITERAL(45, 540, 12), // "LineWrapMode"
QT_MOC_LITERAL(46, 553, 8), // "readOnly"
QT_MOC_LITERAL(47, 562, 9), // "plainText"
QT_MOC_LITERAL(48, 572, 13), // "overwriteMode"
QT_MOC_LITERAL(49, 586, 12), // "tabStopWidth"
QT_MOC_LITERAL(50, 599, 11), // "cursorWidth"
QT_MOC_LITERAL(51, 611, 20), // "textInteractionFlags"
QT_MOC_LITERAL(52, 632, 24), // "Qt::TextInteractionFlags"
QT_MOC_LITERAL(53, 657, 10), // "blockCount"
QT_MOC_LITERAL(54, 668, 17), // "maximumBlockCount"
QT_MOC_LITERAL(55, 686, 17), // "backgroundVisible"
QT_MOC_LITERAL(56, 704, 14), // "centerOnScroll"
QT_MOC_LITERAL(57, 719, 15), // "placeholderText"
QT_MOC_LITERAL(58, 735, 6), // "NoWrap"
QT_MOC_LITERAL(59, 742, 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_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\0cursorWidth\0textInteractionFlags\0"
    "Qt::TextInteractionFlags\0blockCount\0"
    "maximumBlockCount\0backgroundVisible\0"
    "centerOnScroll\0placeholderText\0NoWrap\0"
    "WidgetWidth"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_QPlainTextEdit[] = {

 // content:
       7,       // revision
       0,       // classname
       0,    0, // classinfo
      30,   14, // methods
      15,  228, // properties
       1,  288, // enums/sets
       0,    0, // constructors
       0,       // flags
       9,       // signalCount

 // signals: name, argc, parameters, tag, flags
       1,    0,  164,    2, 0x06 /* Public */,
       3,    1,  165,    2, 0x06 /* Public */,
       5,    1,  168,    2, 0x06 /* Public */,
       6,    1,  171,    2, 0x06 /* Public */,
       7,    0,  174,    2, 0x06 /* Public */,
       8,    0,  175,    2, 0x06 /* Public */,
       9,    2,  176,    2, 0x06 /* Public */,
      12,    1,  181,    2, 0x06 /* Public */,
      14,    1,  184,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      15,    1,  187,    2, 0x0a /* Public */,
      17,    0,  190,    2, 0x0a /* Public */,
      18,    0,  191,    2, 0x0a /* Public */,
      19,    0,  192,    2, 0x0a /* Public */,
      20,    0,  193,    2, 0x0a /* Public */,
      21,    0,  194,    2, 0x0a /* Public */,
      22,    0,  195,    2, 0x0a /* Public */,
      23,    0,  196,    2, 0x0a /* Public */,
      24,    1,  197,    2, 0x0a /* Public */,
      25,    1,  200,    2, 0x0a /* Public */,
      26,    1,  203,    2, 0x0a /* Public */,
      28,    0,  206,    2, 0x0a /* Public */,
      29,    1,  207,    2, 0x0a /* Public */,
      29,    0,  210,    2, 0x2a /* Public | MethodCloned */,
      31,    1,  211,    2, 0x0a /* Public */,
      31,    0,  214,    2, 0x2a /* Public | MethodCloned */,
      32,    1,  215,    2, 0x08 /* Private */,
      34,    0,  218,    2, 0x08 /* Private */,
      35,    1,  219,    2, 0x08 /* Private */,
      36,    0,  222,    2, 0x08 /* Private */,

 // methods: name, argc, parameters, tag, flags
      37,    2,  223,    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::Int,    2,
    QMetaType::Void,

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

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

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

 // enums: name, flags, count, data
      45, 0x0,    2,  292,

 // enum data: key, value
      58, uint(QPlainTextEdit::NoWrap),
      59, uint(QPlainTextEdit::WidgetWidth),

       0        // eod
};

void QPlainTextEdit::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        QPlainTextEdit *_t = static_cast<QPlainTextEdit *>(_o);
        Q_UNUSED(_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_adjustScrollbars(); break;
        case 27: _t->d_func()->_q_verticalScrollbarActionTriggered((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 28: _t->d_func()->_q_cursorPositionChanged(); break;
        case 29: { QVariant _r = _t->inputMethodQuery((*reinterpret_cast< Qt::InputMethodQuery(*)>(_a[1])),(*reinterpret_cast< QVariant(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< QVariant*>(_a[0]) = _r; }  break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (QPlainTextEdit::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QPlainTextEdit::textChanged)) {
                *result = 0;
            }
        }
        {
            typedef void (QPlainTextEdit::*_t)(bool );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QPlainTextEdit::undoAvailable)) {
                *result = 1;
            }
        }
        {
            typedef void (QPlainTextEdit::*_t)(bool );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QPlainTextEdit::redoAvailable)) {
                *result = 2;
            }
        }
        {
            typedef void (QPlainTextEdit::*_t)(bool );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QPlainTextEdit::copyAvailable)) {
                *result = 3;
            }
        }
        {
            typedef void (QPlainTextEdit::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QPlainTextEdit::selectionChanged)) {
                *result = 4;
            }
        }
        {
            typedef void (QPlainTextEdit::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QPlainTextEdit::cursorPositionChanged)) {
                *result = 5;
            }
        }
        {
            typedef void (QPlainTextEdit::*_t)(const QRect & , int );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QPlainTextEdit::updateRequest)) {
                *result = 6;
            }
        }
        {
            typedef void (QPlainTextEdit::*_t)(int );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QPlainTextEdit::blockCountChanged)) {
                *result = 7;
            }
        }
        {
            typedef void (QPlainTextEdit::*_t)(bool );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QPlainTextEdit::modificationChanged)) {
                *result = 8;
            }
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        QPlainTextEdit *_t = static_cast<QPlainTextEdit *>(_o);
        Q_UNUSED(_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< int*>(_v) = _t->cursorWidth(); break;
        case 9: *reinterpret_cast< Qt::TextInteractionFlags*>(_v) = _t->textInteractionFlags(); break;
        case 10: *reinterpret_cast< int*>(_v) = _t->blockCount(); break;
        case 11: *reinterpret_cast< int*>(_v) = _t->maximumBlockCount(); break;
        case 12: *reinterpret_cast< bool*>(_v) = _t->backgroundVisible(); break;
        case 13: *reinterpret_cast< bool*>(_v) = _t->centerOnScroll(); break;
        case 14: *reinterpret_cast< QString*>(_v) = _t->placeholderText(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        QPlainTextEdit *_t = static_cast<QPlainTextEdit *>(_o);
        Q_UNUSED(_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->setCursorWidth(*reinterpret_cast< int*>(_v)); break;
        case 9: _t->setTextInteractionFlags(*reinterpret_cast< Qt::TextInteractionFlags*>(_v)); break;
        case 11: _t->setMaximumBlockCount(*reinterpret_cast< int*>(_v)); break;
        case 12: _t->setBackgroundVisible(*reinterpret_cast< bool*>(_v)); break;
        case 13: _t->setCenterOnScroll(*reinterpret_cast< bool*>(_v)); break;
        case 14: _t->setPlaceholderText(*reinterpret_cast< QString*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

const QMetaObject QPlainTextEdit::staticMetaObject = {
    { &QAbstractScrollArea::staticMetaObject, qt_meta_stringdata_QPlainTextEdit.data,
      qt_meta_data_QPlainTextEdit,  qt_static_metacall, Q_NULLPTR, Q_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 Q_NULLPTR;
    if (!strcmp(_clname, qt_meta_stringdata_QPlainTextEdit.stringdata0))
        return static_cast<void*>(const_cast< QPlainTextEdit*>(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 < 30)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 30;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 30)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 30;
    }
#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 -= 15;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 15;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 15;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 15;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 15;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 15;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

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

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

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

// SIGNAL 3
void QPlainTextEdit::copyAvailable(bool _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 3, _a);
}

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

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

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

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

// SIGNAL 8
void QPlainTextEdit::modificationChanged(bool _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_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:
       7,       // 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) {
        QPlainTextDocumentLayout *_t = static_cast<QPlainTextDocumentLayout *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< int*>(_v) = _t->cursorWidth(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        QPlainTextDocumentLayout *_t = static_cast<QPlainTextDocumentLayout *>(_o);
        Q_UNUSED(_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
    Q_UNUSED(_o);
    Q_UNUSED(_id);
    Q_UNUSED(_c);
    Q_UNUSED(_a);
}

const QMetaObject QPlainTextDocumentLayout::staticMetaObject = {
    { &QAbstractTextDocumentLayout::staticMetaObject, qt_meta_stringdata_QPlainTextDocumentLayout.data,
      qt_meta_data_QPlainTextDocumentLayout,  qt_static_metacall, Q_NULLPTR, Q_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 Q_NULLPTR;
    if (!strcmp(_clname, qt_meta_stringdata_QPlainTextDocumentLayout.stringdata0))
        return static_cast<void*>(const_cast< QPlainTextDocumentLayout*>(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_END_MOC_NAMESPACE
