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

#include <memory>
#include "../../src/texteditor.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'texteditor.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.15.18. 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_TextEditor_t {
    QByteArrayData data[13];
    char stringdata0[173];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_TextEditor_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_TextEditor_t qt_meta_stringdata_TextEditor = {
    {
QT_MOC_LITERAL(0, 0, 10), // "TextEditor"
QT_MOC_LITERAL(1, 11, 17), // "showParameterInfo"
QT_MOC_LITERAL(2, 29, 0), // ""
QT_MOC_LITERAL(3, 30, 13), // "escapePressed"
QT_MOC_LITERAL(4, 44, 12), // "enterPressed"
QT_MOC_LITERAL(5, 57, 12), // "arrowPressed"
QT_MOC_LITERAL(6, 70, 10), // "tabPressed"
QT_MOC_LITERAL(7, 81, 14), // "backtabPressed"
QT_MOC_LITERAL(8, 96, 7), // "newLine"
QT_MOC_LITERAL(9, 104, 13), // "requestIndent"
QT_MOC_LITERAL(10, 118, 15), // "requestUnindent"
QT_MOC_LITERAL(11, 134, 24), // "requestParameterModeExit"
QT_MOC_LITERAL(12, 159, 13) // "mouseReleased"

    },
    "TextEditor\0showParameterInfo\0\0"
    "escapePressed\0enterPressed\0arrowPressed\0"
    "tabPressed\0backtabPressed\0newLine\0"
    "requestIndent\0requestUnindent\0"
    "requestParameterModeExit\0mouseReleased"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_TextEditor[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    0,   69,    2, 0x06 /* Public */,
       3,    0,   70,    2, 0x06 /* Public */,
       4,    0,   71,    2, 0x06 /* Public */,
       5,    0,   72,    2, 0x06 /* Public */,
       6,    0,   73,    2, 0x06 /* Public */,
       7,    0,   74,    2, 0x06 /* Public */,
       8,    0,   75,    2, 0x06 /* Public */,
       9,    0,   76,    2, 0x06 /* Public */,
      10,    0,   77,    2, 0x06 /* Public */,
      11,    0,   78,    2, 0x06 /* Public */,
      12,    0,   79,    2, 0x06 /* Public */,

 // signals: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,

       0        // eod
};

void TextEditor::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<TextEditor *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->showParameterInfo(); break;
        case 1: _t->escapePressed(); break;
        case 2: _t->enterPressed(); break;
        case 3: _t->arrowPressed(); break;
        case 4: _t->tabPressed(); break;
        case 5: _t->backtabPressed(); break;
        case 6: _t->newLine(); break;
        case 7: _t->requestIndent(); break;
        case 8: _t->requestUnindent(); break;
        case 9: _t->requestParameterModeExit(); break;
        case 10: _t->mouseReleased(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (TextEditor::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TextEditor::showParameterInfo)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (TextEditor::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TextEditor::escapePressed)) {
                *result = 1;
                return;
            }
        }
        {
            using _t = void (TextEditor::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TextEditor::enterPressed)) {
                *result = 2;
                return;
            }
        }
        {
            using _t = void (TextEditor::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TextEditor::arrowPressed)) {
                *result = 3;
                return;
            }
        }
        {
            using _t = void (TextEditor::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TextEditor::tabPressed)) {
                *result = 4;
                return;
            }
        }
        {
            using _t = void (TextEditor::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TextEditor::backtabPressed)) {
                *result = 5;
                return;
            }
        }
        {
            using _t = void (TextEditor::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TextEditor::newLine)) {
                *result = 6;
                return;
            }
        }
        {
            using _t = void (TextEditor::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TextEditor::requestIndent)) {
                *result = 7;
                return;
            }
        }
        {
            using _t = void (TextEditor::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TextEditor::requestUnindent)) {
                *result = 8;
                return;
            }
        }
        {
            using _t = void (TextEditor::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TextEditor::requestParameterModeExit)) {
                *result = 9;
                return;
            }
        }
        {
            using _t = void (TextEditor::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TextEditor::mouseReleased)) {
                *result = 10;
                return;
            }
        }
    }
    (void)_a;
}

QT_INIT_METAOBJECT const QMetaObject TextEditor::staticMetaObject = { {
    QMetaObject::SuperData::link<QTextEdit::staticMetaObject>(),
    qt_meta_stringdata_TextEditor.data,
    qt_meta_data_TextEditor,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

int TextEditor::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QTextEdit::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 11)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 11;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 11)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 11;
    }
    return _id;
}

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

// SIGNAL 1
void TextEditor::escapePressed()
{
    QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
}

// SIGNAL 2
void TextEditor::enterPressed()
{
    QMetaObject::activate(this, &staticMetaObject, 2, nullptr);
}

// SIGNAL 3
void TextEditor::arrowPressed()
{
    QMetaObject::activate(this, &staticMetaObject, 3, nullptr);
}

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

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

// SIGNAL 6
void TextEditor::newLine()
{
    QMetaObject::activate(this, &staticMetaObject, 6, nullptr);
}

// SIGNAL 7
void TextEditor::requestIndent()
{
    QMetaObject::activate(this, &staticMetaObject, 7, nullptr);
}

// SIGNAL 8
void TextEditor::requestUnindent()
{
    QMetaObject::activate(this, &staticMetaObject, 8, nullptr);
}

// SIGNAL 9
void TextEditor::requestParameterModeExit()
{
    QMetaObject::activate(this, &staticMetaObject, 9, nullptr);
}

// SIGNAL 10
void TextEditor::mouseReleased()
{
    QMetaObject::activate(this, &staticMetaObject, 10, nullptr);
}
struct qt_meta_stringdata_TextEditLineNumbers_t {
    QByteArrayData data[7];
    char stringdata0[91];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_TextEditLineNumbers_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_TextEditLineNumbers_t qt_meta_stringdata_TextEditLineNumbers = {
    {
QT_MOC_LITERAL(0, 0, 19), // "TextEditLineNumbers"
QT_MOC_LITERAL(1, 20, 13), // "markDebugLine"
QT_MOC_LITERAL(2, 34, 0), // ""
QT_MOC_LITERAL(3, 35, 4), // "line"
QT_MOC_LITERAL(4, 40, 15), // "unmarkDebugLine"
QT_MOC_LITERAL(5, 56, 19), // "setCurrentDebugLine"
QT_MOC_LITERAL(6, 76, 14) // "updateLineArea"

    },
    "TextEditLineNumbers\0markDebugLine\0\0"
    "line\0unmarkDebugLine\0setCurrentDebugLine\0"
    "updateLineArea"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_TextEditLineNumbers[] = {

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

 // slots: name, argc, parameters, tag, flags
       1,    1,   39,    2, 0x0a /* Public */,
       4,    1,   42,    2, 0x0a /* Public */,
       5,    1,   45,    2, 0x0a /* Public */,
       6,    1,   48,    2, 0x08 /* Private */,
       6,    0,   51,    2, 0x08 /* Private */,

 // slots: parameters
    QMetaType::Void, QMetaType::Int,    3,
    QMetaType::Void, QMetaType::Int,    3,
    QMetaType::Void, QMetaType::Int,    3,
    QMetaType::Void, QMetaType::Int,    2,
    QMetaType::Void,

       0        // eod
};

void TextEditLineNumbers::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<TextEditLineNumbers *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->markDebugLine((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 1: _t->unmarkDebugLine((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 2: _t->setCurrentDebugLine((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 3: _t->updateLineArea((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 4: _t->updateLineArea(); break;
        default: ;
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject TextEditLineNumbers::staticMetaObject = { {
    QMetaObject::SuperData::link<TextEditor::staticMetaObject>(),
    qt_meta_stringdata_TextEditLineNumbers.data,
    qt_meta_data_TextEditLineNumbers,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

int TextEditLineNumbers::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = TextEditor::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 5)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 5;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 5)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 5;
    }
    return _id;
}
struct qt_meta_stringdata_LineNumberArea_t {
    QByteArrayData data[1];
    char stringdata0[15];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_LineNumberArea_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_LineNumberArea_t qt_meta_stringdata_LineNumberArea = {
    {
QT_MOC_LITERAL(0, 0, 14) // "LineNumberArea"

    },
    "LineNumberArea"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_LineNumberArea[] = {

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

       0        // eod
};

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

QT_INIT_METAOBJECT const QMetaObject LineNumberArea::staticMetaObject = { {
    QMetaObject::SuperData::link<QWidget::staticMetaObject>(),
    qt_meta_stringdata_LineNumberArea.data,
    qt_meta_data_LineNumberArea,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

int LineNumberArea::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QWidget::qt_metacall(_c, _id, _a);
    return _id;
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
