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

#include "../../src/lokalize-17.04.3/src/tm/tmtab.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'tmtab.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.6.2. 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_TM__TMTab_t {
    QByteArrayData data[23];
    char stringdata0[263];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_TM__TMTab_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_TM__TMTab_t qt_meta_stringdata_TM__TMTab = {
    {
QT_MOC_LITERAL(0, 0, 9), // "TM::TMTab"
QT_MOC_LITERAL(1, 10, 15), // "D-Bus Interface"
QT_MOC_LITERAL(2, 26, 34), // "org.kde.Lokalize.TranslationM..."
QT_MOC_LITERAL(3, 61, 17), // "fileOpenRequested"
QT_MOC_LITERAL(4, 79, 0), // ""
QT_MOC_LITERAL(5, 80, 3), // "url"
QT_MOC_LITERAL(6, 84, 6), // "source"
QT_MOC_LITERAL(7, 91, 4), // "ctxt"
QT_MOC_LITERAL(8, 96, 11), // "findGuiText"
QT_MOC_LITERAL(9, 108, 4), // "text"
QT_MOC_LITERAL(10, 113, 18), // "findGuiTextPackage"
QT_MOC_LITERAL(11, 132, 7), // "package"
QT_MOC_LITERAL(12, 140, 6), // "lookup"
QT_MOC_LITERAL(13, 147, 6), // "target"
QT_MOC_LITERAL(14, 154, 12), // "performQuery"
QT_MOC_LITERAL(15, 167, 8), // "updateTM"
QT_MOC_LITERAL(16, 176, 10), // "copySource"
QT_MOC_LITERAL(17, 187, 10), // "copyTarget"
QT_MOC_LITERAL(18, 198, 8), // "openFile"
QT_MOC_LITERAL(19, 207, 13), // "handleResults"
QT_MOC_LITERAL(20, 221, 23), // "displayTotalResultCount"
QT_MOC_LITERAL(21, 245, 9), // "setQAMode"
QT_MOC_LITERAL(22, 255, 7) // "enabled"

    },
    "TM::TMTab\0D-Bus Interface\0"
    "org.kde.Lokalize.TranslationMemory\0"
    "fileOpenRequested\0\0url\0source\0ctxt\0"
    "findGuiText\0text\0findGuiTextPackage\0"
    "package\0lookup\0target\0performQuery\0"
    "updateTM\0copySource\0copyTarget\0openFile\0"
    "handleResults\0displayTotalResultCount\0"
    "setQAMode\0enabled"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_TM__TMTab[] = {

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

 // classinfo: key, value
       1,    2,

 // signals: name, argc, parameters, tag, flags
       3,    3,   81,    4, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       8,    1,   88,    4, 0x4a /* Public | isScriptable */,
      10,    2,   91,    4, 0x4a /* Public | isScriptable */,
      12,    2,   96,    4, 0x4a /* Public | isScriptable */,
      14,    0,  101,    4, 0x0a /* Public */,
      15,    0,  102,    4, 0x0a /* Public */,
      16,    0,  103,    4, 0x0a /* Public */,
      17,    0,  104,    4, 0x0a /* Public */,
      18,    0,  105,    4, 0x0a /* Public */,
      19,    0,  106,    4, 0x0a /* Public */,
      20,    0,  107,    4, 0x0a /* Public */,
      21,    1,  108,    4, 0x0a /* Public */,
      21,    0,  111,    4, 0x2a /* Public | MethodCloned */,

 // signals: parameters
    QMetaType::Void, QMetaType::QString, QMetaType::QString, QMetaType::QString,    5,    6,    7,

 // slots: parameters
    QMetaType::Bool, QMetaType::QString,    9,
    QMetaType::Bool, QMetaType::QString, QMetaType::QString,    9,   11,
    QMetaType::Void, QMetaType::QString, QMetaType::QString,    6,   13,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Bool,   22,
    QMetaType::Void,

       0        // eod
};

void TM::TMTab::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        TMTab *_t = static_cast<TMTab *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->fileOpenRequested((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< const QString(*)>(_a[3]))); break;
        case 1: { bool _r = _t->findGuiText((*reinterpret_cast< QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; }  break;
        case 2: { bool _r = _t->findGuiTextPackage((*reinterpret_cast< QString(*)>(_a[1])),(*reinterpret_cast< QString(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; }  break;
        case 3: _t->lookup((*reinterpret_cast< QString(*)>(_a[1])),(*reinterpret_cast< QString(*)>(_a[2]))); break;
        case 4: _t->performQuery(); break;
        case 5: _t->updateTM(); break;
        case 6: _t->copySource(); break;
        case 7: _t->copyTarget(); break;
        case 8: _t->openFile(); break;
        case 9: _t->handleResults(); break;
        case 10: _t->displayTotalResultCount(); break;
        case 11: _t->setQAMode((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 12: _t->setQAMode(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (TMTab::*_t)(const QString & , const QString & , const QString & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&TMTab::fileOpenRequested)) {
                *result = 0;
                return;
            }
        }
    }
}

const QMetaObject TM::TMTab::staticMetaObject = {
    { &LokalizeSubwindowBase2::staticMetaObject, qt_meta_stringdata_TM__TMTab.data,
      qt_meta_data_TM__TMTab,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

void *TM::TMTab::qt_metacast(const char *_clname)
{
    if (!_clname) return Q_NULLPTR;
    if (!strcmp(_clname, qt_meta_stringdata_TM__TMTab.stringdata0))
        return static_cast<void*>(const_cast< TMTab*>(this));
    return LokalizeSubwindowBase2::qt_metacast(_clname);
}

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

// SIGNAL 0
void TM::TMTab::fileOpenRequested(const QString & _t1, const QString & _t2, const QString & _t3)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)), const_cast<void*>(reinterpret_cast<const void*>(&_t3)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}
struct qt_meta_stringdata_TM__TMDBModel_t {
    QByteArrayData data[14];
    char stringdata0[164];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_TM__TMDBModel_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_TM__TMDBModel_t qt_meta_stringdata_TM__TMDBModel = {
    {
QT_MOC_LITERAL(0, 0, 13), // "TM::TMDBModel"
QT_MOC_LITERAL(1, 14, 14), // "resultsFetched"
QT_MOC_LITERAL(2, 29, 0), // ""
QT_MOC_LITERAL(3, 30, 23), // "finalResultCountFetched"
QT_MOC_LITERAL(4, 54, 9), // "setFilter"
QT_MOC_LITERAL(5, 64, 6), // "source"
QT_MOC_LITERAL(6, 71, 6), // "target"
QT_MOC_LITERAL(7, 78, 12), // "invertSource"
QT_MOC_LITERAL(8, 91, 12), // "invertTarget"
QT_MOC_LITERAL(9, 104, 8), // "filemask"
QT_MOC_LITERAL(10, 113, 12), // "setQueryType"
QT_MOC_LITERAL(11, 126, 5), // "setDB"
QT_MOC_LITERAL(12, 132, 17), // "slotQueryExecuted"
QT_MOC_LITERAL(13, 150, 13) // "ExecQueryJob*"

    },
    "TM::TMDBModel\0resultsFetched\0\0"
    "finalResultCountFetched\0setFilter\0"
    "source\0target\0invertSource\0invertTarget\0"
    "filemask\0setQueryType\0setDB\0"
    "slotQueryExecuted\0ExecQueryJob*"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_TM__TMDBModel[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    0,   44,    2, 0x06 /* Public */,
       3,    1,   45,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       4,    5,   48,    2, 0x0a /* Public */,
      10,    1,   59,    2, 0x0a /* Public */,
      11,    1,   62,    2, 0x0a /* Public */,
      12,    1,   65,    2, 0x0a /* Public */,

 // signals: parameters
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int,    2,

 // slots: parameters
    QMetaType::Void, QMetaType::QString, QMetaType::QString, QMetaType::Bool, QMetaType::Bool, QMetaType::QString,    5,    6,    7,    8,    9,
    QMetaType::Void, QMetaType::Int,    2,
    QMetaType::Void, QMetaType::QString,    2,
    QMetaType::Void, 0x80000000 | 13,    2,

       0        // eod
};

void TM::TMDBModel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        TMDBModel *_t = static_cast<TMDBModel *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->resultsFetched(); break;
        case 1: _t->finalResultCountFetched((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 2: _t->setFilter((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< bool(*)>(_a[3])),(*reinterpret_cast< bool(*)>(_a[4])),(*reinterpret_cast< const QString(*)>(_a[5]))); break;
        case 3: _t->setQueryType((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 4: _t->setDB((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 5: _t->slotQueryExecuted((*reinterpret_cast< ExecQueryJob*(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (TMDBModel::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&TMDBModel::resultsFetched)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (TMDBModel::*_t)(int );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&TMDBModel::finalResultCountFetched)) {
                *result = 1;
                return;
            }
        }
    }
}

const QMetaObject TM::TMDBModel::staticMetaObject = {
    { &QSqlQueryModel::staticMetaObject, qt_meta_stringdata_TM__TMDBModel.data,
      qt_meta_data_TM__TMDBModel,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

void *TM::TMDBModel::qt_metacast(const char *_clname)
{
    if (!_clname) return Q_NULLPTR;
    if (!strcmp(_clname, qt_meta_stringdata_TM__TMDBModel.stringdata0))
        return static_cast<void*>(const_cast< TMDBModel*>(this));
    return QSqlQueryModel::qt_metacast(_clname);
}

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

// SIGNAL 0
void TM::TMDBModel::resultsFetched()
{
    QMetaObject::activate(this, &staticMetaObject, 0, Q_NULLPTR);
}

// SIGNAL 1
void TM::TMDBModel::finalResultCountFetched(int _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}
QT_END_MOC_NAMESPACE
