/****************************************************************************
** Meta object code from reading C++ file 'iprojectcontroller.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/iprojectcontroller.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'iprojectcontroller.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__IProjectController_t {
    QByteArrayData data[38];
    char stringdata0[562];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KDevelop__IProjectController_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KDevelop__IProjectController_t qt_meta_stringdata_KDevelop__IProjectController = {
    {
QT_MOC_LITERAL(0, 0, 28), // "KDevelop::IProjectController"
QT_MOC_LITERAL(1, 29, 22), // "projectAboutToBeOpened"
QT_MOC_LITERAL(2, 52, 0), // ""
QT_MOC_LITERAL(3, 53, 19), // "KDevelop::IProject*"
QT_MOC_LITERAL(4, 73, 7), // "project"
QT_MOC_LITERAL(5, 81, 13), // "projectOpened"
QT_MOC_LITERAL(6, 95, 14), // "projectClosing"
QT_MOC_LITERAL(7, 110, 13), // "projectClosed"
QT_MOC_LITERAL(8, 124, 21), // "projectOpeningAborted"
QT_MOC_LITERAL(9, 146, 27), // "projectConfigurationChanged"
QT_MOC_LITERAL(10, 174, 17), // "openProjectForUrl"
QT_MOC_LITERAL(11, 192, 9), // "sourceUrl"
QT_MOC_LITERAL(12, 202, 11), // "openProject"
QT_MOC_LITERAL(13, 214, 3), // "url"
QT_MOC_LITERAL(14, 218, 12), // "closeProject"
QT_MOC_LITERAL(15, 231, 9), // "IProject*"
QT_MOC_LITERAL(16, 241, 16), // "closeAllProjects"
QT_MOC_LITERAL(17, 258, 16), // "configureProject"
QT_MOC_LITERAL(18, 275, 14), // "reparseProject"
QT_MOC_LITERAL(19, 290, 11), // "ForceUpdate"
QT_MOC_LITERAL(20, 302, 9), // "projectAt"
QT_MOC_LITERAL(21, 312, 12), // "projectCount"
QT_MOC_LITERAL(22, 325, 8), // "projects"
QT_MOC_LITERAL(23, 334, 16), // "QList<IProject*>"
QT_MOC_LITERAL(24, 351, 12), // "projectModel"
QT_MOC_LITERAL(25, 364, 13), // "ProjectModel*"
QT_MOC_LITERAL(26, 378, 12), // "changesModel"
QT_MOC_LITERAL(27, 391, 20), // "ProjectChangesModel*"
QT_MOC_LITERAL(28, 412, 13), // "buildSetModel"
QT_MOC_LITERAL(29, 426, 21), // "ProjectBuildSetModel*"
QT_MOC_LITERAL(30, 448, 17), // "findProjectByName"
QT_MOC_LITERAL(31, 466, 4), // "name"
QT_MOC_LITERAL(32, 471, 17), // "findProjectForUrl"
QT_MOC_LITERAL(33, 489, 17), // "isProjectNameUsed"
QT_MOC_LITERAL(34, 507, 14), // "prettyFilePath"
QT_MOC_LITERAL(35, 522, 17), // "FormattingOptions"
QT_MOC_LITERAL(36, 540, 6), // "format"
QT_MOC_LITERAL(37, 547, 14) // "prettyFileName"

    },
    "KDevelop::IProjectController\0"
    "projectAboutToBeOpened\0\0KDevelop::IProject*\0"
    "project\0projectOpened\0projectClosing\0"
    "projectClosed\0projectOpeningAborted\0"
    "projectConfigurationChanged\0"
    "openProjectForUrl\0sourceUrl\0openProject\0"
    "url\0closeProject\0IProject*\0closeAllProjects\0"
    "configureProject\0reparseProject\0"
    "ForceUpdate\0projectAt\0projectCount\0"
    "projects\0QList<IProject*>\0projectModel\0"
    "ProjectModel*\0changesModel\0"
    "ProjectChangesModel*\0buildSetModel\0"
    "ProjectBuildSetModel*\0findProjectByName\0"
    "name\0findProjectForUrl\0isProjectNameUsed\0"
    "prettyFilePath\0FormattingOptions\0"
    "format\0prettyFileName"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KDevelop__IProjectController[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    1,  149,    2, 0x06 /* Public */,
       5,    1,  152,    2, 0x06 /* Public */,
       6,    1,  155,    2, 0x06 /* Public */,
       7,    1,  158,    2, 0x06 /* Public */,
       8,    1,  161,    2, 0x06 /* Public */,
       9,    1,  164,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      10,    1,  167,    2, 0x0a /* Public */,
      12,    1,  170,    2, 0x0a /* Public */,
      12,    0,  173,    2, 0x2a /* Public | MethodCloned */,
      14,    1,  174,    2, 0x0a /* Public */,
      16,    0,  177,    2, 0x0a /* Public */,
      17,    1,  178,    2, 0x0a /* Public */,
      18,    2,  181,    2, 0x0a /* Public */,
      18,    1,  186,    2, 0x2a /* Public | MethodCloned */,

 // methods: name, argc, parameters, tag, flags
      20,    1,  189,    2, 0x42 /* Public | isScriptable */,
      21,    0,  192,    2, 0x42 /* Public | isScriptable */,
      22,    0,  193,    2, 0x42 /* Public | isScriptable */,
      24,    0,  194,    2, 0x42 /* Public | isScriptable */,
      26,    0,  195,    2, 0x42 /* Public | isScriptable */,
      28,    0,  196,    2, 0x42 /* Public | isScriptable */,
      30,    1,  197,    2, 0x42 /* Public | isScriptable */,
      32,    1,  200,    2, 0x42 /* Public | isScriptable */,
      33,    1,  203,    2, 0x42 /* Public | isScriptable */,
      34,    2,  206,    2, 0x42 /* Public | isScriptable */,
      34,    1,  211,    2, 0x62 /* Public | MethodCloned | isScriptable */,
      37,    2,  214,    2, 0x42 /* Public | isScriptable */,
      37,    1,  219,    2, 0x62 /* Public | MethodCloned | isScriptable */,

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

 // slots: parameters
    QMetaType::Void, QMetaType::QUrl,   11,
    QMetaType::Void, QMetaType::QUrl,   13,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 15,    2,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 15,    2,
    QMetaType::Void, 0x80000000 | 15, QMetaType::Bool,    4,   19,
    QMetaType::Void, 0x80000000 | 15,    4,

 // methods: parameters
    0x80000000 | 3, QMetaType::Int,    2,
    QMetaType::Int,
    0x80000000 | 23,
    0x80000000 | 25,
    0x80000000 | 27,
    0x80000000 | 29,
    0x80000000 | 3, QMetaType::QString,   31,
    0x80000000 | 15, QMetaType::QUrl,   13,
    QMetaType::Bool, QMetaType::QString,   31,
    QMetaType::QString, QMetaType::QUrl, 0x80000000 | 35,   13,   36,
    QMetaType::QString, QMetaType::QUrl,   13,
    QMetaType::QString, QMetaType::QUrl, 0x80000000 | 35,   13,   36,
    QMetaType::QString, QMetaType::QUrl,   13,

       0        // eod
};

void KDevelop::IProjectController::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        IProjectController *_t = static_cast<IProjectController *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->projectAboutToBeOpened((*reinterpret_cast< KDevelop::IProject*(*)>(_a[1]))); break;
        case 1: _t->projectOpened((*reinterpret_cast< KDevelop::IProject*(*)>(_a[1]))); break;
        case 2: _t->projectClosing((*reinterpret_cast< KDevelop::IProject*(*)>(_a[1]))); break;
        case 3: _t->projectClosed((*reinterpret_cast< KDevelop::IProject*(*)>(_a[1]))); break;
        case 4: _t->projectOpeningAborted((*reinterpret_cast< KDevelop::IProject*(*)>(_a[1]))); break;
        case 5: _t->projectConfigurationChanged((*reinterpret_cast< KDevelop::IProject*(*)>(_a[1]))); break;
        case 6: _t->openProjectForUrl((*reinterpret_cast< const QUrl(*)>(_a[1]))); break;
        case 7: _t->openProject((*reinterpret_cast< const QUrl(*)>(_a[1]))); break;
        case 8: _t->openProject(); break;
        case 9: _t->closeProject((*reinterpret_cast< IProject*(*)>(_a[1]))); break;
        case 10: _t->closeAllProjects(); break;
        case 11: _t->configureProject((*reinterpret_cast< IProject*(*)>(_a[1]))); break;
        case 12: _t->reparseProject((*reinterpret_cast< IProject*(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break;
        case 13: _t->reparseProject((*reinterpret_cast< IProject*(*)>(_a[1]))); break;
        case 14: { KDevelop::IProject* _r = _t->projectAt((*reinterpret_cast< int(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< KDevelop::IProject**>(_a[0]) = _r; }  break;
        case 15: { int _r = _t->projectCount();
            if (_a[0]) *reinterpret_cast< int*>(_a[0]) = _r; }  break;
        case 16: { QList<IProject*> _r = _t->projects();
            if (_a[0]) *reinterpret_cast< QList<IProject*>*>(_a[0]) = _r; }  break;
        case 17: { ProjectModel* _r = _t->projectModel();
            if (_a[0]) *reinterpret_cast< ProjectModel**>(_a[0]) = _r; }  break;
        case 18: { ProjectChangesModel* _r = _t->changesModel();
            if (_a[0]) *reinterpret_cast< ProjectChangesModel**>(_a[0]) = _r; }  break;
        case 19: { ProjectBuildSetModel* _r = _t->buildSetModel();
            if (_a[0]) *reinterpret_cast< ProjectBuildSetModel**>(_a[0]) = _r; }  break;
        case 20: { KDevelop::IProject* _r = _t->findProjectByName((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< KDevelop::IProject**>(_a[0]) = _r; }  break;
        case 21: { IProject* _r = _t->findProjectForUrl((*reinterpret_cast< const QUrl(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< IProject**>(_a[0]) = _r; }  break;
        case 22: { bool _r = _t->isProjectNameUsed((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; }  break;
        case 23: { QString _r = _t->prettyFilePath((*reinterpret_cast< const QUrl(*)>(_a[1])),(*reinterpret_cast< FormattingOptions(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = _r; }  break;
        case 24: { QString _r = _t->prettyFilePath((*reinterpret_cast< const QUrl(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = _r; }  break;
        case 25: { QString _r = _t->prettyFileName((*reinterpret_cast< const QUrl(*)>(_a[1])),(*reinterpret_cast< FormattingOptions(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = _r; }  break;
        case 26: { QString _r = _t->prettyFileName((*reinterpret_cast< const QUrl(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QString*>(_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 (IProjectController::*_t)(KDevelop::IProject * );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&IProjectController::projectAboutToBeOpened)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (IProjectController::*_t)(KDevelop::IProject * );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&IProjectController::projectOpened)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (IProjectController::*_t)(KDevelop::IProject * );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&IProjectController::projectClosing)) {
                *result = 2;
                return;
            }
        }
        {
            typedef void (IProjectController::*_t)(KDevelop::IProject * );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&IProjectController::projectClosed)) {
                *result = 3;
                return;
            }
        }
        {
            typedef void (IProjectController::*_t)(KDevelop::IProject * );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&IProjectController::projectOpeningAborted)) {
                *result = 4;
                return;
            }
        }
        {
            typedef void (IProjectController::*_t)(KDevelop::IProject * );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&IProjectController::projectConfigurationChanged)) {
                *result = 5;
                return;
            }
        }
    }
}

const QMetaObject KDevelop::IProjectController::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_KDevelop__IProjectController.data,
      qt_meta_data_KDevelop__IProjectController,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

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

int KDevelop::IProjectController::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 < 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 KDevelop::IProjectController::projectAboutToBeOpened(KDevelop::IProject * _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

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

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

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

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

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