/****************************************************************************
** Meta object code from reading C++ file 'project.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/kdevplatform-5.0.3/shell/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.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_KDevelop__Project_t {
    QByteArrayData data[28];
    char stringdata0[337];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KDevelop__Project_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KDevelop__Project_t qt_meta_stringdata_KDevelop__Project = {
    {
QT_MOC_LITERAL(0, 0, 17), // "KDevelop::Project"
QT_MOC_LITERAL(1, 18, 11), // "aboutToOpen"
QT_MOC_LITERAL(2, 30, 0), // ""
QT_MOC_LITERAL(3, 31, 19), // "KDevelop::IProject*"
QT_MOC_LITERAL(4, 51, 4), // "open"
QT_MOC_LITERAL(5, 56, 4), // "Path"
QT_MOC_LITERAL(6, 61, 11), // "projectFile"
QT_MOC_LITERAL(7, 73, 5), // "close"
QT_MOC_LITERAL(8, 79, 18), // "projectFileManager"
QT_MOC_LITERAL(9, 98, 20), // "IProjectFileManager*"
QT_MOC_LITERAL(10, 119, 18), // "buildSystemManager"
QT_MOC_LITERAL(11, 138, 20), // "IBuildSystemManager*"
QT_MOC_LITERAL(12, 159, 20), // "versionControlPlugin"
QT_MOC_LITERAL(13, 180, 8), // "IPlugin*"
QT_MOC_LITERAL(14, 189, 13), // "managerPlugin"
QT_MOC_LITERAL(15, 203, 16), // "setManagerPlugin"
QT_MOC_LITERAL(16, 220, 7), // "manager"
QT_MOC_LITERAL(17, 228, 11), // "projectItem"
QT_MOC_LITERAL(18, 240, 18), // "ProjectFolderItem*"
QT_MOC_LITERAL(19, 259, 9), // "inProject"
QT_MOC_LITERAL(20, 269, 13), // "IndexedString"
QT_MOC_LITERAL(21, 283, 3), // "url"
QT_MOC_LITERAL(22, 287, 12), // "setReloadJob"
QT_MOC_LITERAL(23, 300, 5), // "KJob*"
QT_MOC_LITERAL(24, 306, 3), // "job"
QT_MOC_LITERAL(25, 310, 10), // "importDone"
QT_MOC_LITERAL(26, 321, 10), // "reloadDone"
QT_MOC_LITERAL(27, 332, 4) // "name"

    },
    "KDevelop::Project\0aboutToOpen\0\0"
    "KDevelop::IProject*\0open\0Path\0projectFile\0"
    "close\0projectFileManager\0IProjectFileManager*\0"
    "buildSystemManager\0IBuildSystemManager*\0"
    "versionControlPlugin\0IPlugin*\0"
    "managerPlugin\0setManagerPlugin\0manager\0"
    "projectItem\0ProjectFolderItem*\0inProject\0"
    "IndexedString\0url\0setReloadJob\0KJob*\0"
    "job\0importDone\0reloadDone\0name"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KDevelop__Project[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    1,   84,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       4,    1,   87,    2, 0x0a /* Public */,
       7,    0,   90,    2, 0x0a /* Public */,
       8,    0,   91,    2, 0x0a /* Public */,
      10,    0,   92,    2, 0x0a /* Public */,
      12,    0,   93,    2, 0x0a /* Public */,
      14,    0,   94,    2, 0x0a /* Public */,
      15,    1,   95,    2, 0x0a /* Public */,
      17,    0,   98,    2, 0x0a /* Public */,
      19,    1,   99,    2, 0x0a /* Public */,
      22,    1,  102,    2, 0x0a /* Public */,
      25,    1,  105,    2, 0x08 /* Private */,
      26,    1,  108,    2, 0x08 /* Private */,

 // methods: name, argc, parameters, tag, flags
      27,    0,  111,    2, 0x42 /* Public | isScriptable */,

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

 // slots: parameters
    QMetaType::Bool, 0x80000000 | 5,    6,
    QMetaType::Void,
    0x80000000 | 9,
    0x80000000 | 11,
    0x80000000 | 13,
    0x80000000 | 13,
    QMetaType::Void, 0x80000000 | 13,   16,
    0x80000000 | 18,
    QMetaType::Bool, 0x80000000 | 20,   21,
    QMetaType::Void, 0x80000000 | 23,   24,
    QMetaType::Void, 0x80000000 | 23,    2,
    QMetaType::Void, 0x80000000 | 23,    2,

 // methods: parameters
    QMetaType::QString,

       0        // eod
};

void KDevelop::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->aboutToOpen((*reinterpret_cast< KDevelop::IProject*(*)>(_a[1]))); break;
        case 1: { bool _r = _t->open((*reinterpret_cast< const Path(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; }  break;
        case 2: _t->close(); break;
        case 3: { IProjectFileManager* _r = _t->projectFileManager();
            if (_a[0]) *reinterpret_cast< IProjectFileManager**>(_a[0]) = _r; }  break;
        case 4: { IBuildSystemManager* _r = _t->buildSystemManager();
            if (_a[0]) *reinterpret_cast< IBuildSystemManager**>(_a[0]) = _r; }  break;
        case 5: { IPlugin* _r = _t->versionControlPlugin();
            if (_a[0]) *reinterpret_cast< IPlugin**>(_a[0]) = _r; }  break;
        case 6: { IPlugin* _r = _t->managerPlugin();
            if (_a[0]) *reinterpret_cast< IPlugin**>(_a[0]) = _r; }  break;
        case 7: _t->setManagerPlugin((*reinterpret_cast< IPlugin*(*)>(_a[1]))); break;
        case 8: { ProjectFolderItem* _r = _t->projectItem();
            if (_a[0]) *reinterpret_cast< ProjectFolderItem**>(_a[0]) = _r; }  break;
        case 9: { bool _r = _t->inProject((*reinterpret_cast< const IndexedString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; }  break;
        case 10: _t->setReloadJob((*reinterpret_cast< KJob*(*)>(_a[1]))); break;
        case 11: _t->d->importDone((*reinterpret_cast< KJob*(*)>(_a[1]))); break;
        case 12: _t->d->reloadDone((*reinterpret_cast< KJob*(*)>(_a[1]))); break;
        case 13: { QString _r = _t->name();
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = _r; }  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< KDevelop::IProject* >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (Project::*_t)(KDevelop::IProject * );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Project::aboutToOpen)) {
                *result = 0;
                return;
            }
        }
    }
}

const QMetaObject KDevelop::Project::staticMetaObject = {
    { &IProject::staticMetaObject, qt_meta_stringdata_KDevelop__Project.data,
      qt_meta_data_KDevelop__Project,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

void *KDevelop::Project::qt_metacast(const char *_clname)
{
    if (!_clname) return Q_NULLPTR;
    if (!strcmp(_clname, qt_meta_stringdata_KDevelop__Project.stringdata0))
        return static_cast<void*>(const_cast< Project*>(this));
    return IProject::qt_metacast(_clname);
}

int KDevelop::Project::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = IProject::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 KDevelop::Project::aboutToOpen(KDevelop::IProject * _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}
QT_END_MOC_NAMESPACE
