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

#include "../../../../../src/qttools-opensource-src-5.9.3/src/linguist/linguist/messageeditor.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'messageeditor.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.9.3. 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_MessageEditor_t {
    QByteArrayData data[46];
    char stringdata0[643];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_MessageEditor_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_MessageEditor_t qt_meta_stringdata_MessageEditor = {
    {
QT_MOC_LITERAL(0, 0, 13), // "MessageEditor"
QT_MOC_LITERAL(1, 14, 18), // "translationChanged"
QT_MOC_LITERAL(2, 33, 0), // ""
QT_MOC_LITERAL(3, 34, 12), // "translations"
QT_MOC_LITERAL(4, 47, 24), // "translatorCommentChanged"
QT_MOC_LITERAL(5, 72, 7), // "comment"
QT_MOC_LITERAL(6, 80, 18), // "activeModelChanged"
QT_MOC_LITERAL(7, 99, 5), // "model"
QT_MOC_LITERAL(8, 105, 13), // "undoAvailable"
QT_MOC_LITERAL(9, 119, 5), // "avail"
QT_MOC_LITERAL(10, 125, 13), // "redoAvailable"
QT_MOC_LITERAL(11, 139, 12), // "cutAvailable"
QT_MOC_LITERAL(12, 152, 13), // "copyAvailable"
QT_MOC_LITERAL(13, 166, 14), // "pasteAvailable"
QT_MOC_LITERAL(14, 181, 24), // "beginFromSourceAvailable"
QT_MOC_LITERAL(15, 206, 6), // "enable"
QT_MOC_LITERAL(16, 213, 4), // "undo"
QT_MOC_LITERAL(17, 218, 4), // "redo"
QT_MOC_LITERAL(18, 223, 3), // "cut"
QT_MOC_LITERAL(19, 227, 4), // "copy"
QT_MOC_LITERAL(20, 232, 5), // "paste"
QT_MOC_LITERAL(21, 238, 9), // "selectAll"
QT_MOC_LITERAL(22, 248, 15), // "beginFromSource"
QT_MOC_LITERAL(23, 264, 14), // "setEditorFocus"
QT_MOC_LITERAL(24, 279, 14), // "setTranslation"
QT_MOC_LITERAL(25, 294, 11), // "latestModel"
QT_MOC_LITERAL(26, 306, 11), // "translation"
QT_MOC_LITERAL(27, 318, 17), // "setLengthVariants"
QT_MOC_LITERAL(28, 336, 2), // "on"
QT_MOC_LITERAL(29, 339, 16), // "increaseFontSize"
QT_MOC_LITERAL(30, 356, 16), // "decreaseFontSize"
QT_MOC_LITERAL(31, 373, 13), // "resetFontSize"
QT_MOC_LITERAL(32, 387, 13), // "editorCreated"
QT_MOC_LITERAL(33, 401, 10), // "QTextEdit*"
QT_MOC_LITERAL(34, 412, 15), // "editorDestroyed"
QT_MOC_LITERAL(35, 428, 16), // "selectionChanged"
QT_MOC_LITERAL(36, 445, 19), // "resetHoverSelection"
QT_MOC_LITERAL(37, 465, 22), // "emitTranslationChanged"
QT_MOC_LITERAL(38, 488, 28), // "emitTranslatorCommentChanged"
QT_MOC_LITERAL(39, 517, 14), // "updateCanPaste"
QT_MOC_LITERAL(40, 532, 16), // "clipboardChanged"
QT_MOC_LITERAL(41, 549, 20), // "messageModelAppended"
QT_MOC_LITERAL(42, 570, 19), // "messageModelDeleted"
QT_MOC_LITERAL(43, 590, 16), // "allModelsDeleted"
QT_MOC_LITERAL(44, 607, 17), // "setTargetLanguage"
QT_MOC_LITERAL(45, 625, 17) // "reallyFixTabOrder"

    },
    "MessageEditor\0translationChanged\0\0"
    "translations\0translatorCommentChanged\0"
    "comment\0activeModelChanged\0model\0"
    "undoAvailable\0avail\0redoAvailable\0"
    "cutAvailable\0copyAvailable\0pasteAvailable\0"
    "beginFromSourceAvailable\0enable\0undo\0"
    "redo\0cut\0copy\0paste\0selectAll\0"
    "beginFromSource\0setEditorFocus\0"
    "setTranslation\0latestModel\0translation\0"
    "setLengthVariants\0on\0increaseFontSize\0"
    "decreaseFontSize\0resetFontSize\0"
    "editorCreated\0QTextEdit*\0editorDestroyed\0"
    "selectionChanged\0resetHoverSelection\0"
    "emitTranslationChanged\0"
    "emitTranslatorCommentChanged\0"
    "updateCanPaste\0clipboardChanged\0"
    "messageModelAppended\0messageModelDeleted\0"
    "allModelsDeleted\0setTargetLanguage\0"
    "reallyFixTabOrder"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_MessageEditor[] = {

 // content:
       7,       // revision
       0,       // classname
       0,    0, // classinfo
      35,   14, // methods
       0,    0, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
       9,       // signalCount

 // signals: name, argc, parameters, tag, flags
       1,    1,  189,    2, 0x06 /* Public */,
       4,    1,  192,    2, 0x06 /* Public */,
       6,    1,  195,    2, 0x06 /* Public */,
       8,    1,  198,    2, 0x06 /* Public */,
      10,    1,  201,    2, 0x06 /* Public */,
      11,    1,  204,    2, 0x06 /* Public */,
      12,    1,  207,    2, 0x06 /* Public */,
      13,    1,  210,    2, 0x06 /* Public */,
      14,    1,  213,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      16,    0,  216,    2, 0x0a /* Public */,
      17,    0,  217,    2, 0x0a /* Public */,
      18,    0,  218,    2, 0x0a /* Public */,
      19,    0,  219,    2, 0x0a /* Public */,
      20,    0,  220,    2, 0x0a /* Public */,
      21,    0,  221,    2, 0x0a /* Public */,
      22,    0,  222,    2, 0x0a /* Public */,
      23,    0,  223,    2, 0x0a /* Public */,
      24,    2,  224,    2, 0x0a /* Public */,
      27,    1,  229,    2, 0x0a /* Public */,
      29,    0,  232,    2, 0x0a /* Public */,
      30,    0,  233,    2, 0x0a /* Public */,
      31,    0,  234,    2, 0x0a /* Public */,
      32,    1,  235,    2, 0x08 /* Private */,
      34,    0,  238,    2, 0x08 /* Private */,
      35,    1,  239,    2, 0x08 /* Private */,
      36,    0,  242,    2, 0x08 /* Private */,
      37,    1,  243,    2, 0x08 /* Private */,
      38,    1,  246,    2, 0x08 /* Private */,
      39,    0,  249,    2, 0x08 /* Private */,
      40,    0,  250,    2, 0x08 /* Private */,
      41,    0,  251,    2, 0x08 /* Private */,
      42,    1,  252,    2, 0x08 /* Private */,
      43,    0,  255,    2, 0x08 /* Private */,
      44,    1,  256,    2, 0x08 /* Private */,
      45,    0,  259,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void, QMetaType::QStringList,    3,
    QMetaType::Void, QMetaType::QString,    5,
    QMetaType::Void, QMetaType::Int,    7,
    QMetaType::Void, QMetaType::Bool,    9,
    QMetaType::Void, QMetaType::Bool,    9,
    QMetaType::Void, QMetaType::Bool,    9,
    QMetaType::Void, QMetaType::Bool,    9,
    QMetaType::Void, QMetaType::Bool,    9,
    QMetaType::Void, QMetaType::Bool,   15,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int, QMetaType::QString,   25,   26,
    QMetaType::Void, QMetaType::Bool,   28,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 33,    2,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 33,    2,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 33,    2,
    QMetaType::Void, 0x80000000 | 33,    2,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int,    7,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int,    7,
    QMetaType::Void,

       0        // eod
};

void MessageEditor::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        MessageEditor *_t = static_cast<MessageEditor *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->translationChanged((*reinterpret_cast< const QStringList(*)>(_a[1]))); break;
        case 1: _t->translatorCommentChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 2: _t->activeModelChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 3: _t->undoAvailable((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 4: _t->redoAvailable((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 5: _t->cutAvailable((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 6: _t->copyAvailable((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 7: _t->pasteAvailable((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 8: _t->beginFromSourceAvailable((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 9: _t->undo(); break;
        case 10: _t->redo(); break;
        case 11: _t->cut(); break;
        case 12: _t->copy(); break;
        case 13: _t->paste(); break;
        case 14: _t->selectAll(); break;
        case 15: _t->beginFromSource(); break;
        case 16: _t->setEditorFocus(); break;
        case 17: _t->setTranslation((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 18: _t->setLengthVariants((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 19: _t->increaseFontSize(); break;
        case 20: _t->decreaseFontSize(); break;
        case 21: _t->resetFontSize(); break;
        case 22: _t->editorCreated((*reinterpret_cast< QTextEdit*(*)>(_a[1]))); break;
        case 23: _t->editorDestroyed(); break;
        case 24: _t->selectionChanged((*reinterpret_cast< QTextEdit*(*)>(_a[1]))); break;
        case 25: _t->resetHoverSelection(); break;
        case 26: _t->emitTranslationChanged((*reinterpret_cast< QTextEdit*(*)>(_a[1]))); break;
        case 27: _t->emitTranslatorCommentChanged((*reinterpret_cast< QTextEdit*(*)>(_a[1]))); break;
        case 28: _t->updateCanPaste(); break;
        case 29: _t->clipboardChanged(); break;
        case 30: _t->messageModelAppended(); break;
        case 31: _t->messageModelDeleted((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 32: _t->allModelsDeleted(); break;
        case 33: _t->setTargetLanguage((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 34: _t->reallyFixTabOrder(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            typedef void (MessageEditor::*_t)(const QStringList & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MessageEditor::translationChanged)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (MessageEditor::*_t)(const QString & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MessageEditor::translatorCommentChanged)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (MessageEditor::*_t)(int );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MessageEditor::activeModelChanged)) {
                *result = 2;
                return;
            }
        }
        {
            typedef void (MessageEditor::*_t)(bool );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MessageEditor::undoAvailable)) {
                *result = 3;
                return;
            }
        }
        {
            typedef void (MessageEditor::*_t)(bool );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MessageEditor::redoAvailable)) {
                *result = 4;
                return;
            }
        }
        {
            typedef void (MessageEditor::*_t)(bool );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MessageEditor::cutAvailable)) {
                *result = 5;
                return;
            }
        }
        {
            typedef void (MessageEditor::*_t)(bool );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MessageEditor::copyAvailable)) {
                *result = 6;
                return;
            }
        }
        {
            typedef void (MessageEditor::*_t)(bool );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MessageEditor::pasteAvailable)) {
                *result = 7;
                return;
            }
        }
        {
            typedef void (MessageEditor::*_t)(bool );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MessageEditor::beginFromSourceAvailable)) {
                *result = 8;
                return;
            }
        }
    }
}

const QMetaObject MessageEditor::staticMetaObject = {
    { &QScrollArea::staticMetaObject, qt_meta_stringdata_MessageEditor.data,
      qt_meta_data_MessageEditor,  qt_static_metacall, nullptr, nullptr}
};


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

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

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

// SIGNAL 0
void MessageEditor::translationChanged(const QStringList & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void MessageEditor::translatorCommentChanged(const QString & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}

// SIGNAL 2
void MessageEditor::activeModelChanged(int _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}

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

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

// SIGNAL 5
void MessageEditor::cutAvailable(bool _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 5, _a);
}

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

// SIGNAL 7
void MessageEditor::pasteAvailable(bool _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 7, _a);
}

// SIGNAL 8
void MessageEditor::beginFromSourceAvailable(bool _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 8, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
