/****************************************************************************
** Meta object code from reading C++ file 'browsemanager.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/plugins/contextbrowser/browsemanager.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'browsemanager.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_EditorViewWatcher_t {
    QByteArrayData data[10];
    char stringdata0[138];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_EditorViewWatcher_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_EditorViewWatcher_t qt_meta_stringdata_EditorViewWatcher = {
    {
QT_MOC_LITERAL(0, 0, 17), // "EditorViewWatcher"
QT_MOC_LITERAL(1, 18, 13), // "viewDestroyed"
QT_MOC_LITERAL(2, 32, 0), // ""
QT_MOC_LITERAL(3, 33, 4), // "view"
QT_MOC_LITERAL(4, 38, 11), // "viewCreated"
QT_MOC_LITERAL(5, 50, 22), // "KTextEditor::Document*"
QT_MOC_LITERAL(6, 73, 18), // "KTextEditor::View*"
QT_MOC_LITERAL(7, 92, 15), // "documentCreated"
QT_MOC_LITERAL(8, 108, 20), // "KDevelop::IDocument*"
QT_MOC_LITERAL(9, 129, 8) // "document"

    },
    "EditorViewWatcher\0viewDestroyed\0\0view\0"
    "viewCreated\0KTextEditor::Document*\0"
    "KTextEditor::View*\0documentCreated\0"
    "KDevelop::IDocument*\0document"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_EditorViewWatcher[] = {

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

 // slots: name, argc, parameters, tag, flags
       1,    1,   29,    2, 0x08 /* Private */,
       4,    2,   32,    2, 0x08 /* Private */,
       7,    1,   37,    2, 0x08 /* Private */,

 // slots: parameters
    QMetaType::Void, QMetaType::QObjectStar,    3,
    QMetaType::Void, 0x80000000 | 5, 0x80000000 | 6,    2,    2,
    QMetaType::Void, 0x80000000 | 8,    9,

       0        // eod
};

void EditorViewWatcher::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        EditorViewWatcher *_t = static_cast<EditorViewWatcher *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->viewDestroyed((*reinterpret_cast< QObject*(*)>(_a[1]))); break;
        case 1: _t->viewCreated((*reinterpret_cast< KTextEditor::Document*(*)>(_a[1])),(*reinterpret_cast< KTextEditor::View*(*)>(_a[2]))); break;
        case 2: _t->documentCreated((*reinterpret_cast< KDevelop::IDocument*(*)>(_a[1]))); break;
        default: ;
        }
    }
}

const QMetaObject EditorViewWatcher::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_EditorViewWatcher.data,
      qt_meta_data_EditorViewWatcher,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

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

int EditorViewWatcher::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 < 3)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 3;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 3)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 3;
    }
    return _id;
}
struct qt_meta_stringdata_Watcher_t {
    QByteArrayData data[1];
    char stringdata0[8];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Watcher_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Watcher_t qt_meta_stringdata_Watcher = {
    {
QT_MOC_LITERAL(0, 0, 7) // "Watcher"

    },
    "Watcher"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Watcher[] = {

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

       0        // eod
};

void Watcher::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    Q_UNUSED(_o);
    Q_UNUSED(_id);
    Q_UNUSED(_c);
    Q_UNUSED(_a);
}

const QMetaObject Watcher::staticMetaObject = {
    { &EditorViewWatcher::staticMetaObject, qt_meta_stringdata_Watcher.data,
      qt_meta_data_Watcher,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

void *Watcher::qt_metacast(const char *_clname)
{
    if (!_clname) return Q_NULLPTR;
    if (!strcmp(_clname, qt_meta_stringdata_Watcher.stringdata0))
        return static_cast<void*>(const_cast< Watcher*>(this));
    return EditorViewWatcher::qt_metacast(_clname);
}

int Watcher::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = EditorViewWatcher::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    return _id;
}
struct qt_meta_stringdata_BrowseManager_t {
    QByteArrayData data[10];
    char stringdata0[142];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_BrowseManager_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_BrowseManager_t qt_meta_stringdata_BrowseManager = {
    {
QT_MOC_LITERAL(0, 0, 13), // "BrowseManager"
QT_MOC_LITERAL(1, 14, 20), // "startDelayedBrowsing"
QT_MOC_LITERAL(2, 35, 0), // ""
QT_MOC_LITERAL(3, 36, 18), // "KTextEditor::View*"
QT_MOC_LITERAL(4, 55, 4), // "view"
QT_MOC_LITERAL(5, 60, 19), // "stopDelayedBrowsing"
QT_MOC_LITERAL(6, 80, 12), // "invokeAction"
QT_MOC_LITERAL(7, 93, 5), // "index"
QT_MOC_LITERAL(8, 99, 11), // "setBrowsing"
QT_MOC_LITERAL(9, 111, 30) // "eventuallyStartDelayedBrowsing"

    },
    "BrowseManager\0startDelayedBrowsing\0\0"
    "KTextEditor::View*\0view\0stopDelayedBrowsing\0"
    "invokeAction\0index\0setBrowsing\0"
    "eventuallyStartDelayedBrowsing"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_BrowseManager[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    1,   39,    2, 0x06 /* Public */,
       5,    0,   42,    2, 0x06 /* Public */,
       6,    1,   43,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       8,    1,   46,    2, 0x0a /* Public */,
       9,    0,   49,    2, 0x08 /* Private */,

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

 // slots: parameters
    QMetaType::Void, QMetaType::Bool,    2,
    QMetaType::Void,

       0        // eod
};

void BrowseManager::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        BrowseManager *_t = static_cast<BrowseManager *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->startDelayedBrowsing((*reinterpret_cast< KTextEditor::View*(*)>(_a[1]))); break;
        case 1: _t->stopDelayedBrowsing(); break;
        case 2: _t->invokeAction((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 3: _t->setBrowsing((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 4: _t->eventuallyStartDelayedBrowsing(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (BrowseManager::*_t)(KTextEditor::View * );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&BrowseManager::startDelayedBrowsing)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (BrowseManager::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&BrowseManager::stopDelayedBrowsing)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (BrowseManager::*_t)(int );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&BrowseManager::invokeAction)) {
                *result = 2;
                return;
            }
        }
    }
}

const QMetaObject BrowseManager::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_BrowseManager.data,
      qt_meta_data_BrowseManager,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

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

int BrowseManager::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 < 5)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 5;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 5)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 5;
    }
    return _id;
}

// SIGNAL 0
void BrowseManager::startDelayedBrowsing(KTextEditor::View * _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

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

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