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

#include "../../src/kate-4.14.3/part/undo/kateundomanager.h"
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'kateundomanager.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 63
#error "This file was generated using the moc from 4.8.7. 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
static const uint qt_meta_data_KateUndoManager[] = {

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

 // signals: signature, parameters, type, tag, flags
      17,   16,   16,   16, 0x05,
      31,   16,   16,   16, 0x05,
      65,   16,   16,   16, 0x05,
      97,   16,   16,   16, 0x05,
     131,   16,   16,   16, 0x05,
     171,  163,   16,   16, 0x05,

 // slots: signature, parameters, type, tag, flags
     193,   16,   16,   16, 0x0a,
     200,   16,   16,   16, 0x0a,
     207,   16,   16,   16, 0x0a,
     219,   16,   16,   16, 0x0a,
     231,   16,   16,   16, 0x0a,
     243,   16,   16,   16, 0x0a,
     253,   16,   16,   16, 0x0a,
     265,   16,   16,   16, 0x0a,
     275,   16,   16,   16, 0x0a,
     294,   16,   16,   16, 0x0a,
     322,  311,   16,   16, 0x0a,
     356,  311,   16,   16, 0x0a,
     406,  389,   16,   16, 0x0a,
     464,  440,   16,   16, 0x0a,
     526,  498,   16,   16, 0x0a,
     569,  562,   16,   16, 0x0a,
     599,  562,   16,   16, 0x0a,
     633,  628,   16,   16, 0x08,
     663,  656,   16,   16, 0x08,
     679,   16,   16,   16, 0x08,
     696,   16,   16,   16, 0x08,
     718,  709,   16,   16, 0x08,

       0        // eod
};

static const char qt_meta_stringdata_KateUndoManager[] = {
    "KateUndoManager\0\0undoChanged()\0"
    "undoStart(KTextEditor::Document*)\0"
    "undoEnd(KTextEditor::Document*)\0"
    "redoStart(KTextEditor::Document*)\0"
    "redoEnd(KTextEditor::Document*)\0enabled\0"
    "isActiveChanged(bool)\0undo()\0redo()\0"
    "clearUndo()\0clearRedo()\0editStart()\0"
    "editEnd()\0startUndo()\0endUndo()\0"
    "inputMethodStart()\0inputMethodEnd()\0"
    "line,col,s\0slotTextInserted(int,int,QString)\0"
    "slotTextRemoved(int,int,QString)\0"
    "line,autowrapped\0slotMarkLineAutoWrapped(int,bool)\0"
    "line,col,length,newLine\0"
    "slotLineWrapped(int,int,int,bool)\0"
    "line,col,length,lineRemoved\0"
    "slotLineUnWrapped(int,int,int,bool)\0"
    "line,s\0slotLineInserted(int,QString)\0"
    "slotLineRemoved(int,QString)\0undo\0"
    "addUndoItem(KateUndo*)\0active\0"
    "setActive(bool)\0updateModified()\0"
    "undoCancel()\0,newView\0"
    "viewCreated(KTextEditor::Document*,KTextEditor::View*)\0"
};

void KateUndoManager::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        Q_ASSERT(staticMetaObject.cast(_o));
        KateUndoManager *_t = static_cast<KateUndoManager *>(_o);
        switch (_id) {
        case 0: _t->undoChanged(); break;
        case 1: _t->undoStart((*reinterpret_cast< KTextEditor::Document*(*)>(_a[1]))); break;
        case 2: _t->undoEnd((*reinterpret_cast< KTextEditor::Document*(*)>(_a[1]))); break;
        case 3: _t->redoStart((*reinterpret_cast< KTextEditor::Document*(*)>(_a[1]))); break;
        case 4: _t->redoEnd((*reinterpret_cast< KTextEditor::Document*(*)>(_a[1]))); break;
        case 5: _t->isActiveChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 6: _t->undo(); break;
        case 7: _t->redo(); break;
        case 8: _t->clearUndo(); break;
        case 9: _t->clearRedo(); break;
        case 10: _t->editStart(); break;
        case 11: _t->editEnd(); break;
        case 12: _t->startUndo(); break;
        case 13: _t->endUndo(); break;
        case 14: _t->inputMethodStart(); break;
        case 15: _t->inputMethodEnd(); break;
        case 16: _t->slotTextInserted((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< const QString(*)>(_a[3]))); break;
        case 17: _t->slotTextRemoved((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< const QString(*)>(_a[3]))); break;
        case 18: _t->slotMarkLineAutoWrapped((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break;
        case 19: _t->slotLineWrapped((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3])),(*reinterpret_cast< bool(*)>(_a[4]))); break;
        case 20: _t->slotLineUnWrapped((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3])),(*reinterpret_cast< bool(*)>(_a[4]))); break;
        case 21: _t->slotLineInserted((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 22: _t->slotLineRemoved((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 23: _t->addUndoItem((*reinterpret_cast< KateUndo*(*)>(_a[1]))); break;
        case 24: _t->setActive((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 25: _t->updateModified(); break;
        case 26: _t->undoCancel(); break;
        case 27: _t->viewCreated((*reinterpret_cast< KTextEditor::Document*(*)>(_a[1])),(*reinterpret_cast< KTextEditor::View*(*)>(_a[2]))); break;
        default: ;
        }
    }
}

const QMetaObjectExtraData KateUndoManager::staticMetaObjectExtraData = {
    0,  qt_static_metacall 
};

const QMetaObject KateUndoManager::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_KateUndoManager,
      qt_meta_data_KateUndoManager, &staticMetaObjectExtraData }
};

#ifdef Q_NO_DATA_RELOCATION
const QMetaObject &KateUndoManager::getStaticMetaObject() { return staticMetaObject; }
#endif //Q_NO_DATA_RELOCATION

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

void *KateUndoManager::qt_metacast(const char *_clname)
{
    if (!_clname) return 0;
    if (!strcmp(_clname, qt_meta_stringdata_KateUndoManager))
        return static_cast<void*>(const_cast< KateUndoManager*>(this));
    return QObject::qt_metacast(_clname);
}

int KateUndoManager::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 < 28)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 28;
    }
    return _id;
}

// SIGNAL 0
void KateUndoManager::undoChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 0, 0);
}

// SIGNAL 1
void KateUndoManager::undoStart(KTextEditor::Document * _t1)
{
    void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}

// SIGNAL 2
void KateUndoManager::undoEnd(KTextEditor::Document * _t1)
{
    void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}

// SIGNAL 3
void KateUndoManager::redoStart(KTextEditor::Document * _t1)
{
    void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 3, _a);
}

// SIGNAL 4
void KateUndoManager::redoEnd(KTextEditor::Document * _t1)
{
    void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 4, _a);
}

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