/****************************************************************************
** Meta object code from reading C++ file 'piecetablebytearraymodel.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/okteta-4.14.3/core/piecetablebytearraymodel.h"
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'piecetablebytearraymodel.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_Okteta__PieceTableByteArrayModel[] = {

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

 // signals: signature, parameters, type, tag, flags
      47,   34,   33,   33, 0x05,
      94,   75,   33,   33, 0x05,
     153,  133,   33,   33, 0x05,
     187,  177,   33,   33, 0x05,
     227,  177,   33,   33, 0x05,
     278,  269,   33,   33, 0x05,
     310,  302,   33,   33, 0x05,
     380,  340,   33,   33, 0x05,

       0        // eod
};

static const char qt_meta_stringdata_Okteta__PieceTableByteArrayModel[] = {
    "Okteta::PieceTableByteArrayModel\0\0"
    "versionIndex\0revertedToVersionIndex(int)\0"
    "versionDescription\0"
    "headVersionDescriptionChanged(QString)\0"
    "newHeadVersionIndex\0headVersionChanged(int)\0"
    "bookmarks\0bookmarksAdded(QList<Okteta::Bookmark>)\0"
    "bookmarksRemoved(QList<Okteta::Bookmark>)\0"
    "modified\0bookmarksModified(bool)\0"
    "indizes\0bookmarksModified(QList<int>)\0"
    "changes,oldVersionIndex,newVersionIndex\0"
    "changesDone(QList<Okteta::ByteArrayChange>,int,int)\0"
};

void Okteta::PieceTableByteArrayModel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        Q_ASSERT(staticMetaObject.cast(_o));
        PieceTableByteArrayModel *_t = static_cast<PieceTableByteArrayModel *>(_o);
        switch (_id) {
        case 0: _t->revertedToVersionIndex((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 1: _t->headVersionDescriptionChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 2: _t->headVersionChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 3: _t->bookmarksAdded((*reinterpret_cast< const QList<Okteta::Bookmark>(*)>(_a[1]))); break;
        case 4: _t->bookmarksRemoved((*reinterpret_cast< const QList<Okteta::Bookmark>(*)>(_a[1]))); break;
        case 5: _t->bookmarksModified((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 6: _t->bookmarksModified((*reinterpret_cast< const QList<int>(*)>(_a[1]))); break;
        case 7: _t->changesDone((*reinterpret_cast< const QList<Okteta::ByteArrayChange>(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break;
        default: ;
        }
    }
}

const QMetaObjectExtraData Okteta::PieceTableByteArrayModel::staticMetaObjectExtraData = {
    0,  qt_static_metacall 
};

const QMetaObject Okteta::PieceTableByteArrayModel::staticMetaObject = {
    { &AbstractByteArrayModel::staticMetaObject, qt_meta_stringdata_Okteta__PieceTableByteArrayModel,
      qt_meta_data_Okteta__PieceTableByteArrayModel, &staticMetaObjectExtraData }
};

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

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

void *Okteta::PieceTableByteArrayModel::qt_metacast(const char *_clname)
{
    if (!_clname) return 0;
    if (!strcmp(_clname, qt_meta_stringdata_Okteta__PieceTableByteArrayModel))
        return static_cast<void*>(const_cast< PieceTableByteArrayModel*>(this));
    if (!strcmp(_clname, "Versionable"))
        return static_cast< Versionable*>(const_cast< PieceTableByteArrayModel*>(this));
    if (!strcmp(_clname, "Bookmarkable"))
        return static_cast< Bookmarkable*>(const_cast< PieceTableByteArrayModel*>(this));
    if (!strcmp(_clname, "ChangesDescribable"))
        return static_cast< ChangesDescribable*>(const_cast< PieceTableByteArrayModel*>(this));
    if (!strcmp(_clname, "ChangeHistory"))
        return static_cast< ChangeHistory*>(const_cast< PieceTableByteArrayModel*>(this));
    if (!strcmp(_clname, "org.kde.khecore.versionable/1.0"))
        return static_cast< Okteta::Versionable*>(const_cast< PieceTableByteArrayModel*>(this));
    if (!strcmp(_clname, "org.kde.khecore.bookmarkable/1.0"))
        return static_cast< Okteta::Bookmarkable*>(const_cast< PieceTableByteArrayModel*>(this));
    if (!strcmp(_clname, "org.kde.khecore.changesdescribable/1.0"))
        return static_cast< Okteta::ChangesDescribable*>(const_cast< PieceTableByteArrayModel*>(this));
    if (!strcmp(_clname, "org.kde.khecore.changehistory/1.0"))
        return static_cast< Okteta::ChangeHistory*>(const_cast< PieceTableByteArrayModel*>(this));
    return AbstractByteArrayModel::qt_metacast(_clname);
}

int Okteta::PieceTableByteArrayModel::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = AbstractByteArrayModel::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 8)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 8;
    }
    return _id;
}

// SIGNAL 0
void Okteta::PieceTableByteArrayModel::revertedToVersionIndex(int _t1)
{
    void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

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

// SIGNAL 2
void Okteta::PieceTableByteArrayModel::headVersionChanged(int _t1)
{
    void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}

// SIGNAL 3
void Okteta::PieceTableByteArrayModel::bookmarksAdded(const QList<Okteta::Bookmark> & _t1)
{
    void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 3, _a);
}

// SIGNAL 4
void Okteta::PieceTableByteArrayModel::bookmarksRemoved(const QList<Okteta::Bookmark> & _t1)
{
    void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 4, _a);
}

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

// SIGNAL 6
void Okteta::PieceTableByteArrayModel::bookmarksModified(const QList<int> & _t1)
{
    void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 6, _a);
}

// SIGNAL 7
void Okteta::PieceTableByteArrayModel::changesDone(const QList<Okteta::ByteArrayChange> & _t1, int _t2, int _t3)
{
    void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)), const_cast<void*>(reinterpret_cast<const void*>(&_t3)) };
    QMetaObject::activate(this, &staticMetaObject, 7, _a);
}
QT_END_MOC_NAMESPACE
