/****************************************************************************
** Meta object code from reading C++ file 'codeimpthread.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/umbrello-17.12.3/umbrello/codeimpwizard/codeimpthread.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'codeimpthread.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_CodeImpThread_t {
    QByteArrayData data[19];
    char stringdata0[180];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_CodeImpThread_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_CodeImpThread_t qt_meta_stringdata_CodeImpThread = {
    {
QT_MOC_LITERAL(0, 0, 13), // "CodeImpThread"
QT_MOC_LITERAL(1, 14, 11), // "askQuestion"
QT_MOC_LITERAL(2, 26, 0), // ""
QT_MOC_LITERAL(3, 27, 8), // "question"
QT_MOC_LITERAL(4, 36, 4), // "int&"
QT_MOC_LITERAL(5, 41, 6), // "answer"
QT_MOC_LITERAL(6, 48, 12), // "messageToWiz"
QT_MOC_LITERAL(7, 61, 4), // "file"
QT_MOC_LITERAL(8, 66, 4), // "text"
QT_MOC_LITERAL(9, 71, 12), // "messageToLog"
QT_MOC_LITERAL(10, 84, 12), // "messageToApp"
QT_MOC_LITERAL(11, 97, 7), // "aborted"
QT_MOC_LITERAL(12, 105, 6), // "failed"
QT_MOC_LITERAL(13, 112, 8), // "finished"
QT_MOC_LITERAL(14, 121, 7), // "noError"
QT_MOC_LITERAL(15, 129, 3), // "run"
QT_MOC_LITERAL(16, 133, 15), // "emitAskQuestion"
QT_MOC_LITERAL(17, 149, 16), // "emitMessageToLog"
QT_MOC_LITERAL(18, 166, 13) // "questionAsked"

    },
    "CodeImpThread\0askQuestion\0\0question\0"
    "int&\0answer\0messageToWiz\0file\0text\0"
    "messageToLog\0messageToApp\0aborted\0"
    "failed\0finished\0noError\0run\0emitAskQuestion\0"
    "emitMessageToLog\0questionAsked"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_CodeImpThread[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    2,   69,    2, 0x06 /* Public */,
       6,    2,   74,    2, 0x06 /* Public */,
       9,    2,   79,    2, 0x06 /* Public */,
      10,    1,   84,    2, 0x06 /* Public */,
      11,    0,   87,    2, 0x06 /* Public */,
      12,    0,   88,    2, 0x06 /* Public */,
      13,    1,   89,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      15,    0,   92,    2, 0x0a /* Public */,
      16,    1,   93,    2, 0x0a /* Public */,
      17,    2,   96,    2, 0x0a /* Public */,
      18,    2,  101,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void, QMetaType::QString, 0x80000000 | 4,    3,    5,
    QMetaType::Void, QMetaType::QString, QMetaType::QString,    7,    8,
    QMetaType::Void, QMetaType::QString, QMetaType::QString,    7,    8,
    QMetaType::Void, QMetaType::QString,    8,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Bool,   14,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Int, QMetaType::QString,    3,
    QMetaType::Void, QMetaType::QString, QMetaType::QString,    7,    8,
    QMetaType::Void, QMetaType::QString, 0x80000000 | 4,    3,    5,

       0        // eod
};

void CodeImpThread::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        CodeImpThread *_t = static_cast<CodeImpThread *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->askQuestion((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 1: _t->messageToWiz((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 2: _t->messageToLog((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 3: _t->messageToApp((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 4: _t->aborted(); break;
        case 5: _t->failed(); break;
        case 6: _t->finished((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 7: _t->run(); break;
        case 8: { int _r = _t->emitAskQuestion((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< int*>(_a[0]) = std::move(_r); }  break;
        case 9: _t->emitMessageToLog((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 10: _t->questionAsked((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            typedef void (CodeImpThread::*_t)(const QString & , int & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&CodeImpThread::askQuestion)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (CodeImpThread::*_t)(const QString & , const QString & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&CodeImpThread::messageToWiz)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (CodeImpThread::*_t)(const QString & , const QString & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&CodeImpThread::messageToLog)) {
                *result = 2;
                return;
            }
        }
        {
            typedef void (CodeImpThread::*_t)(const QString & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&CodeImpThread::messageToApp)) {
                *result = 3;
                return;
            }
        }
        {
            typedef void (CodeImpThread::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&CodeImpThread::aborted)) {
                *result = 4;
                return;
            }
        }
        {
            typedef void (CodeImpThread::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&CodeImpThread::failed)) {
                *result = 5;
                return;
            }
        }
        {
            typedef void (CodeImpThread::*_t)(bool );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&CodeImpThread::finished)) {
                *result = 6;
                return;
            }
        }
    }
}

const QMetaObject CodeImpThread::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_CodeImpThread.data,
      qt_meta_data_CodeImpThread,  qt_static_metacall, nullptr, nullptr}
};


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

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

int CodeImpThread::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QObject::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 CodeImpThread::askQuestion(const QString & _t1, int & _t2)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

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

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

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

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

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

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