/****************************************************************************
** Meta object code from reading C++ file 'contextmanager.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.9.2)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/

#include "../../src/gwenview-17.08.3/lib/contextmanager.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'contextmanager.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.9.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
QT_WARNING_PUSH
QT_WARNING_DISABLE_DEPRECATED
struct qt_meta_stringdata_Gwenview__ContextManager_t {
    QByteArrayData data[18];
    char stringdata0[300];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Gwenview__ContextManager_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Gwenview__ContextManager_t qt_meta_stringdata_Gwenview__ContextManager = {
    {
QT_MOC_LITERAL(0, 0, 24), // "Gwenview::ContextManager"
QT_MOC_LITERAL(1, 25, 20), // "currentDirUrlChanged"
QT_MOC_LITERAL(2, 46, 0), // ""
QT_MOC_LITERAL(3, 47, 17), // "currentUrlChanged"
QT_MOC_LITERAL(4, 65, 16), // "selectionChanged"
QT_MOC_LITERAL(5, 82, 20), // "selectionDataChanged"
QT_MOC_LITERAL(6, 103, 23), // "slotDirModelDataChanged"
QT_MOC_LITERAL(7, 127, 7), // "topLeft"
QT_MOC_LITERAL(8, 135, 11), // "bottomRight"
QT_MOC_LITERAL(9, 147, 20), // "slotSelectionChanged"
QT_MOC_LITERAL(10, 168, 18), // "slotCurrentChanged"
QT_MOC_LITERAL(11, 187, 17), // "emitQueuedSignals"
QT_MOC_LITERAL(12, 205, 24), // "slotRowsAboutToBeRemoved"
QT_MOC_LITERAL(13, 230, 5), // "start"
QT_MOC_LITERAL(14, 236, 3), // "end"
QT_MOC_LITERAL(15, 240, 16), // "slotRowsInserted"
QT_MOC_LITERAL(16, 257, 17), // "selectUrlToSelect"
QT_MOC_LITERAL(17, 275, 24) // "slotDirListerRedirection"

    },
    "Gwenview::ContextManager\0currentDirUrlChanged\0"
    "\0currentUrlChanged\0selectionChanged\0"
    "selectionDataChanged\0slotDirModelDataChanged\0"
    "topLeft\0bottomRight\0slotSelectionChanged\0"
    "slotCurrentChanged\0emitQueuedSignals\0"
    "slotRowsAboutToBeRemoved\0start\0end\0"
    "slotRowsInserted\0selectUrlToSelect\0"
    "slotDirListerRedirection"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Gwenview__ContextManager[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    1,   74,    2, 0x06 /* Public */,
       3,    1,   77,    2, 0x06 /* Public */,
       4,    0,   80,    2, 0x06 /* Public */,
       5,    0,   81,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       6,    2,   82,    2, 0x08 /* Private */,
       9,    0,   87,    2, 0x08 /* Private */,
      10,    1,   88,    2, 0x08 /* Private */,
      11,    0,   91,    2, 0x08 /* Private */,
      12,    3,   92,    2, 0x08 /* Private */,
      15,    0,   99,    2, 0x08 /* Private */,
      16,    0,  100,    2, 0x08 /* Private */,
      17,    1,  101,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void, QMetaType::QUrl,    2,
    QMetaType::Void, QMetaType::QUrl,    2,
    QMetaType::Void,
    QMetaType::Void,

 // slots: parameters
    QMetaType::Void, QMetaType::QModelIndex, QMetaType::QModelIndex,    7,    8,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QModelIndex,    2,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QModelIndex, QMetaType::Int, QMetaType::Int,    2,   13,   14,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QUrl,    2,

       0        // eod
};

void Gwenview::ContextManager::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        ContextManager *_t = static_cast<ContextManager *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->currentDirUrlChanged((*reinterpret_cast< const QUrl(*)>(_a[1]))); break;
        case 1: _t->currentUrlChanged((*reinterpret_cast< const QUrl(*)>(_a[1]))); break;
        case 2: _t->selectionChanged(); break;
        case 3: _t->selectionDataChanged(); break;
        case 4: _t->slotDirModelDataChanged((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< const QModelIndex(*)>(_a[2]))); break;
        case 5: _t->slotSelectionChanged(); break;
        case 6: _t->slotCurrentChanged((*reinterpret_cast< const QModelIndex(*)>(_a[1]))); break;
        case 7: _t->emitQueuedSignals(); break;
        case 8: _t->slotRowsAboutToBeRemoved((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break;
        case 9: _t->slotRowsInserted(); break;
        case 10: _t->selectUrlToSelect(); break;
        case 11: _t->slotDirListerRedirection((*reinterpret_cast< const QUrl(*)>(_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 (ContextManager::*_t)(const QUrl & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&ContextManager::currentDirUrlChanged)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (ContextManager::*_t)(const QUrl & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&ContextManager::currentUrlChanged)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (ContextManager::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&ContextManager::selectionChanged)) {
                *result = 2;
                return;
            }
        }
        {
            typedef void (ContextManager::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&ContextManager::selectionDataChanged)) {
                *result = 3;
                return;
            }
        }
    }
}

const QMetaObject Gwenview::ContextManager::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_Gwenview__ContextManager.data,
      qt_meta_data_Gwenview__ContextManager,  qt_static_metacall, nullptr, nullptr}
};


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

void *Gwenview::ContextManager::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_Gwenview__ContextManager.stringdata0))
        return static_cast<void*>(this);
    return QObject::qt_metacast(_clname);
}

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

// SIGNAL 0
void Gwenview::ContextManager::currentDirUrlChanged(const QUrl & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void Gwenview::ContextManager::currentUrlChanged(const QUrl & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}

// SIGNAL 2
void Gwenview::ContextManager::selectionChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 2, nullptr);
}

// SIGNAL 3
void Gwenview::ContextManager::selectionDataChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 3, nullptr);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
