/****************************************************************************
** Meta object code from reading C++ file 'projectmodel.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/lokalize-17.12.3/src/project/projectmodel.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'projectmodel.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_ProjectModel_t {
    QByteArrayData data[27];
    char stringdata0[345];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_ProjectModel_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_ProjectModel_t qt_meta_stringdata_ProjectModel = {
    {
QT_MOC_LITERAL(0, 0, 12), // "ProjectModel"
QT_MOC_LITERAL(1, 13, 13), // "totalsChanged"
QT_MOC_LITERAL(2, 27, 0), // ""
QT_MOC_LITERAL(3, 28, 5), // "fuzzy"
QT_MOC_LITERAL(4, 34, 10), // "translated"
QT_MOC_LITERAL(5, 45, 12), // "untranslated"
QT_MOC_LITERAL(6, 58, 4), // "done"
QT_MOC_LITERAL(7, 63, 19), // "loadingAboutToStart"
QT_MOC_LITERAL(8, 83, 15), // "loadingFinished"
QT_MOC_LITERAL(9, 99, 14), // "po_dataChanged"
QT_MOC_LITERAL(10, 114, 7), // "topLeft"
QT_MOC_LITERAL(11, 122, 11), // "bottomRight"
QT_MOC_LITERAL(12, 134, 15), // "po_rowsInserted"
QT_MOC_LITERAL(13, 150, 6), // "parent"
QT_MOC_LITERAL(14, 157, 5), // "start"
QT_MOC_LITERAL(15, 163, 3), // "end"
QT_MOC_LITERAL(16, 167, 14), // "po_rowsRemoved"
QT_MOC_LITERAL(17, 182, 15), // "pot_dataChanged"
QT_MOC_LITERAL(18, 198, 16), // "pot_rowsInserted"
QT_MOC_LITERAL(19, 215, 15), // "pot_rowsRemoved"
QT_MOC_LITERAL(20, 231, 20), // "finishMetadataUpdate"
QT_MOC_LITERAL(21, 252, 15), // "UpdateStatsJob*"
QT_MOC_LITERAL(22, 268, 26), // "finishSingleMetadataUpdate"
QT_MOC_LITERAL(23, 295, 19), // "updateTotalsChanged"
QT_MOC_LITERAL(24, 315, 13), // "slotFileSaved"
QT_MOC_LITERAL(25, 329, 8), // "filePath"
QT_MOC_LITERAL(26, 338, 6) // "reload"

    },
    "ProjectModel\0totalsChanged\0\0fuzzy\0"
    "translated\0untranslated\0done\0"
    "loadingAboutToStart\0loadingFinished\0"
    "po_dataChanged\0topLeft\0bottomRight\0"
    "po_rowsInserted\0parent\0start\0end\0"
    "po_rowsRemoved\0pot_dataChanged\0"
    "pot_rowsInserted\0pot_rowsRemoved\0"
    "finishMetadataUpdate\0UpdateStatsJob*\0"
    "finishSingleMetadataUpdate\0"
    "updateTotalsChanged\0slotFileSaved\0"
    "filePath\0reload"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_ProjectModel[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    4,   84,    2, 0x06 /* Public */,
       7,    0,   93,    2, 0x06 /* Public */,
       8,    0,   94,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       9,    2,   95,    2, 0x08 /* Private */,
      12,    3,  100,    2, 0x08 /* Private */,
      16,    3,  107,    2, 0x08 /* Private */,
      17,    2,  114,    2, 0x08 /* Private */,
      18,    3,  119,    2, 0x08 /* Private */,
      19,    3,  126,    2, 0x08 /* Private */,
      20,    1,  133,    2, 0x08 /* Private */,
      22,    1,  136,    2, 0x08 /* Private */,
      23,    0,  139,    2, 0x08 /* Private */,
      24,    1,  140,    2, 0x0a /* Public */,
      26,    0,  143,    2, 0x0a /* Public */,

 // signals: parameters
    QMetaType::Void, QMetaType::Int, QMetaType::Int, QMetaType::Int, QMetaType::Bool,    3,    4,    5,    6,
    QMetaType::Void,
    QMetaType::Void,

 // slots: parameters
    QMetaType::Void, QMetaType::QModelIndex, QMetaType::QModelIndex,   10,   11,
    QMetaType::Void, QMetaType::QModelIndex, QMetaType::Int, QMetaType::Int,   13,   14,   15,
    QMetaType::Void, QMetaType::QModelIndex, QMetaType::Int, QMetaType::Int,   13,   14,   15,
    QMetaType::Void, QMetaType::QModelIndex, QMetaType::QModelIndex,   10,   11,
    QMetaType::Void, QMetaType::QModelIndex, QMetaType::Int, QMetaType::Int,   13,   14,   15,
    QMetaType::Void, QMetaType::QModelIndex, QMetaType::Int, QMetaType::Int,   13,   14,   15,
    QMetaType::Void, 0x80000000 | 21,    2,
    QMetaType::Void, 0x80000000 | 21,    2,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString,   25,
    QMetaType::Void,

       0        // eod
};

void ProjectModel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        ProjectModel *_t = static_cast<ProjectModel *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->totalsChanged((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3])),(*reinterpret_cast< bool(*)>(_a[4]))); break;
        case 1: _t->loadingAboutToStart(); break;
        case 2: _t->loadingFinished(); break;
        case 3: _t->po_dataChanged((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< const QModelIndex(*)>(_a[2]))); break;
        case 4: _t->po_rowsInserted((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break;
        case 5: _t->po_rowsRemoved((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break;
        case 6: _t->pot_dataChanged((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< const QModelIndex(*)>(_a[2]))); break;
        case 7: _t->pot_rowsInserted((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break;
        case 8: _t->pot_rowsRemoved((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break;
        case 9: _t->finishMetadataUpdate((*reinterpret_cast< UpdateStatsJob*(*)>(_a[1]))); break;
        case 10: _t->finishSingleMetadataUpdate((*reinterpret_cast< UpdateStatsJob*(*)>(_a[1]))); break;
        case 11: _t->updateTotalsChanged(); break;
        case 12: _t->slotFileSaved((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 13: _t->reload(); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 9:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< UpdateStatsJob* >(); break;
            }
            break;
        case 10:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< UpdateStatsJob* >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            typedef void (ProjectModel::*_t)(int , int , int , bool );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ProjectModel::totalsChanged)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (ProjectModel::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ProjectModel::loadingAboutToStart)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (ProjectModel::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ProjectModel::loadingFinished)) {
                *result = 2;
                return;
            }
        }
    }
}

const QMetaObject ProjectModel::staticMetaObject = {
    { &QAbstractItemModel::staticMetaObject, qt_meta_stringdata_ProjectModel.data,
      qt_meta_data_ProjectModel,  qt_static_metacall, nullptr, nullptr}
};


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

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

int ProjectModel::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QAbstractItemModel::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 14)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 14;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 14)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 14;
    }
    return _id;
}

// SIGNAL 0
void ProjectModel::totalsChanged(int _t1, int _t2, int _t3, bool _t4)
{
    void *_a[] = { 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)), const_cast<void*>(reinterpret_cast<const void*>(&_t4)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void ProjectModel::loadingAboutToStart()
{
    QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
}

// SIGNAL 2
void ProjectModel::loadingFinished()
{
    QMetaObject::activate(this, &staticMetaObject, 2, nullptr);
}
struct qt_meta_stringdata_UpdateStatsJob_t {
    QByteArrayData data[4];
    char stringdata0[37];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_UpdateStatsJob_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_UpdateStatsJob_t qt_meta_stringdata_UpdateStatsJob = {
    {
QT_MOC_LITERAL(0, 0, 14), // "UpdateStatsJob"
QT_MOC_LITERAL(1, 15, 4), // "done"
QT_MOC_LITERAL(2, 20, 0), // ""
QT_MOC_LITERAL(3, 21, 15) // "UpdateStatsJob*"

    },
    "UpdateStatsJob\0done\0\0UpdateStatsJob*"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_UpdateStatsJob[] = {

 // 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,    1,   19,    2, 0x06 /* Public */,

 // signals: parameters
    QMetaType::Void, 0x80000000 | 3,    2,

       0        // eod
};

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

const QMetaObject UpdateStatsJob::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_UpdateStatsJob.data,
      qt_meta_data_UpdateStatsJob,  qt_static_metacall, nullptr, nullptr}
};


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

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

int UpdateStatsJob::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 < 1)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 1;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 1)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 1;
    }
    return _id;
}

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