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

#include "../../../src/pimcommon-17.12.3/src/pimcommon/translator/translatorwidget.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'translatorwidget.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.9.4. 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_PimCommon__TranslatorResultTextEdit_t {
    QByteArrayData data[1];
    char stringdata0[36];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_PimCommon__TranslatorResultTextEdit_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_PimCommon__TranslatorResultTextEdit_t qt_meta_stringdata_PimCommon__TranslatorResultTextEdit = {
    {
QT_MOC_LITERAL(0, 0, 35) // "PimCommon::TranslatorResultTe..."

    },
    "PimCommon::TranslatorResultTextEdit"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_PimCommon__TranslatorResultTextEdit[] = {

 // content:
       7,       // 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 PimCommon::TranslatorResultTextEdit::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    Q_UNUSED(_o);
    Q_UNUSED(_id);
    Q_UNUSED(_c);
    Q_UNUSED(_a);
}

const QMetaObject PimCommon::TranslatorResultTextEdit::staticMetaObject = {
    { &KPIMTextEdit::PlainTextEditor::staticMetaObject, qt_meta_stringdata_PimCommon__TranslatorResultTextEdit.data,
      qt_meta_data_PimCommon__TranslatorResultTextEdit,  qt_static_metacall, nullptr, nullptr}
};


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

void *PimCommon::TranslatorResultTextEdit::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_PimCommon__TranslatorResultTextEdit.stringdata0))
        return static_cast<void*>(this);
    return KPIMTextEdit::PlainTextEditor::qt_metacast(_clname);
}

int PimCommon::TranslatorResultTextEdit::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = KPIMTextEdit::PlainTextEditor::qt_metacall(_c, _id, _a);
    return _id;
}
struct qt_meta_stringdata_PimCommon__TranslatorTextEdit_t {
    QByteArrayData data[3];
    char stringdata0[45];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_PimCommon__TranslatorTextEdit_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_PimCommon__TranslatorTextEdit_t qt_meta_stringdata_PimCommon__TranslatorTextEdit = {
    {
QT_MOC_LITERAL(0, 0, 29), // "PimCommon::TranslatorTextEdit"
QT_MOC_LITERAL(1, 30, 13), // "translateText"
QT_MOC_LITERAL(2, 44, 0) // ""

    },
    "PimCommon::TranslatorTextEdit\0"
    "translateText\0"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_PimCommon__TranslatorTextEdit[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    0,   19,    2, 0x06 /* Public */,

 // signals: parameters
    QMetaType::Void,

       0        // eod
};

void PimCommon::TranslatorTextEdit::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        TranslatorTextEdit *_t = static_cast<TranslatorTextEdit *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->translateText(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            typedef void (TranslatorTextEdit::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TranslatorTextEdit::translateText)) {
                *result = 0;
                return;
            }
        }
    }
    Q_UNUSED(_a);
}

const QMetaObject PimCommon::TranslatorTextEdit::staticMetaObject = {
    { &KPIMTextEdit::PlainTextEditor::staticMetaObject, qt_meta_stringdata_PimCommon__TranslatorTextEdit.data,
      qt_meta_data_PimCommon__TranslatorTextEdit,  qt_static_metacall, nullptr, nullptr}
};


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

void *PimCommon::TranslatorTextEdit::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_PimCommon__TranslatorTextEdit.stringdata0))
        return static_cast<void*>(this);
    return KPIMTextEdit::PlainTextEditor::qt_metacast(_clname);
}

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

// SIGNAL 0
void PimCommon::TranslatorTextEdit::translateText()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}
struct qt_meta_stringdata_PimCommon__TranslatorWidget_t {
    QByteArrayData data[16];
    char stringdata0[235];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_PimCommon__TranslatorWidget_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_PimCommon__TranslatorWidget_t qt_meta_stringdata_PimCommon__TranslatorWidget = {
    {
QT_MOC_LITERAL(0, 0, 27), // "PimCommon::TranslatorWidget"
QT_MOC_LITERAL(1, 28, 14), // "toolsWasClosed"
QT_MOC_LITERAL(2, 43, 0), // ""
QT_MOC_LITERAL(3, 44, 13), // "slotTranslate"
QT_MOC_LITERAL(4, 58, 15), // "slotCloseWidget"
QT_MOC_LITERAL(5, 74, 23), // "slotFromLanguageChanged"
QT_MOC_LITERAL(6, 98, 10), // "initialize"
QT_MOC_LITERAL(7, 109, 15), // "slotTextChanged"
QT_MOC_LITERAL(8, 125, 18), // "slotInvertLanguage"
QT_MOC_LITERAL(9, 144, 9), // "slotClear"
QT_MOC_LITERAL(10, 154, 17), // "slotTranslateDone"
QT_MOC_LITERAL(11, 172, 19), // "slotTranslateFailed"
QT_MOC_LITERAL(12, 192, 6), // "result"
QT_MOC_LITERAL(13, 199, 7), // "message"
QT_MOC_LITERAL(14, 207, 9), // "slotDebug"
QT_MOC_LITERAL(15, 217, 17) // "slotConfigChanged"

    },
    "PimCommon::TranslatorWidget\0toolsWasClosed\0"
    "\0slotTranslate\0slotCloseWidget\0"
    "slotFromLanguageChanged\0initialize\0"
    "slotTextChanged\0slotInvertLanguage\0"
    "slotClear\0slotTranslateDone\0"
    "slotTranslateFailed\0result\0message\0"
    "slotDebug\0slotConfigChanged"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_PimCommon__TranslatorWidget[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    0,   74,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       3,    0,   75,    2, 0x0a /* Public */,
       4,    0,   76,    2, 0x0a /* Public */,
       5,    2,   77,    2, 0x08 /* Private */,
       5,    1,   82,    2, 0x28 /* Private | MethodCloned */,
       7,    0,   85,    2, 0x08 /* Private */,
       8,    0,   86,    2, 0x08 /* Private */,
       9,    0,   87,    2, 0x08 /* Private */,
      10,    0,   88,    2, 0x08 /* Private */,
      11,    2,   89,    2, 0x08 /* Private */,
      14,    0,   94,    2, 0x08 /* Private */,
      15,    0,   95,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int, QMetaType::Bool,    2,    6,
    QMetaType::Void, QMetaType::Int,    2,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Bool, QMetaType::QString,   12,   13,
    QMetaType::Void,
    QMetaType::Void,

       0        // eod
};

void PimCommon::TranslatorWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        TranslatorWidget *_t = static_cast<TranslatorWidget *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->toolsWasClosed(); break;
        case 1: _t->slotTranslate(); break;
        case 2: _t->slotCloseWidget(); break;
        case 3: _t->slotFromLanguageChanged((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break;
        case 4: _t->slotFromLanguageChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 5: _t->slotTextChanged(); break;
        case 6: _t->slotInvertLanguage(); break;
        case 7: _t->slotClear(); break;
        case 8: _t->slotTranslateDone(); break;
        case 9: _t->slotTranslateFailed((*reinterpret_cast< bool(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 10: _t->slotDebug(); break;
        case 11: _t->slotConfigChanged(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            typedef void (TranslatorWidget::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TranslatorWidget::toolsWasClosed)) {
                *result = 0;
                return;
            }
        }
    }
}

const QMetaObject PimCommon::TranslatorWidget::staticMetaObject = {
    { &QWidget::staticMetaObject, qt_meta_stringdata_PimCommon__TranslatorWidget.data,
      qt_meta_data_PimCommon__TranslatorWidget,  qt_static_metacall, nullptr, nullptr}
};


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

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

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

// SIGNAL 0
void PimCommon::TranslatorWidget::toolsWasClosed()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
