/****************************************************************************
** Meta object code from reading C++ file 'dbfilesmodel.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/dbfilesmodel.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'dbfilesmodel.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__DBFilesModel_t {
    QByteArrayData data[14];
    char stringdata0[146];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_TM__DBFilesModel_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_TM__DBFilesModel_t qt_meta_stringdata_TM__DBFilesModel = {
    {
QT_MOC_LITERAL(0, 0, 16), // "TM::DBFilesModel"
QT_MOC_LITERAL(1, 17, 11), // "updateStats"
QT_MOC_LITERAL(2, 29, 0), // ""
QT_MOC_LITERAL(3, 30, 7), // "topLeft"
QT_MOC_LITERAL(4, 38, 11), // "bottomRight"
QT_MOC_LITERAL(5, 50, 9), // "calcStats"
QT_MOC_LITERAL(6, 60, 6), // "parent"
QT_MOC_LITERAL(7, 67, 5), // "start"
QT_MOC_LITERAL(8, 73, 3), // "end"
QT_MOC_LITERAL(9, 77, 11), // "openJobDone"
QT_MOC_LITERAL(10, 89, 10), // "OpenDBJob*"
QT_MOC_LITERAL(11, 100, 12), // "closeJobDone"
QT_MOC_LITERAL(12, 113, 11), // "CloseDBJob*"
QT_MOC_LITERAL(13, 125, 20) // "updateProjectTmIndex"

    },
    "TM::DBFilesModel\0updateStats\0\0topLeft\0"
    "bottomRight\0calcStats\0parent\0start\0"
    "end\0openJobDone\0OpenDBJob*\0closeJobDone\0"
    "CloseDBJob*\0updateProjectTmIndex"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_TM__DBFilesModel[] = {

 // content:
       7,       // 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,    2,   39,    2, 0x0a /* Public */,
       5,    3,   44,    2, 0x0a /* Public */,
       9,    1,   51,    2, 0x0a /* Public */,
      11,    1,   54,    2, 0x0a /* Public */,
      13,    0,   57,    2, 0x0a /* Public */,

 // slots: parameters
    QMetaType::Void, QMetaType::QModelIndex, QMetaType::QModelIndex,    3,    4,
    QMetaType::Void, QMetaType::QModelIndex, QMetaType::Int, QMetaType::Int,    6,    7,    8,
    QMetaType::Void, 0x80000000 | 10,    2,
    QMetaType::Void, 0x80000000 | 12,    2,
    QMetaType::Void,

       0        // eod
};

void TM::DBFilesModel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        DBFilesModel *_t = static_cast<DBFilesModel *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->updateStats((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< const QModelIndex(*)>(_a[2]))); break;
        case 1: _t->calcStats((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break;
        case 2: _t->openJobDone((*reinterpret_cast< OpenDBJob*(*)>(_a[1]))); break;
        case 3: _t->closeJobDone((*reinterpret_cast< CloseDBJob*(*)>(_a[1]))); break;
        case 4: _t->updateProjectTmIndex(); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 2:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< OpenDBJob* >(); break;
            }
            break;
        case 3:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< CloseDBJob* >(); break;
            }
            break;
        }
    }
}

const QMetaObject TM::DBFilesModel::staticMetaObject = {
    { &QSortFilterProxyModel::staticMetaObject, qt_meta_stringdata_TM__DBFilesModel.data,
      qt_meta_data_TM__DBFilesModel,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

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

int TM::DBFilesModel::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QSortFilterProxyModel::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)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 5;
    }
    return _id;
}
QT_END_MOC_NAMESPACE
