/****************************************************************************
** 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/rocs-17.04.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.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_Project_t {
    QByteArrayData data[19];
    char stringdata0[383];
};
#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, 26), // "codeDocumentAboutToBeAdded"
QT_MOC_LITERAL(2, 35, 0), // ""
QT_MOC_LITERAL(3, 36, 22), // "KTextEditor::Document*"
QT_MOC_LITERAL(4, 59, 17), // "codeDocumentAdded"
QT_MOC_LITERAL(5, 77, 28), // "codeDocumentAboutToBeRemoved"
QT_MOC_LITERAL(6, 106, 19), // "codeDocumentRemoved"
QT_MOC_LITERAL(7, 126, 25), // "activeCodeDocumentChanged"
QT_MOC_LITERAL(8, 152, 5), // "index"
QT_MOC_LITERAL(9, 158, 15), // "modifiedChanged"
QT_MOC_LITERAL(10, 174, 27), // "graphDocumentAboutToBeAdded"
QT_MOC_LITERAL(11, 202, 29), // "GraphTheory::GraphDocumentPtr"
QT_MOC_LITERAL(12, 232, 18), // "graphDocumentAdded"
QT_MOC_LITERAL(13, 251, 29), // "graphDocumentAboutToBeRemoved"
QT_MOC_LITERAL(14, 281, 20), // "graphDocumentRemoved"
QT_MOC_LITERAL(15, 302, 26), // "activeGraphDocumentChanged"
QT_MOC_LITERAL(16, 329, 8), // "document"
QT_MOC_LITERAL(17, 338, 21), // "setActiveCodeDocument"
QT_MOC_LITERAL(18, 360, 22) // "setActiveGraphDocument"

    },
    "Project\0codeDocumentAboutToBeAdded\0\0"
    "KTextEditor::Document*\0codeDocumentAdded\0"
    "codeDocumentAboutToBeRemoved\0"
    "codeDocumentRemoved\0activeCodeDocumentChanged\0"
    "index\0modifiedChanged\0graphDocumentAboutToBeAdded\0"
    "GraphTheory::GraphDocumentPtr\0"
    "graphDocumentAdded\0graphDocumentAboutToBeRemoved\0"
    "graphDocumentRemoved\0activeGraphDocumentChanged\0"
    "document\0setActiveCodeDocument\0"
    "setActiveGraphDocument"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Project[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    2,   84,    2, 0x06 /* Public */,
       4,    0,   89,    2, 0x06 /* Public */,
       5,    2,   90,    2, 0x06 /* Public */,
       6,    0,   95,    2, 0x06 /* Public */,
       7,    1,   96,    2, 0x06 /* Public */,
       9,    0,   99,    2, 0x06 /* Public */,
      10,    2,  100,    2, 0x06 /* Public */,
      12,    0,  105,    2, 0x06 /* Public */,
      13,    2,  106,    2, 0x06 /* Public */,
      14,    0,  111,    2, 0x06 /* Public */,
      15,    1,  112,    2, 0x06 /* Public */,
      15,    1,  115,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      17,    1,  118,    2, 0x0a /* Public */,
      18,    1,  121,    2, 0x0a /* Public */,

 // signals: parameters
    QMetaType::Void, 0x80000000 | 3, QMetaType::Int,    2,    2,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int, QMetaType::Int,    2,    2,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int,    8,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 11, QMetaType::Int,    2,    2,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int, QMetaType::Int,    2,    2,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int,    8,
    QMetaType::Void, 0x80000000 | 11,   16,

 // slots: parameters
    QMetaType::Void, QMetaType::Int,    8,
    QMetaType::Void, QMetaType::Int,    8,

       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->codeDocumentAboutToBeAdded((*reinterpret_cast< KTextEditor::Document*(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 1: _t->codeDocumentAdded(); break;
        case 2: _t->codeDocumentAboutToBeRemoved((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 3: _t->codeDocumentRemoved(); break;
        case 4: _t->activeCodeDocumentChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 5: _t->modifiedChanged(); break;
        case 6: _t->graphDocumentAboutToBeAdded((*reinterpret_cast< GraphTheory::GraphDocumentPtr(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 7: _t->graphDocumentAdded(); break;
        case 8: _t->graphDocumentAboutToBeRemoved((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 9: _t->graphDocumentRemoved(); break;
        case 10: _t->activeGraphDocumentChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 11: _t->activeGraphDocumentChanged((*reinterpret_cast< GraphTheory::GraphDocumentPtr(*)>(_a[1]))); break;
        case 12: _t->setActiveCodeDocument((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 13: _t->setActiveGraphDocument((*reinterpret_cast< int(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (Project::*_t)(KTextEditor::Document * , int );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Project::codeDocumentAboutToBeAdded)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (Project::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Project::codeDocumentAdded)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (Project::*_t)(int , int );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Project::codeDocumentAboutToBeRemoved)) {
                *result = 2;
                return;
            }
        }
        {
            typedef void (Project::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Project::codeDocumentRemoved)) {
                *result = 3;
                return;
            }
        }
        {
            typedef void (Project::*_t)(int );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Project::activeCodeDocumentChanged)) {
                *result = 4;
                return;
            }
        }
        {
            typedef void (Project::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Project::modifiedChanged)) {
                *result = 5;
                return;
            }
        }
        {
            typedef void (Project::*_t)(GraphTheory::GraphDocumentPtr , int );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Project::graphDocumentAboutToBeAdded)) {
                *result = 6;
                return;
            }
        }
        {
            typedef void (Project::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Project::graphDocumentAdded)) {
                *result = 7;
                return;
            }
        }
        {
            typedef void (Project::*_t)(int , int );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Project::graphDocumentAboutToBeRemoved)) {
                *result = 8;
                return;
            }
        }
        {
            typedef void (Project::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Project::graphDocumentRemoved)) {
                *result = 9;
                return;
            }
        }
        {
            typedef void (Project::*_t)(int );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Project::activeGraphDocumentChanged)) {
                *result = 10;
                return;
            }
        }
        {
            typedef void (Project::*_t)(GraphTheory::GraphDocumentPtr );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Project::activeGraphDocumentChanged)) {
                *result = 11;
                return;
            }
        }
    }
}

const QMetaObject Project::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_Project.data,
      qt_meta_data_Project,  qt_static_metacall, Q_NULLPTR, Q_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 Q_NULLPTR;
    if (!strcmp(_clname, qt_meta_stringdata_Project.stringdata0))
        return static_cast<void*>(const_cast< Project*>(this));
    return QObject::qt_metacast(_clname);
}

int Project::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;
    }
    return _id;
}

// SIGNAL 0
void Project::codeDocumentAboutToBeAdded(KTextEditor::Document * _t1, int _t2)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void Project::codeDocumentAdded()
{
    QMetaObject::activate(this, &staticMetaObject, 1, Q_NULLPTR);
}

// SIGNAL 2
void Project::codeDocumentAboutToBeRemoved(int _t1, int _t2)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}

// SIGNAL 3
void Project::codeDocumentRemoved()
{
    QMetaObject::activate(this, &staticMetaObject, 3, Q_NULLPTR);
}

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

// SIGNAL 5
void Project::modifiedChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 5, Q_NULLPTR);
}

// SIGNAL 6
void Project::graphDocumentAboutToBeAdded(GraphTheory::GraphDocumentPtr _t1, int _t2)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 6, _a);
}

// SIGNAL 7
void Project::graphDocumentAdded()
{
    QMetaObject::activate(this, &staticMetaObject, 7, Q_NULLPTR);
}

// SIGNAL 8
void Project::graphDocumentAboutToBeRemoved(int _t1, int _t2)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 8, _a);
}

// SIGNAL 9
void Project::graphDocumentRemoved()
{
    QMetaObject::activate(this, &staticMetaObject, 9, Q_NULLPTR);
}

// SIGNAL 10
void Project::activeGraphDocumentChanged(int _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 10, _a);
}

// SIGNAL 11
void Project::activeGraphDocumentChanged(GraphTheory::GraphDocumentPtr _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 11, _a);
}
QT_END_MOC_NAMESPACE
