/****************************************************************************
** Meta object code from reading C++ file 'project.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/project.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'project.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_Project_t {
    QByteArrayData data[37];
    char stringdata0[466];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Project_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Project_t qt_meta_stringdata_Project = {
    {
QT_MOC_LITERAL(0, 0, 7), // "Project"
QT_MOC_LITERAL(1, 8, 15), // "D-Bus Interface"
QT_MOC_LITERAL(2, 24, 24), // "org.kde.Lokalize.Project"
QT_MOC_LITERAL(3, 49, 6), // "loaded"
QT_MOC_LITERAL(4, 56, 0), // ""
QT_MOC_LITERAL(5, 57, 17), // "fileOpenRequested"
QT_MOC_LITERAL(6, 75, 6), // "closed"
QT_MOC_LITERAL(7, 82, 23), // "sourceFilePathsAreReady"
QT_MOC_LITERAL(8, 106, 4), // "load"
QT_MOC_LITERAL(9, 111, 14), // "newProjectPath"
QT_MOC_LITERAL(10, 126, 21), // "defaultTargetLangCode"
QT_MOC_LITERAL(11, 148, 16), // "defaultProjectId"
QT_MOC_LITERAL(12, 165, 6), // "reinit"
QT_MOC_LITERAL(13, 172, 4), // "save"
QT_MOC_LITERAL(14, 177, 16), // "translationsRoot"
QT_MOC_LITERAL(15, 194, 13), // "templatesRoot"
QT_MOC_LITERAL(16, 208, 14), // "targetLangCode"
QT_MOC_LITERAL(17, 223, 14), // "sourceLangCode"
QT_MOC_LITERAL(18, 238, 4), // "init"
QT_MOC_LITERAL(19, 243, 4), // "path"
QT_MOC_LITERAL(20, 248, 4), // "kind"
QT_MOC_LITERAL(21, 253, 2), // "id"
QT_MOC_LITERAL(22, 256, 10), // "sourceLang"
QT_MOC_LITERAL(23, 267, 10), // "targetLang"
QT_MOC_LITERAL(24, 278, 12), // "absolutePath"
QT_MOC_LITERAL(25, 291, 16), // "setDesirablePath"
QT_MOC_LITERAL(26, 308, 13), // "desirablePath"
QT_MOC_LITERAL(27, 322, 13), // "isTmSupported"
QT_MOC_LITERAL(28, 336, 16), // "populateDirModel"
QT_MOC_LITERAL(29, 353, 16), // "populateGlossary"
QT_MOC_LITERAL(30, 370, 13), // "showTMManager"
QT_MOC_LITERAL(31, 384, 12), // "showGlossary"
QT_MOC_LITERAL(32, 397, 27), // "GlossaryNS::GlossaryWindow*"
QT_MOC_LITERAL(33, 425, 13), // "defineNewTerm"
QT_MOC_LITERAL(34, 439, 2), // "en"
QT_MOC_LITERAL(35, 442, 6), // "target"
QT_MOC_LITERAL(36, 449, 16) // "projectOdfCreate"

    },
    "Project\0D-Bus Interface\0"
    "org.kde.Lokalize.Project\0loaded\0\0"
    "fileOpenRequested\0closed\0"
    "sourceFilePathsAreReady\0load\0"
    "newProjectPath\0defaultTargetLangCode\0"
    "defaultProjectId\0reinit\0save\0"
    "translationsRoot\0templatesRoot\0"
    "targetLangCode\0sourceLangCode\0init\0"
    "path\0kind\0id\0sourceLang\0targetLang\0"
    "absolutePath\0setDesirablePath\0"
    "desirablePath\0isTmSupported\0"
    "populateDirModel\0populateGlossary\0"
    "showTMManager\0showGlossary\0"
    "GlossaryNS::GlossaryWindow*\0defineNewTerm\0"
    "en\0target\0projectOdfCreate"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Project[] = {

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

 // classinfo: key, value
       1,    2,

 // signals: name, argc, parameters, tag, flags
       3,    0,  151,    4, 0x46 /* Public | isScriptable */,
       5,    1,  152,    4, 0x06 /* Public */,
       6,    0,  155,    4, 0x06 /* Public */,
       7,    0,  156,    4, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       8,    3,  157,    4, 0x4a /* Public | isScriptable */,
       8,    2,  164,    4, 0x6a /* Public | MethodCloned | isScriptable */,
       8,    1,  169,    4, 0x6a /* Public | MethodCloned | isScriptable */,
      12,    0,  172,    4, 0x4a /* Public | isScriptable */,
      13,    0,  173,    4, 0x4a /* Public | isScriptable */,
      14,    0,  174,    4, 0x4a /* Public | isScriptable */,
      15,    0,  175,    4, 0x4a /* Public | isScriptable */,
      16,    0,  176,    4, 0x4a /* Public | isScriptable */,
      17,    0,  177,    4, 0x4a /* Public | isScriptable */,
      18,    5,  178,    4, 0x4a /* Public | isScriptable */,
      20,    0,  189,    4, 0x4a /* Public | isScriptable */,
      24,    1,  190,    4, 0x4a /* Public | isScriptable */,
      25,    1,  193,    4, 0x4a /* Public | isScriptable */,
      26,    0,  196,    4, 0x4a /* Public | isScriptable */,
      27,    0,  197,    4, 0x4a /* Public | isScriptable */,
      28,    0,  198,    4, 0x0a /* Public */,
      29,    0,  199,    4, 0x0a /* Public */,
      30,    0,  200,    4, 0x0a /* Public */,
      31,    0,  201,    4, 0x0a /* Public */,
      33,    2,  202,    4, 0x0a /* Public */,
      33,    1,  207,    4, 0x2a /* Public | MethodCloned */,
      33,    0,  210,    4, 0x2a /* Public | MethodCloned */,
      36,    0,  211,    4, 0x0a /* Public */,

 // signals: parameters
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString,    4,
    QMetaType::Void,
    QMetaType::Void,

 // slots: parameters
    QMetaType::Void, QMetaType::QString, QMetaType::QString, QMetaType::QString,    9,   10,   11,
    QMetaType::Void, QMetaType::QString, QMetaType::QString,    9,   10,
    QMetaType::Void, QMetaType::QString,    9,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::QString,
    QMetaType::QString,
    QMetaType::QString,
    QMetaType::QString,
    QMetaType::Void, QMetaType::QString, QMetaType::QString, QMetaType::QString, QMetaType::QString, QMetaType::QString,   19,   20,   21,   22,   23,
    QMetaType::QString,
    QMetaType::QString, QMetaType::QString,    4,
    QMetaType::Void, QMetaType::QString,   19,
    QMetaType::QString,
    QMetaType::Bool,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    0x80000000 | 32,
    0x80000000 | 32, QMetaType::QString, QMetaType::QString,   34,   35,
    0x80000000 | 32, QMetaType::QString,   34,
    0x80000000 | 32,
    QMetaType::Void,

       0        // eod
};

void Project::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        Project *_t = static_cast<Project *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->loaded(); break;
        case 1: _t->fileOpenRequested((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 2: _t->closed(); break;
        case 3: _t->sourceFilePathsAreReady(); break;
        case 4: _t->load((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< const QString(*)>(_a[3]))); break;
        case 5: _t->load((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 6: _t->load((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 7: _t->reinit(); break;
        case 8: _t->save(); break;
        case 9: { QString _r = _t->translationsRoot();
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = std::move(_r); }  break;
        case 10: { QString _r = _t->templatesRoot();
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = std::move(_r); }  break;
        case 11: { QString _r = _t->targetLangCode();
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = std::move(_r); }  break;
        case 12: { QString _r = _t->sourceLangCode();
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = std::move(_r); }  break;
        case 13: _t->init((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< const QString(*)>(_a[3])),(*reinterpret_cast< const QString(*)>(_a[4])),(*reinterpret_cast< const QString(*)>(_a[5]))); break;
        case 14: { QString _r = _t->kind();
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = std::move(_r); }  break;
        case 15: { QString _r = _t->absolutePath((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = std::move(_r); }  break;
        case 16: _t->setDesirablePath((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 17: { QString _r = _t->desirablePath();
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = std::move(_r); }  break;
        case 18: { bool _r = _t->isTmSupported();
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
        case 19: _t->populateDirModel(); break;
        case 20: _t->populateGlossary(); break;
        case 21: _t->showTMManager(); break;
        case 22: { GlossaryNS::GlossaryWindow* _r = _t->showGlossary();
            if (_a[0]) *reinterpret_cast< GlossaryNS::GlossaryWindow**>(_a[0]) = std::move(_r); }  break;
        case 23: { GlossaryNS::GlossaryWindow* _r = _t->defineNewTerm((*reinterpret_cast< QString(*)>(_a[1])),(*reinterpret_cast< QString(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< GlossaryNS::GlossaryWindow**>(_a[0]) = std::move(_r); }  break;
        case 24: { GlossaryNS::GlossaryWindow* _r = _t->defineNewTerm((*reinterpret_cast< QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< GlossaryNS::GlossaryWindow**>(_a[0]) = std::move(_r); }  break;
        case 25: { GlossaryNS::GlossaryWindow* _r = _t->defineNewTerm();
            if (_a[0]) *reinterpret_cast< GlossaryNS::GlossaryWindow**>(_a[0]) = std::move(_r); }  break;
        case 26: _t->projectOdfCreate(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            typedef void (Project::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Project::loaded)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (Project::*_t)(const QString & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Project::fileOpenRequested)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (Project::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Project::closed)) {
                *result = 2;
                return;
            }
        }
        {
            typedef void (Project::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Project::sourceFilePathsAreReady)) {
                *result = 3;
                return;
            }
        }
    }
}

const QMetaObject Project::staticMetaObject = {
    { &ProjectBase::staticMetaObject, qt_meta_stringdata_Project.data,
      qt_meta_data_Project,  qt_static_metacall, nullptr, nullptr}
};


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

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

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

// SIGNAL 0
void Project::loaded()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}

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

// SIGNAL 2
void Project::closed()
{
    QMetaObject::activate(this, &staticMetaObject, 2, nullptr);
}

// SIGNAL 3
void Project::sourceFilePathsAreReady()
{
    QMetaObject::activate(this, &staticMetaObject, 3, nullptr);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
