/****************************************************************************
** Meta object code from reading C++ file 'kganttgraphicsview.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/kdiagram-2.6.0/src/KGantt/kganttgraphicsview.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'kganttgraphicsview.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_KGantt__GraphicsView_t {
    QByteArrayData data[49];
    char stringdata0[716];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KGantt__GraphicsView_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KGantt__GraphicsView_t qt_meta_stringdata_KGantt__GraphicsView = {
    {
QT_MOC_LITERAL(0, 0, 20), // "KGantt::GraphicsView"
QT_MOC_LITERAL(1, 21, 9), // "activated"
QT_MOC_LITERAL(2, 31, 0), // ""
QT_MOC_LITERAL(3, 32, 5), // "index"
QT_MOC_LITERAL(4, 38, 7), // "clicked"
QT_MOC_LITERAL(5, 46, 12), // "qrealClicked"
QT_MOC_LITERAL(6, 59, 7), // "entered"
QT_MOC_LITERAL(7, 67, 7), // "pressed"
QT_MOC_LITERAL(8, 75, 26), // "headerContextMenuRequested"
QT_MOC_LITERAL(9, 102, 2), // "pt"
QT_MOC_LITERAL(10, 105, 15), // "slotGridChanged"
QT_MOC_LITERAL(11, 121, 32), // "slotHorizontalScrollValueChanged"
QT_MOC_LITERAL(12, 154, 30), // "slotHeaderContextMenuRequested"
QT_MOC_LITERAL(13, 185, 19), // "slotColumnsInserted"
QT_MOC_LITERAL(14, 205, 6), // "parent"
QT_MOC_LITERAL(15, 212, 5), // "start"
QT_MOC_LITERAL(16, 218, 3), // "end"
QT_MOC_LITERAL(17, 222, 18), // "slotColumnsRemoved"
QT_MOC_LITERAL(18, 241, 15), // "slotDataChanged"
QT_MOC_LITERAL(19, 257, 7), // "topLeft"
QT_MOC_LITERAL(20, 265, 11), // "bottomRight"
QT_MOC_LITERAL(21, 277, 17), // "slotLayoutChanged"
QT_MOC_LITERAL(22, 295, 14), // "slotModelReset"
QT_MOC_LITERAL(23, 310, 16), // "slotRowsInserted"
QT_MOC_LITERAL(24, 327, 24), // "slotRowsAboutToBeRemoved"
QT_MOC_LITERAL(25, 352, 15), // "slotRowsRemoved"
QT_MOC_LITERAL(26, 368, 15), // "slotItemClicked"
QT_MOC_LITERAL(27, 384, 3), // "idx"
QT_MOC_LITERAL(28, 388, 21), // "slotItemDoubleClicked"
QT_MOC_LITERAL(29, 410, 15), // "updateSceneRect"
QT_MOC_LITERAL(30, 426, 8), // "setModel"
QT_MOC_LITERAL(31, 435, 19), // "QAbstractItemModel*"
QT_MOC_LITERAL(32, 455, 23), // "setSummaryHandlingModel"
QT_MOC_LITERAL(33, 479, 20), // "QAbstractProxyModel*"
QT_MOC_LITERAL(34, 500, 5), // "model"
QT_MOC_LITERAL(35, 506, 18), // "setConstraintModel"
QT_MOC_LITERAL(36, 525, 16), // "ConstraintModel*"
QT_MOC_LITERAL(37, 542, 12), // "setRootIndex"
QT_MOC_LITERAL(38, 555, 17), // "setSelectionModel"
QT_MOC_LITERAL(39, 573, 20), // "QItemSelectionModel*"
QT_MOC_LITERAL(40, 594, 16), // "setRowController"
QT_MOC_LITERAL(41, 611, 22), // "AbstractRowController*"
QT_MOC_LITERAL(42, 634, 7), // "setGrid"
QT_MOC_LITERAL(43, 642, 13), // "AbstractGrid*"
QT_MOC_LITERAL(44, 656, 15), // "setItemDelegate"
QT_MOC_LITERAL(45, 672, 13), // "ItemDelegate*"
QT_MOC_LITERAL(46, 686, 8), // "delegate"
QT_MOC_LITERAL(47, 695, 11), // "setReadOnly"
QT_MOC_LITERAL(48, 707, 8) // "readOnly"

    },
    "KGantt::GraphicsView\0activated\0\0index\0"
    "clicked\0qrealClicked\0entered\0pressed\0"
    "headerContextMenuRequested\0pt\0"
    "slotGridChanged\0slotHorizontalScrollValueChanged\0"
    "slotHeaderContextMenuRequested\0"
    "slotColumnsInserted\0parent\0start\0end\0"
    "slotColumnsRemoved\0slotDataChanged\0"
    "topLeft\0bottomRight\0slotLayoutChanged\0"
    "slotModelReset\0slotRowsInserted\0"
    "slotRowsAboutToBeRemoved\0slotRowsRemoved\0"
    "slotItemClicked\0idx\0slotItemDoubleClicked\0"
    "updateSceneRect\0setModel\0QAbstractItemModel*\0"
    "setSummaryHandlingModel\0QAbstractProxyModel*\0"
    "model\0setConstraintModel\0ConstraintModel*\0"
    "setRootIndex\0setSelectionModel\0"
    "QItemSelectionModel*\0setRowController\0"
    "AbstractRowController*\0setGrid\0"
    "AbstractGrid*\0setItemDelegate\0"
    "ItemDelegate*\0delegate\0setReadOnly\0"
    "readOnly"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KGantt__GraphicsView[] = {

 // content:
       7,       // revision
       0,       // classname
       0,    0, // classinfo
      29,   14, // methods
       1,  260, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
       6,       // signalCount

 // signals: name, argc, parameters, tag, flags
       1,    1,  159,    2, 0x06 /* Public */,
       4,    1,  162,    2, 0x06 /* Public */,
       5,    1,  165,    2, 0x06 /* Public */,
       6,    1,  168,    2, 0x06 /* Public */,
       7,    1,  171,    2, 0x06 /* Public */,
       8,    1,  174,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      10,    0,  177,    2, 0x08 /* Private */,
      11,    1,  178,    2, 0x08 /* Private */,
      12,    1,  181,    2, 0x08 /* Private */,
      13,    3,  184,    2, 0x08 /* Private */,
      17,    3,  191,    2, 0x08 /* Private */,
      18,    2,  198,    2, 0x08 /* Private */,
      21,    0,  203,    2, 0x08 /* Private */,
      22,    0,  204,    2, 0x08 /* Private */,
      23,    3,  205,    2, 0x08 /* Private */,
      24,    3,  212,    2, 0x08 /* Private */,
      25,    3,  219,    2, 0x08 /* Private */,
      26,    1,  226,    2, 0x08 /* Private */,
      28,    1,  229,    2, 0x08 /* Private */,
      29,    0,  232,    2, 0x0a /* Public */,
      30,    1,  233,    2, 0x0a /* Public */,
      32,    1,  236,    2, 0x0a /* Public */,
      35,    1,  239,    2, 0x0a /* Public */,
      37,    1,  242,    2, 0x0a /* Public */,
      38,    1,  245,    2, 0x0a /* Public */,
      40,    1,  248,    2, 0x0a /* Public */,
      42,    1,  251,    2, 0x0a /* Public */,
      44,    1,  254,    2, 0x0a /* Public */,
      47,    1,  257,    2, 0x0a /* Public */,

 // signals: parameters
    QMetaType::Void, QMetaType::QModelIndex,    3,
    QMetaType::Void, QMetaType::QModelIndex,    3,
    QMetaType::Void, QMetaType::QModelIndex,    3,
    QMetaType::Void, QMetaType::QModelIndex,    3,
    QMetaType::Void, QMetaType::QModelIndex,    3,
    QMetaType::Void, QMetaType::QPoint,    9,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int,    2,
    QMetaType::Void, QMetaType::QPoint,    2,
    QMetaType::Void, QMetaType::QModelIndex, QMetaType::Int, QMetaType::Int,   14,   15,   16,
    QMetaType::Void, QMetaType::QModelIndex, QMetaType::Int, QMetaType::Int,   14,   15,   16,
    QMetaType::Void, QMetaType::QModelIndex, QMetaType::QModelIndex,   19,   20,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QModelIndex, QMetaType::Int, QMetaType::Int,   14,   15,   16,
    QMetaType::Void, QMetaType::QModelIndex, QMetaType::Int, QMetaType::Int,   14,   15,   16,
    QMetaType::Void, QMetaType::QModelIndex, QMetaType::Int, QMetaType::Int,   14,   15,   16,
    QMetaType::Void, QMetaType::QModelIndex,   27,
    QMetaType::Void, QMetaType::QModelIndex,   27,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 31,    2,
    QMetaType::Void, 0x80000000 | 33,   34,
    QMetaType::Void, 0x80000000 | 36,    2,
    QMetaType::Void, QMetaType::QModelIndex,    2,
    QMetaType::Void, 0x80000000 | 39,    2,
    QMetaType::Void, 0x80000000 | 41,    2,
    QMetaType::Void, 0x80000000 | 43,    2,
    QMetaType::Void, 0x80000000 | 45,   46,
    QMetaType::Void, QMetaType::Bool,    2,

 // properties: name, type, flags
      48, QMetaType::Bool, 0x00095103,

       0        // eod
};

void KGantt::GraphicsView::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        GraphicsView *_t = static_cast<GraphicsView *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->activated((*reinterpret_cast< const QModelIndex(*)>(_a[1]))); break;
        case 1: _t->clicked((*reinterpret_cast< const QModelIndex(*)>(_a[1]))); break;
        case 2: _t->qrealClicked((*reinterpret_cast< const QModelIndex(*)>(_a[1]))); break;
        case 3: _t->entered((*reinterpret_cast< const QModelIndex(*)>(_a[1]))); break;
        case 4: _t->pressed((*reinterpret_cast< const QModelIndex(*)>(_a[1]))); break;
        case 5: _t->headerContextMenuRequested((*reinterpret_cast< const QPoint(*)>(_a[1]))); break;
        case 6: _t->d->slotGridChanged(); break;
        case 7: _t->d->slotHorizontalScrollValueChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 8: _t->d->slotHeaderContextMenuRequested((*reinterpret_cast< const QPoint(*)>(_a[1]))); break;
        case 9: _t->d->slotColumnsInserted((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break;
        case 10: _t->d->slotColumnsRemoved((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break;
        case 11: _t->d->slotDataChanged((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< const QModelIndex(*)>(_a[2]))); break;
        case 12: _t->d->slotLayoutChanged(); break;
        case 13: _t->d->slotModelReset(); break;
        case 14: _t->d->slotRowsInserted((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break;
        case 15: _t->d->slotRowsAboutToBeRemoved((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break;
        case 16: _t->d->slotRowsRemoved((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break;
        case 17: _t->d->slotItemClicked((*reinterpret_cast< const QModelIndex(*)>(_a[1]))); break;
        case 18: _t->d->slotItemDoubleClicked((*reinterpret_cast< const QModelIndex(*)>(_a[1]))); break;
        case 19: _t->updateSceneRect(); break;
        case 20: _t->setModel((*reinterpret_cast< QAbstractItemModel*(*)>(_a[1]))); break;
        case 21: _t->setSummaryHandlingModel((*reinterpret_cast< QAbstractProxyModel*(*)>(_a[1]))); break;
        case 22: _t->setConstraintModel((*reinterpret_cast< ConstraintModel*(*)>(_a[1]))); break;
        case 23: _t->setRootIndex((*reinterpret_cast< const QModelIndex(*)>(_a[1]))); break;
        case 24: _t->setSelectionModel((*reinterpret_cast< QItemSelectionModel*(*)>(_a[1]))); break;
        case 25: _t->setRowController((*reinterpret_cast< AbstractRowController*(*)>(_a[1]))); break;
        case 26: _t->setGrid((*reinterpret_cast< AbstractGrid*(*)>(_a[1]))); break;
        case 27: _t->setItemDelegate((*reinterpret_cast< ItemDelegate*(*)>(_a[1]))); break;
        case 28: _t->setReadOnly((*reinterpret_cast< bool(*)>(_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 (GraphicsView::*_t)(const QModelIndex & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&GraphicsView::activated)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (GraphicsView::*_t)(const QModelIndex & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&GraphicsView::clicked)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (GraphicsView::*_t)(const QModelIndex & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&GraphicsView::qrealClicked)) {
                *result = 2;
                return;
            }
        }
        {
            typedef void (GraphicsView::*_t)(const QModelIndex & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&GraphicsView::entered)) {
                *result = 3;
                return;
            }
        }
        {
            typedef void (GraphicsView::*_t)(const QModelIndex & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&GraphicsView::pressed)) {
                *result = 4;
                return;
            }
        }
        {
            typedef void (GraphicsView::*_t)(const QPoint & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&GraphicsView::headerContextMenuRequested)) {
                *result = 5;
                return;
            }
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        GraphicsView *_t = static_cast<GraphicsView *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< bool*>(_v) = _t->isReadOnly(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        GraphicsView *_t = static_cast<GraphicsView *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setReadOnly(*reinterpret_cast< bool*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

const QMetaObject KGantt::GraphicsView::staticMetaObject = {
    { &QGraphicsView::staticMetaObject, qt_meta_stringdata_KGantt__GraphicsView.data,
      qt_meta_data_KGantt__GraphicsView,  qt_static_metacall, nullptr, nullptr}
};


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

void *KGantt::GraphicsView::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_KGantt__GraphicsView.stringdata0))
        return static_cast<void*>(this);
    return QGraphicsView::qt_metacast(_clname);
}

int KGantt::GraphicsView::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QGraphicsView::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 29)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 29;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 29)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 29;
    }
#ifndef QT_NO_PROPERTIES
   else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
            || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {
        qt_static_metacall(this, _c, _id, _a);
        _id -= 1;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 1;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 1;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 1;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 1;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 1;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

// SIGNAL 0
void KGantt::GraphicsView::activated(const QModelIndex & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void KGantt::GraphicsView::clicked(const QModelIndex & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}

// SIGNAL 2
void KGantt::GraphicsView::qrealClicked(const QModelIndex & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}

// SIGNAL 3
void KGantt::GraphicsView::entered(const QModelIndex & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 3, _a);
}

// SIGNAL 4
void KGantt::GraphicsView::pressed(const QModelIndex & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 4, _a);
}

// SIGNAL 5
void KGantt::GraphicsView::headerContextMenuRequested(const QPoint & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 5, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
