/****************************************************************************
** Meta object code from reading C++ file 'kptaccountseditor.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/kptaccountseditor.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#include <QtCore/QList>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'kptaccountseditor.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__AccountseditorConfigDialog_t {
    QByteArrayData data[3];
    char stringdata0[43];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KPlato__AccountseditorConfigDialog_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KPlato__AccountseditorConfigDialog_t qt_meta_stringdata_KPlato__AccountseditorConfigDialog = {
    {
QT_MOC_LITERAL(0, 0, 34), // "KPlato::AccountseditorConfigD..."
QT_MOC_LITERAL(1, 35, 6), // "slotOk"
QT_MOC_LITERAL(2, 42, 0) // ""

    },
    "KPlato::AccountseditorConfigDialog\0"
    "slotOk\0"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KPlato__AccountseditorConfigDialog[] = {

 // 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, 0x0a /* Public */,

 // slots: parameters
    QMetaType::Void,

       0        // eod
};

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

const QMetaObject KPlato::AccountseditorConfigDialog::staticMetaObject = {
    { &KPageDialog::staticMetaObject, qt_meta_stringdata_KPlato__AccountseditorConfigDialog.data,
      qt_meta_data_KPlato__AccountseditorConfigDialog,  qt_static_metacall, nullptr, nullptr}
};


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

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

int KPlato::AccountseditorConfigDialog::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = KPageDialog::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__AccountTreeView_t {
    QByteArrayData data[14];
    char stringdata0[198];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KPlato__AccountTreeView_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KPlato__AccountTreeView_t qt_meta_stringdata_KPlato__AccountTreeView = {
    {
QT_MOC_LITERAL(0, 0, 23), // "KPlato::AccountTreeView"
QT_MOC_LITERAL(1, 24, 14), // "currentChanged"
QT_MOC_LITERAL(2, 39, 0), // ""
QT_MOC_LITERAL(3, 40, 20), // "currentColumnChanged"
QT_MOC_LITERAL(4, 61, 16), // "selectionChanged"
QT_MOC_LITERAL(5, 78, 15), // "QModelIndexList"
QT_MOC_LITERAL(6, 94, 20), // "contextMenuRequested"
QT_MOC_LITERAL(7, 115, 26), // "headerContextMenuRequested"
QT_MOC_LITERAL(8, 142, 3), // "pos"
QT_MOC_LITERAL(9, 146, 14), // "QItemSelection"
QT_MOC_LITERAL(10, 161, 8), // "selected"
QT_MOC_LITERAL(11, 170, 10), // "deselected"
QT_MOC_LITERAL(12, 181, 7), // "current"
QT_MOC_LITERAL(13, 189, 8) // "previous"

    },
    "KPlato::AccountTreeView\0currentChanged\0"
    "\0currentColumnChanged\0selectionChanged\0"
    "QModelIndexList\0contextMenuRequested\0"
    "headerContextMenuRequested\0pos\0"
    "QItemSelection\0selected\0deselected\0"
    "current\0previous"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KPlato__AccountTreeView[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    1,   49,    2, 0x06 /* Public */,
       3,    2,   52,    2, 0x06 /* Public */,
       4,    1,   57,    2, 0x06 /* Public */,
       6,    2,   60,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       7,    1,   65,    2, 0x09 /* Protected */,
       4,    2,   68,    2, 0x09 /* Protected */,
       1,    2,   73,    2, 0x09 /* Protected */,

 // signals: parameters
    QMetaType::Void, QMetaType::QModelIndex,    2,
    QMetaType::Void, QMetaType::QModelIndex, QMetaType::QModelIndex,    2,    2,
    QMetaType::Void, 0x80000000 | 5,    2,
    QMetaType::Void, QMetaType::QModelIndex, QMetaType::QPoint,    2,    2,

 // slots: parameters
    QMetaType::Void, QMetaType::QPoint,    8,
    QMetaType::Void, 0x80000000 | 9, 0x80000000 | 9,   10,   11,
    QMetaType::Void, QMetaType::QModelIndex, QMetaType::QModelIndex,   12,   13,

       0        // eod
};

void KPlato::AccountTreeView::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        AccountTreeView *_t = static_cast<AccountTreeView *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->currentChanged((*reinterpret_cast< const QModelIndex(*)>(_a[1]))); break;
        case 1: _t->currentColumnChanged((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< const QModelIndex(*)>(_a[2]))); break;
        case 2: _t->selectionChanged((*reinterpret_cast< const QModelIndexList(*)>(_a[1]))); break;
        case 3: _t->contextMenuRequested((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< const QPoint(*)>(_a[2]))); break;
        case 4: _t->headerContextMenuRequested((*reinterpret_cast< const QPoint(*)>(_a[1]))); break;
        case 5: _t->selectionChanged((*reinterpret_cast< const QItemSelection(*)>(_a[1])),(*reinterpret_cast< const QItemSelection(*)>(_a[2]))); break;
        case 6: _t->currentChanged((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< const QModelIndex(*)>(_a[2]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 2:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QModelIndexList >(); break;
            }
            break;
        case 5:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 1:
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QItemSelection >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            typedef void (AccountTreeView::*_t)(const QModelIndex & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AccountTreeView::currentChanged)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (AccountTreeView::*_t)(const QModelIndex & , const QModelIndex & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AccountTreeView::currentColumnChanged)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (AccountTreeView::*_t)(const QModelIndexList & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AccountTreeView::selectionChanged)) {
                *result = 2;
                return;
            }
        }
        {
            typedef void (AccountTreeView::*_t)(const QModelIndex & , const QPoint & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AccountTreeView::contextMenuRequested)) {
                *result = 3;
                return;
            }
        }
    }
}

const QMetaObject KPlato::AccountTreeView::staticMetaObject = {
    { &TreeViewBase::staticMetaObject, qt_meta_stringdata_KPlato__AccountTreeView.data,
      qt_meta_data_KPlato__AccountTreeView,  qt_static_metacall, nullptr, nullptr}
};


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

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

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

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

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

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

// SIGNAL 3
void KPlato::AccountTreeView::contextMenuRequested(const QModelIndex & _t1, const QPoint & _t2)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 3, _a);
}
struct qt_meta_stringdata_KPlato__AccountsEditor_t {
    QByteArrayData data[23];
    char stringdata0[328];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KPlato__AccountsEditor_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KPlato__AccountsEditor_t qt_meta_stringdata_KPlato__AccountsEditor = {
    {
QT_MOC_LITERAL(0, 0, 22), // "KPlato::AccountsEditor"
QT_MOC_LITERAL(1, 23, 10), // "addAccount"
QT_MOC_LITERAL(2, 34, 0), // ""
QT_MOC_LITERAL(3, 35, 8), // "Account*"
QT_MOC_LITERAL(4, 44, 7), // "account"
QT_MOC_LITERAL(5, 52, 14), // "deleteAccounts"
QT_MOC_LITERAL(6, 67, 15), // "QList<Account*>"
QT_MOC_LITERAL(7, 83, 12), // "setGuiActive"
QT_MOC_LITERAL(8, 96, 8), // "activate"
QT_MOC_LITERAL(9, 105, 11), // "slotOptions"
QT_MOC_LITERAL(10, 117, 24), // "slotContextMenuRequested"
QT_MOC_LITERAL(11, 142, 5), // "index"
QT_MOC_LITERAL(12, 148, 3), // "pos"
QT_MOC_LITERAL(13, 152, 30), // "slotHeaderContextMenuRequested"
QT_MOC_LITERAL(14, 183, 20), // "slotSelectionChanged"
QT_MOC_LITERAL(15, 204, 15), // "QModelIndexList"
QT_MOC_LITERAL(16, 220, 18), // "slotCurrentChanged"
QT_MOC_LITERAL(17, 239, 17), // "slotEnableActions"
QT_MOC_LITERAL(18, 257, 2), // "on"
QT_MOC_LITERAL(19, 260, 14), // "slotAddAccount"
QT_MOC_LITERAL(20, 275, 17), // "slotAddSubAccount"
QT_MOC_LITERAL(21, 293, 19), // "slotDeleteSelection"
QT_MOC_LITERAL(22, 313, 14) // "slotAccountsOk"

    },
    "KPlato::AccountsEditor\0addAccount\0\0"
    "Account*\0account\0deleteAccounts\0"
    "QList<Account*>\0setGuiActive\0activate\0"
    "slotOptions\0slotContextMenuRequested\0"
    "index\0pos\0slotHeaderContextMenuRequested\0"
    "slotSelectionChanged\0QModelIndexList\0"
    "slotCurrentChanged\0slotEnableActions\0"
    "on\0slotAddAccount\0slotAddSubAccount\0"
    "slotDeleteSelection\0slotAccountsOk"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KPlato__AccountsEditor[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    1,   79,    2, 0x06 /* Public */,
       5,    1,   82,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       7,    1,   85,    2, 0x0a /* Public */,
       9,    0,   88,    2, 0x09 /* Protected */,
      10,    2,   89,    2, 0x08 /* Private */,
      13,    1,   94,    2, 0x08 /* Private */,
      14,    1,   97,    2, 0x08 /* Private */,
      16,    1,  100,    2, 0x08 /* Private */,
      17,    1,  103,    2, 0x08 /* Private */,
      19,    0,  106,    2, 0x08 /* Private */,
      20,    0,  107,    2, 0x08 /* Private */,
      21,    0,  108,    2, 0x08 /* Private */,
      22,    0,  109,    2, 0x08 /* Private */,

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

 // slots: parameters
    QMetaType::Void, QMetaType::Bool,    8,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QModelIndex, QMetaType::QPoint,   11,   12,
    QMetaType::Void, QMetaType::QPoint,   12,
    QMetaType::Void, 0x80000000 | 15,    2,
    QMetaType::Void, QMetaType::QModelIndex,    2,
    QMetaType::Void, QMetaType::Bool,   18,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,

       0        // eod
};

void KPlato::AccountsEditor::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        AccountsEditor *_t = static_cast<AccountsEditor *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->addAccount((*reinterpret_cast< Account*(*)>(_a[1]))); break;
        case 1: _t->deleteAccounts((*reinterpret_cast< const QList<Account*>(*)>(_a[1]))); break;
        case 2: _t->setGuiActive((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 3: _t->slotOptions(); break;
        case 4: _t->slotContextMenuRequested((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< const QPoint(*)>(_a[2]))); break;
        case 5: _t->slotHeaderContextMenuRequested((*reinterpret_cast< const QPoint(*)>(_a[1]))); break;
        case 6: _t->slotSelectionChanged((*reinterpret_cast< const QModelIndexList(*)>(_a[1]))); break;
        case 7: _t->slotCurrentChanged((*reinterpret_cast< const QModelIndex(*)>(_a[1]))); break;
        case 8: _t->slotEnableActions((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 9: _t->slotAddAccount(); break;
        case 10: _t->slotAddSubAccount(); break;
        case 11: _t->slotDeleteSelection(); break;
        case 12: _t->slotAccountsOk(); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 6:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QModelIndexList >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            typedef void (AccountsEditor::*_t)(Account * );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AccountsEditor::addAccount)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (AccountsEditor::*_t)(const QList<Account*> & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AccountsEditor::deleteAccounts)) {
                *result = 1;
                return;
            }
        }
    }
}

const QMetaObject KPlato::AccountsEditor::staticMetaObject = {
    { &ViewBase::staticMetaObject, qt_meta_stringdata_KPlato__AccountsEditor.data,
      qt_meta_data_KPlato__AccountsEditor,  qt_static_metacall, nullptr, nullptr}
};


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

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

int KPlato::AccountsEditor::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 < 13)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 13;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 13)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 13;
    }
    return _id;
}

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

// SIGNAL 1
void KPlato::AccountsEditor::deleteAccounts(const QList<Account*> & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
