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

#include "../../src/calligraplan-3.1.0/src/kptviewlist.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'kptviewlist.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.9.4. 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_KPlato__ViewListTreeWidget_t {
    QByteArrayData data[10];
    char stringdata0[119];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KPlato__ViewListTreeWidget_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KPlato__ViewListTreeWidget_t qt_meta_stringdata_KPlato__ViewListTreeWidget = {
    {
QT_MOC_LITERAL(0, 0, 26), // "KPlato::ViewListTreeWidget"
QT_MOC_LITERAL(1, 27, 9), // "activated"
QT_MOC_LITERAL(2, 37, 0), // ""
QT_MOC_LITERAL(3, 38, 16), // "QTreeWidgetItem*"
QT_MOC_LITERAL(4, 55, 14), // "updateViewInfo"
QT_MOC_LITERAL(5, 70, 13), // "ViewListItem*"
QT_MOC_LITERAL(6, 84, 3), // "itm"
QT_MOC_LITERAL(7, 88, 8), // "modified"
QT_MOC_LITERAL(8, 97, 16), // "handleMousePress"
QT_MOC_LITERAL(9, 114, 4) // "item"

    },
    "KPlato::ViewListTreeWidget\0activated\0"
    "\0QTreeWidgetItem*\0updateViewInfo\0"
    "ViewListItem*\0itm\0modified\0handleMousePress\0"
    "item"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KPlato__ViewListTreeWidget[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    1,   34,    2, 0x06 /* Public */,
       4,    1,   37,    2, 0x06 /* Public */,
       7,    0,   40,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       8,    1,   41,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void, 0x80000000 | 3,    2,
    QMetaType::Void, 0x80000000 | 5,    6,
    QMetaType::Void,

 // slots: parameters
    QMetaType::Void, 0x80000000 | 3,    9,

       0        // eod
};

void KPlato::ViewListTreeWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        ViewListTreeWidget *_t = static_cast<ViewListTreeWidget *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->activated((*reinterpret_cast< QTreeWidgetItem*(*)>(_a[1]))); break;
        case 1: _t->updateViewInfo((*reinterpret_cast< ViewListItem*(*)>(_a[1]))); break;
        case 2: _t->modified(); break;
        case 3: _t->handleMousePress((*reinterpret_cast< QTreeWidgetItem*(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            typedef void (ViewListTreeWidget::*_t)(QTreeWidgetItem * );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ViewListTreeWidget::activated)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (ViewListTreeWidget::*_t)(ViewListItem * );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ViewListTreeWidget::updateViewInfo)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (ViewListTreeWidget::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ViewListTreeWidget::modified)) {
                *result = 2;
                return;
            }
        }
    }
}

const QMetaObject KPlato::ViewListTreeWidget::staticMetaObject = {
    { &QTreeWidget::staticMetaObject, qt_meta_stringdata_KPlato__ViewListTreeWidget.data,
      qt_meta_data_KPlato__ViewListTreeWidget,  qt_static_metacall, nullptr, nullptr}
};


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

void *KPlato::ViewListTreeWidget::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_KPlato__ViewListTreeWidget.stringdata0))
        return static_cast<void*>(this);
    return QTreeWidget::qt_metacast(_clname);
}

int KPlato::ViewListTreeWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QTreeWidget::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 4)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 4;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 4)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 4;
    }
    return _id;
}

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

// SIGNAL 1
void KPlato::ViewListTreeWidget::updateViewInfo(ViewListItem * _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}

// SIGNAL 2
void KPlato::ViewListTreeWidget::modified()
{
    QMetaObject::activate(this, &staticMetaObject, 2, nullptr);
}
struct qt_meta_stringdata_KPlato__ViewListWidget_t {
    QByteArrayData data[37];
    char stringdata0[496];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KPlato__ViewListWidget_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KPlato__ViewListWidget_t qt_meta_stringdata_KPlato__ViewListWidget = {
    {
QT_MOC_LITERAL(0, 0, 22), // "KPlato::ViewListWidget"
QT_MOC_LITERAL(1, 23, 9), // "activated"
QT_MOC_LITERAL(2, 33, 0), // ""
QT_MOC_LITERAL(3, 34, 13), // "ViewListItem*"
QT_MOC_LITERAL(4, 48, 10), // "createView"
QT_MOC_LITERAL(5, 59, 19), // "viewListItemRemoved"
QT_MOC_LITERAL(6, 79, 4), // "item"
QT_MOC_LITERAL(7, 84, 20), // "viewListItemInserted"
QT_MOC_LITERAL(8, 105, 6), // "parent"
QT_MOC_LITERAL(9, 112, 5), // "index"
QT_MOC_LITERAL(10, 118, 16), // "selectionChanged"
QT_MOC_LITERAL(11, 135, 16), // "ScheduleManager*"
QT_MOC_LITERAL(12, 152, 14), // "updateViewInfo"
QT_MOC_LITERAL(13, 167, 3), // "itm"
QT_MOC_LITERAL(14, 171, 8), // "modified"
QT_MOC_LITERAL(15, 180, 10), // "setProject"
QT_MOC_LITERAL(16, 191, 8), // "Project*"
QT_MOC_LITERAL(17, 200, 7), // "project"
QT_MOC_LITERAL(18, 208, 19), // "setSelectedSchedule"
QT_MOC_LITERAL(19, 228, 2), // "sm"
QT_MOC_LITERAL(20, 231, 11), // "setModified"
QT_MOC_LITERAL(21, 243, 13), // "slotActivated"
QT_MOC_LITERAL(22, 257, 16), // "QTreeWidgetItem*"
QT_MOC_LITERAL(23, 274, 4), // "prev"
QT_MOC_LITERAL(24, 279, 15), // "slotItemChanged"
QT_MOC_LITERAL(25, 295, 3), // "col"
QT_MOC_LITERAL(26, 299, 14), // "renameCategory"
QT_MOC_LITERAL(27, 314, 11), // "slotAddView"
QT_MOC_LITERAL(28, 326, 18), // "slotRemoveCategory"
QT_MOC_LITERAL(29, 345, 14), // "slotRemoveView"
QT_MOC_LITERAL(30, 360, 17), // "slotEditViewTitle"
QT_MOC_LITERAL(31, 378, 21), // "slotEditDocumentTitle"
QT_MOC_LITERAL(32, 400, 17), // "slotConfigureItem"
QT_MOC_LITERAL(33, 418, 26), // "slotCurrentScheduleChanged"
QT_MOC_LITERAL(34, 445, 24), // "slotScheduleManagerAdded"
QT_MOC_LITERAL(35, 470, 18), // "slotDialogFinished"
QT_MOC_LITERAL(36, 489, 6) // "result"

    },
    "KPlato::ViewListWidget\0activated\0\0"
    "ViewListItem*\0createView\0viewListItemRemoved\0"
    "item\0viewListItemInserted\0parent\0index\0"
    "selectionChanged\0ScheduleManager*\0"
    "updateViewInfo\0itm\0modified\0setProject\0"
    "Project*\0project\0setSelectedSchedule\0"
    "sm\0setModified\0slotActivated\0"
    "QTreeWidgetItem*\0prev\0slotItemChanged\0"
    "col\0renameCategory\0slotAddView\0"
    "slotRemoveCategory\0slotRemoveView\0"
    "slotEditViewTitle\0slotEditDocumentTitle\0"
    "slotConfigureItem\0slotCurrentScheduleChanged\0"
    "slotScheduleManagerAdded\0slotDialogFinished\0"
    "result"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KPlato__ViewListWidget[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    2,  124,    2, 0x06 /* Public */,
       4,    0,  129,    2, 0x06 /* Public */,
       5,    1,  130,    2, 0x06 /* Public */,
       7,    3,  133,    2, 0x06 /* Public */,
      10,    1,  140,    2, 0x06 /* Public */,
      12,    1,  143,    2, 0x06 /* Public */,
      14,    0,  146,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      15,    1,  147,    2, 0x0a /* Public */,
      18,    1,  150,    2, 0x0a /* Public */,
      20,    0,  153,    2, 0x0a /* Public */,
      21,    2,  154,    2, 0x09 /* Protected */,
      24,    2,  159,    2, 0x09 /* Protected */,
      26,    0,  164,    2, 0x09 /* Protected */,
      27,    0,  165,    2, 0x09 /* Protected */,
      28,    0,  166,    2, 0x09 /* Protected */,
      29,    0,  167,    2, 0x09 /* Protected */,
      30,    0,  168,    2, 0x09 /* Protected */,
      31,    0,  169,    2, 0x09 /* Protected */,
      32,    0,  170,    2, 0x09 /* Protected */,
      33,    1,  171,    2, 0x09 /* Protected */,
      34,    1,  174,    2, 0x09 /* Protected */,
      35,    1,  177,    2, 0x09 /* Protected */,

 // signals: parameters
    QMetaType::Void, 0x80000000 | 3, 0x80000000 | 3,    2,    2,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 3,    6,
    QMetaType::Void, 0x80000000 | 3, 0x80000000 | 3, QMetaType::Int,    6,    8,    9,
    QMetaType::Void, 0x80000000 | 11,    2,
    QMetaType::Void, 0x80000000 | 3,   13,
    QMetaType::Void,

 // slots: parameters
    QMetaType::Void, 0x80000000 | 16,   17,
    QMetaType::Void, 0x80000000 | 11,   19,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 22, 0x80000000 | 22,    6,   23,
    QMetaType::Void, 0x80000000 | 22, QMetaType::Int,    6,   25,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int,    2,
    QMetaType::Void, 0x80000000 | 11,    2,
    QMetaType::Void, QMetaType::Int,   36,

       0        // eod
};

void KPlato::ViewListWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        ViewListWidget *_t = static_cast<ViewListWidget *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->activated((*reinterpret_cast< ViewListItem*(*)>(_a[1])),(*reinterpret_cast< ViewListItem*(*)>(_a[2]))); break;
        case 1: _t->createView(); break;
        case 2: _t->viewListItemRemoved((*reinterpret_cast< ViewListItem*(*)>(_a[1]))); break;
        case 3: _t->viewListItemInserted((*reinterpret_cast< ViewListItem*(*)>(_a[1])),(*reinterpret_cast< ViewListItem*(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break;
        case 4: _t->selectionChanged((*reinterpret_cast< ScheduleManager*(*)>(_a[1]))); break;
        case 5: _t->updateViewInfo((*reinterpret_cast< ViewListItem*(*)>(_a[1]))); break;
        case 6: _t->modified(); break;
        case 7: _t->setProject((*reinterpret_cast< Project*(*)>(_a[1]))); break;
        case 8: _t->setSelectedSchedule((*reinterpret_cast< ScheduleManager*(*)>(_a[1]))); break;
        case 9: _t->setModified(); break;
        case 10: _t->slotActivated((*reinterpret_cast< QTreeWidgetItem*(*)>(_a[1])),(*reinterpret_cast< QTreeWidgetItem*(*)>(_a[2]))); break;
        case 11: _t->slotItemChanged((*reinterpret_cast< QTreeWidgetItem*(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 12: _t->renameCategory(); break;
        case 13: _t->slotAddView(); break;
        case 14: _t->slotRemoveCategory(); break;
        case 15: _t->slotRemoveView(); break;
        case 16: _t->slotEditViewTitle(); break;
        case 17: _t->slotEditDocumentTitle(); break;
        case 18: _t->slotConfigureItem(); break;
        case 19: _t->slotCurrentScheduleChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 20: _t->slotScheduleManagerAdded((*reinterpret_cast< ScheduleManager*(*)>(_a[1]))); break;
        case 21: _t->slotDialogFinished((*reinterpret_cast< int(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 4:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< ScheduleManager* >(); break;
            }
            break;
        case 8:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< ScheduleManager* >(); break;
            }
            break;
        case 20:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< ScheduleManager* >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            typedef void (ViewListWidget::*_t)(ViewListItem * , ViewListItem * );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ViewListWidget::activated)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (ViewListWidget::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ViewListWidget::createView)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (ViewListWidget::*_t)(ViewListItem * );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ViewListWidget::viewListItemRemoved)) {
                *result = 2;
                return;
            }
        }
        {
            typedef void (ViewListWidget::*_t)(ViewListItem * , ViewListItem * , int );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ViewListWidget::viewListItemInserted)) {
                *result = 3;
                return;
            }
        }
        {
            typedef void (ViewListWidget::*_t)(ScheduleManager * );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ViewListWidget::selectionChanged)) {
                *result = 4;
                return;
            }
        }
        {
            typedef void (ViewListWidget::*_t)(ViewListItem * );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ViewListWidget::updateViewInfo)) {
                *result = 5;
                return;
            }
        }
        {
            typedef void (ViewListWidget::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ViewListWidget::modified)) {
                *result = 6;
                return;
            }
        }
    }
}

const QMetaObject KPlato::ViewListWidget::staticMetaObject = {
    { &QWidget::staticMetaObject, qt_meta_stringdata_KPlato__ViewListWidget.data,
      qt_meta_data_KPlato__ViewListWidget,  qt_static_metacall, nullptr, nullptr}
};


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

void *KPlato::ViewListWidget::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_KPlato__ViewListWidget.stringdata0))
        return static_cast<void*>(this);
    return QWidget::qt_metacast(_clname);
}

int KPlato::ViewListWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QWidget::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 22)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 22;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 22)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 22;
    }
    return _id;
}

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

// SIGNAL 1
void KPlato::ViewListWidget::createView()
{
    QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
}

// SIGNAL 2
void KPlato::ViewListWidget::viewListItemRemoved(ViewListItem * _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}

// SIGNAL 3
void KPlato::ViewListWidget::viewListItemInserted(ViewListItem * _t1, ViewListItem * _t2, int _t3)
{
    void *_a[] = { nullptr, 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, 3, _a);
}

// SIGNAL 4
void KPlato::ViewListWidget::selectionChanged(ScheduleManager * _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 4, _a);
}

// SIGNAL 5
void KPlato::ViewListWidget::updateViewInfo(ViewListItem * _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 5, _a);
}

// SIGNAL 6
void KPlato::ViewListWidget::modified()
{
    QMetaObject::activate(this, &staticMetaObject, 6, nullptr);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
