/****************************************************************************
** Meta object code from reading C++ file 'kptaccountsview.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/libs/ui/kptaccountsview.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'kptaccountsview.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__AccountsTreeView_t {
    QByteArrayData data[3];
    char stringdata0[41];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KPlato__AccountsTreeView_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KPlato__AccountsTreeView_t qt_meta_stringdata_KPlato__AccountsTreeView = {
    {
QT_MOC_LITERAL(0, 0, 24), // "KPlato::AccountsTreeView"
QT_MOC_LITERAL(1, 25, 14), // "slotModelReset"
QT_MOC_LITERAL(2, 40, 0) // ""

    },
    "KPlato::AccountsTreeView\0slotModelReset\0"
    ""
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KPlato__AccountsTreeView[] = {

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

 // slots: name, argc, parameters, tag, flags
       1,    0,   19,    2, 0x09 /* Protected */,

 // slots: parameters
    QMetaType::Void,

       0        // eod
};

void KPlato::AccountsTreeView::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        AccountsTreeView *_t = static_cast<AccountsTreeView *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->slotModelReset(); break;
        default: ;
        }
    }
    Q_UNUSED(_a);
}

const QMetaObject KPlato::AccountsTreeView::staticMetaObject = {
    { &DoubleTreeViewBase::staticMetaObject, qt_meta_stringdata_KPlato__AccountsTreeView.data,
      qt_meta_data_KPlato__AccountsTreeView,  qt_static_metacall, nullptr, nullptr}
};


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

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

int KPlato::AccountsTreeView::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = DoubleTreeViewBase::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 1)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 1;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 1)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 1;
    }
    return _id;
}
struct qt_meta_stringdata_KPlato__AccountsView_t {
    QByteArrayData data[9];
    char stringdata0[133];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KPlato__AccountsView_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KPlato__AccountsView_t qt_meta_stringdata_KPlato__AccountsView = {
    {
QT_MOC_LITERAL(0, 0, 20), // "KPlato::AccountsView"
QT_MOC_LITERAL(1, 21, 18), // "setScheduleManager"
QT_MOC_LITERAL(2, 40, 0), // ""
QT_MOC_LITERAL(3, 41, 16), // "ScheduleManager*"
QT_MOC_LITERAL(4, 58, 2), // "sm"
QT_MOC_LITERAL(5, 61, 24), // "slotContextMenuRequested"
QT_MOC_LITERAL(6, 86, 3), // "pos"
QT_MOC_LITERAL(7, 90, 30), // "slotHeaderContextMenuRequested"
QT_MOC_LITERAL(8, 121, 11) // "slotOptions"

    },
    "KPlato::AccountsView\0setScheduleManager\0"
    "\0ScheduleManager*\0sm\0slotContextMenuRequested\0"
    "pos\0slotHeaderContextMenuRequested\0"
    "slotOptions"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KPlato__AccountsView[] = {

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

 // slots: name, argc, parameters, tag, flags
       1,    1,   34,    2, 0x0a /* Public */,
       5,    2,   37,    2, 0x09 /* Protected */,
       7,    1,   42,    2, 0x09 /* Protected */,
       8,    0,   45,    2, 0x09 /* Protected */,

 // slots: parameters
    QMetaType::Void, 0x80000000 | 3,    4,
    QMetaType::Void, QMetaType::QModelIndex, QMetaType::QPoint,    2,    6,
    QMetaType::Void, QMetaType::QPoint,    6,
    QMetaType::Void,

       0        // eod
};

void KPlato::AccountsView::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        AccountsView *_t = static_cast<AccountsView *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->setScheduleManager((*reinterpret_cast< ScheduleManager*(*)>(_a[1]))); break;
        case 1: _t->slotContextMenuRequested((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< const QPoint(*)>(_a[2]))); break;
        case 2: _t->slotHeaderContextMenuRequested((*reinterpret_cast< const QPoint(*)>(_a[1]))); break;
        case 3: _t->slotOptions(); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 0:
            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;
        }
    }
}

const QMetaObject KPlato::AccountsView::staticMetaObject = {
    { &ViewBase::staticMetaObject, qt_meta_stringdata_KPlato__AccountsView.data,
      qt_meta_data_KPlato__AccountsView,  qt_static_metacall, nullptr, nullptr}
};


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

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

int KPlato::AccountsView::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = ViewBase::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)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 4;
    }
    return _id;
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
