/****************************************************************************
** Meta object code from reading C++ file 'iproject.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/interfaces/iproject.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'iproject.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__IProject_t {
    QByteArrayData data[32];
    char stringdata0[469];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KDevelop__IProject_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KDevelop__IProject_t qt_meta_stringdata_KDevelop__IProject = {
    {
QT_MOC_LITERAL(0, 0, 18), // "KDevelop::IProject"
QT_MOC_LITERAL(1, 19, 15), // "D-Bus Interface"
QT_MOC_LITERAL(2, 35, 20), // "org.kdevelop.Project"
QT_MOC_LITERAL(3, 56, 14), // "fileAddedToSet"
QT_MOC_LITERAL(4, 71, 0), // ""
QT_MOC_LITERAL(5, 72, 26), // "KDevelop::ProjectFileItem*"
QT_MOC_LITERAL(6, 99, 4), // "item"
QT_MOC_LITERAL(7, 104, 18), // "fileRemovedFromSet"
QT_MOC_LITERAL(8, 123, 11), // "reloadModel"
QT_MOC_LITERAL(9, 135, 5), // "close"
QT_MOC_LITERAL(10, 141, 18), // "projectFileManager"
QT_MOC_LITERAL(11, 160, 20), // "IProjectFileManager*"
QT_MOC_LITERAL(12, 181, 18), // "buildSystemManager"
QT_MOC_LITERAL(13, 200, 20), // "IBuildSystemManager*"
QT_MOC_LITERAL(14, 221, 13), // "managerPlugin"
QT_MOC_LITERAL(15, 235, 8), // "IPlugin*"
QT_MOC_LITERAL(16, 244, 20), // "versionControlPlugin"
QT_MOC_LITERAL(17, 265, 11), // "projectItem"
QT_MOC_LITERAL(18, 277, 18), // "ProjectFolderItem*"
QT_MOC_LITERAL(19, 296, 12), // "itemsForPath"
QT_MOC_LITERAL(20, 309, 23), // "QList<ProjectBaseItem*>"
QT_MOC_LITERAL(21, 333, 13), // "IndexedString"
QT_MOC_LITERAL(22, 347, 4), // "path"
QT_MOC_LITERAL(23, 352, 12), // "filesForPath"
QT_MOC_LITERAL(24, 365, 23), // "QList<ProjectFileItem*>"
QT_MOC_LITERAL(25, 389, 4), // "file"
QT_MOC_LITERAL(26, 394, 14), // "foldersForPath"
QT_MOC_LITERAL(27, 409, 25), // "QList<ProjectFolderItem*>"
QT_MOC_LITERAL(28, 435, 6), // "folder"
QT_MOC_LITERAL(29, 442, 4), // "name"
QT_MOC_LITERAL(30, 447, 9), // "inProject"
QT_MOC_LITERAL(31, 457, 11) // "projectName"

    },
    "KDevelop::IProject\0D-Bus Interface\0"
    "org.kdevelop.Project\0fileAddedToSet\0"
    "\0KDevelop::ProjectFileItem*\0item\0"
    "fileRemovedFromSet\0reloadModel\0close\0"
    "projectFileManager\0IProjectFileManager*\0"
    "buildSystemManager\0IBuildSystemManager*\0"
    "managerPlugin\0IPlugin*\0versionControlPlugin\0"
    "projectItem\0ProjectFolderItem*\0"
    "itemsForPath\0QList<ProjectBaseItem*>\0"
    "IndexedString\0path\0filesForPath\0"
    "QList<ProjectFileItem*>\0file\0"
    "foldersForPath\0QList<ProjectFolderItem*>\0"
    "folder\0name\0inProject\0projectName"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KDevelop__IProject[] = {

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

 // classinfo: key, value
       1,    2,

 // signals: name, argc, parameters, tag, flags
       3,    1,   86,    4, 0x06 /* Public */,
       7,    1,   89,    4, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       8,    0,   92,    4, 0x0a /* Public */,
       9,    0,   93,    4, 0x0a /* Public */,

 // methods: name, argc, parameters, tag, flags
      10,    0,   94,    4, 0x42 /* Public | isScriptable */,
      12,    0,   95,    4, 0x42 /* Public | isScriptable */,
      14,    0,   96,    4, 0x42 /* Public | isScriptable */,
      16,    0,   97,    4, 0x42 /* Public | isScriptable */,
      17,    0,   98,    4, 0x42 /* Public | isScriptable */,
      19,    1,   99,    4, 0x42 /* Public | isScriptable */,
      23,    1,  102,    4, 0x42 /* Public | isScriptable */,
      26,    1,  105,    4, 0x42 /* Public | isScriptable */,
      29,    0,  108,    4, 0x42 /* Public | isScriptable */,
      30,    1,  109,    4, 0x42 /* Public | isScriptable */,

 // signals: parameters
    QMetaType::Void, 0x80000000 | 5,    6,
    QMetaType::Void, 0x80000000 | 5,    6,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void,

 // methods: parameters
    0x80000000 | 11,
    0x80000000 | 13,
    0x80000000 | 15,
    0x80000000 | 15,
    0x80000000 | 18,
    0x80000000 | 20, 0x80000000 | 21,   22,
    0x80000000 | 24, 0x80000000 | 21,   25,
    0x80000000 | 27, 0x80000000 | 21,   28,
    QMetaType::QString,
    QMetaType::Bool, 0x80000000 | 21,   22,

 // properties: name, type, flags
      31, QMetaType::QString, 0x00095401,

       0        // eod
};

void KDevelop::IProject::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        IProject *_t = static_cast<IProject *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->fileAddedToSet((*reinterpret_cast< KDevelop::ProjectFileItem*(*)>(_a[1]))); break;
        case 1: _t->fileRemovedFromSet((*reinterpret_cast< KDevelop::ProjectFileItem*(*)>(_a[1]))); break;
        case 2: _t->reloadModel(); break;
        case 3: _t->close(); break;
        case 4: { IProjectFileManager* _r = _t->projectFileManager();
            if (_a[0]) *reinterpret_cast< IProjectFileManager**>(_a[0]) = _r; }  break;
        case 5: { IBuildSystemManager* _r = _t->buildSystemManager();
            if (_a[0]) *reinterpret_cast< IBuildSystemManager**>(_a[0]) = _r; }  break;
        case 6: { IPlugin* _r = _t->managerPlugin();
            if (_a[0]) *reinterpret_cast< IPlugin**>(_a[0]) = _r; }  break;
        case 7: { IPlugin* _r = _t->versionControlPlugin();
            if (_a[0]) *reinterpret_cast< IPlugin**>(_a[0]) = _r; }  break;
        case 8: { ProjectFolderItem* _r = _t->projectItem();
            if (_a[0]) *reinterpret_cast< ProjectFolderItem**>(_a[0]) = _r; }  break;
        case 9: { QList<ProjectBaseItem*> _r = _t->itemsForPath((*reinterpret_cast< const IndexedString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QList<ProjectBaseItem*>*>(_a[0]) = _r; }  break;
        case 10: { QList<ProjectFileItem*> _r = _t->filesForPath((*reinterpret_cast< const IndexedString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QList<ProjectFileItem*>*>(_a[0]) = _r; }  break;
        case 11: { QList<ProjectFolderItem*> _r = _t->foldersForPath((*reinterpret_cast< const IndexedString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QList<ProjectFolderItem*>*>(_a[0]) = _r; }  break;
        case 12: { QString _r = _t->name();
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = _r; }  break;
        case 13: { bool _r = _t->inProject((*reinterpret_cast< const IndexedString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; }  break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (IProject::*_t)(KDevelop::ProjectFileItem * );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&IProject::fileAddedToSet)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (IProject::*_t)(KDevelop::ProjectFileItem * );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&IProject::fileRemovedFromSet)) {
                *result = 1;
                return;
            }
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        IProject *_t = static_cast<IProject *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< QString*>(_v) = _t->name(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

const QMetaObject KDevelop::IProject::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_KDevelop__IProject.data,
      qt_meta_data_KDevelop__IProject,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

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

int KDevelop::IProject::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 < 14)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 14;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 14)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 14;
    }
#ifndef QT_NO_PROPERTIES
   else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
            || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {
        qt_static_metacall(this, _c, _id, _a);
        _id -= 1;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 1;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 1;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 1;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 1;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 1;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

// SIGNAL 0
void KDevelop::IProject::fileAddedToSet(KDevelop::ProjectFileItem * _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void KDevelop::IProject::fileRemovedFromSet(KDevelop::ProjectFileItem * _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}
QT_END_MOC_NAMESPACE
