/****************************************************************************
** Meta object code from reading C++ file 'konqundomanager.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/konqueror-17.04.3/src/konqundomanager.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'konqundomanager.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_KonqUndoManager_t {
    QByteArrayData data[29];
    char stringdata0[504];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KonqUndoManager_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KonqUndoManager_t qt_meta_stringdata_KonqUndoManager = {
    {
QT_MOC_LITERAL(0, 0, 15), // "KonqUndoManager"
QT_MOC_LITERAL(1, 16, 13), // "undoAvailable"
QT_MOC_LITERAL(2, 30, 0), // ""
QT_MOC_LITERAL(3, 31, 7), // "canUndo"
QT_MOC_LITERAL(4, 39, 15), // "undoTextChanged"
QT_MOC_LITERAL(5, 55, 4), // "text"
QT_MOC_LITERAL(6, 60, 13), // "openClosedTab"
QT_MOC_LITERAL(7, 74, 17), // "KonqClosedTabItem"
QT_MOC_LITERAL(8, 92, 16), // "openClosedWindow"
QT_MOC_LITERAL(9, 109, 20), // "KonqClosedWindowItem"
QT_MOC_LITERAL(10, 130, 22), // "closedItemsListChanged"
QT_MOC_LITERAL(11, 153, 28), // "removeWindowInOtherInstances"
QT_MOC_LITERAL(12, 182, 16), // "KonqUndoManager*"
QT_MOC_LITERAL(13, 199, 11), // "real_sender"
QT_MOC_LITERAL(14, 211, 27), // "const KonqClosedWindowItem*"
QT_MOC_LITERAL(15, 239, 16), // "closedWindowItem"
QT_MOC_LITERAL(16, 256, 25), // "addWindowInOtherInstances"
QT_MOC_LITERAL(17, 282, 21), // "KonqClosedWindowItem*"
QT_MOC_LITERAL(18, 304, 4), // "undo"
QT_MOC_LITERAL(19, 309, 20), // "clearClosedItemsList"
QT_MOC_LITERAL(20, 330, 16), // "onlyInthisWindow"
QT_MOC_LITERAL(21, 347, 18), // "undoLastClosedItem"
QT_MOC_LITERAL(22, 366, 24), // "slotClosedItemsActivated"
QT_MOC_LITERAL(23, 391, 8), // "QAction*"
QT_MOC_LITERAL(24, 400, 6), // "action"
QT_MOC_LITERAL(25, 407, 23), // "slotAddClosedWindowItem"
QT_MOC_LITERAL(26, 431, 21), // "slotFileUndoAvailable"
QT_MOC_LITERAL(27, 453, 23), // "slotFileUndoTextChanged"
QT_MOC_LITERAL(28, 477, 26) // "slotRemoveClosedWindowItem"

    },
    "KonqUndoManager\0undoAvailable\0\0canUndo\0"
    "undoTextChanged\0text\0openClosedTab\0"
    "KonqClosedTabItem\0openClosedWindow\0"
    "KonqClosedWindowItem\0closedItemsListChanged\0"
    "removeWindowInOtherInstances\0"
    "KonqUndoManager*\0real_sender\0"
    "const KonqClosedWindowItem*\0"
    "closedWindowItem\0addWindowInOtherInstances\0"
    "KonqClosedWindowItem*\0undo\0"
    "clearClosedItemsList\0onlyInthisWindow\0"
    "undoLastClosedItem\0slotClosedItemsActivated\0"
    "QAction*\0action\0slotAddClosedWindowItem\0"
    "slotFileUndoAvailable\0slotFileUndoTextChanged\0"
    "slotRemoveClosedWindowItem"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KonqUndoManager[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    1,   94,    2, 0x06 /* Public */,
       4,    1,   97,    2, 0x06 /* Public */,
       6,    1,  100,    2, 0x06 /* Public */,
       8,    1,  103,    2, 0x06 /* Public */,
      10,    0,  106,    2, 0x06 /* Public */,
      11,    2,  107,    2, 0x06 /* Public */,
      16,    2,  112,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      18,    0,  117,    2, 0x0a /* Public */,
      19,    1,  118,    2, 0x0a /* Public */,
      19,    0,  121,    2, 0x2a /* Public | MethodCloned */,
      21,    0,  122,    2, 0x0a /* Public */,
      22,    1,  123,    2, 0x0a /* Public */,
      25,    2,  126,    2, 0x0a /* Public */,
      26,    1,  131,    2, 0x08 /* Private */,
      27,    1,  134,    2, 0x08 /* Private */,
      28,    2,  137,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void, QMetaType::Bool,    3,
    QMetaType::Void, QMetaType::QString,    5,
    QMetaType::Void, 0x80000000 | 7,    2,
    QMetaType::Void, 0x80000000 | 9,    2,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 12, 0x80000000 | 14,   13,   15,
    QMetaType::Void, 0x80000000 | 12, 0x80000000 | 17,   13,   15,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void, QMetaType::Bool,   20,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 23,   24,
    QMetaType::Void, 0x80000000 | 12, 0x80000000 | 17,   13,   15,
    QMetaType::Void, QMetaType::Bool,    2,
    QMetaType::Void, QMetaType::QString,    5,
    QMetaType::Void, 0x80000000 | 12, 0x80000000 | 14,   13,   15,

       0        // eod
};

void KonqUndoManager::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        KonqUndoManager *_t = static_cast<KonqUndoManager *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->undoAvailable((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 1: _t->undoTextChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 2: _t->openClosedTab((*reinterpret_cast< const KonqClosedTabItem(*)>(_a[1]))); break;
        case 3: _t->openClosedWindow((*reinterpret_cast< const KonqClosedWindowItem(*)>(_a[1]))); break;
        case 4: _t->closedItemsListChanged(); break;
        case 5: _t->removeWindowInOtherInstances((*reinterpret_cast< KonqUndoManager*(*)>(_a[1])),(*reinterpret_cast< const KonqClosedWindowItem*(*)>(_a[2]))); break;
        case 6: _t->addWindowInOtherInstances((*reinterpret_cast< KonqUndoManager*(*)>(_a[1])),(*reinterpret_cast< KonqClosedWindowItem*(*)>(_a[2]))); break;
        case 7: _t->undo(); break;
        case 8: _t->clearClosedItemsList((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 9: _t->clearClosedItemsList(); break;
        case 10: _t->undoLastClosedItem(); break;
        case 11: _t->slotClosedItemsActivated((*reinterpret_cast< QAction*(*)>(_a[1]))); break;
        case 12: _t->slotAddClosedWindowItem((*reinterpret_cast< KonqUndoManager*(*)>(_a[1])),(*reinterpret_cast< KonqClosedWindowItem*(*)>(_a[2]))); break;
        case 13: _t->slotFileUndoAvailable((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 14: _t->slotFileUndoTextChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 15: _t->slotRemoveClosedWindowItem((*reinterpret_cast< KonqUndoManager*(*)>(_a[1])),(*reinterpret_cast< const KonqClosedWindowItem*(*)>(_a[2]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 5:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< KonqUndoManager* >(); break;
            }
            break;
        case 6:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< KonqUndoManager* >(); break;
            }
            break;
        case 12:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< KonqUndoManager* >(); break;
            }
            break;
        case 15:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< KonqUndoManager* >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (KonqUndoManager::*_t)(bool );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KonqUndoManager::undoAvailable)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (KonqUndoManager::*_t)(const QString & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KonqUndoManager::undoTextChanged)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (KonqUndoManager::*_t)(const KonqClosedTabItem & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KonqUndoManager::openClosedTab)) {
                *result = 2;
                return;
            }
        }
        {
            typedef void (KonqUndoManager::*_t)(const KonqClosedWindowItem & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KonqUndoManager::openClosedWindow)) {
                *result = 3;
                return;
            }
        }
        {
            typedef void (KonqUndoManager::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KonqUndoManager::closedItemsListChanged)) {
                *result = 4;
                return;
            }
        }
        {
            typedef void (KonqUndoManager::*_t)(KonqUndoManager * , const KonqClosedWindowItem * );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KonqUndoManager::removeWindowInOtherInstances)) {
                *result = 5;
                return;
            }
        }
        {
            typedef void (KonqUndoManager::*_t)(KonqUndoManager * , KonqClosedWindowItem * );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KonqUndoManager::addWindowInOtherInstances)) {
                *result = 6;
                return;
            }
        }
    }
}

const QMetaObject KonqUndoManager::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_KonqUndoManager.data,
      qt_meta_data_KonqUndoManager,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

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

int KonqUndoManager::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 < 16)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 16;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 16)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 16;
    }
    return _id;
}

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

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

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

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

// SIGNAL 4
void KonqUndoManager::closedItemsListChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 4, Q_NULLPTR);
}

// SIGNAL 5
void KonqUndoManager::removeWindowInOtherInstances(KonqUndoManager * _t1, const KonqClosedWindowItem * _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, 5, _a);
}

// SIGNAL 6
void KonqUndoManager::addWindowInOtherInstances(KonqUndoManager * _t1, KonqClosedWindowItem * _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);
}
QT_END_MOC_NAMESPACE
