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

#include "../../../../../../../kmymoney/plugins/views/reports/kreportsview.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'kreportsview.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.9.1. 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_KReportsView_t {
    QByteArrayData data[37];
    char stringdata0[509];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KReportsView_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KReportsView_t qt_meta_stringdata_KReportsView = {
    {
QT_MOC_LITERAL(0, 0, 12), // "KReportsView"
QT_MOC_LITERAL(1, 13, 14), // "reportSelected"
QT_MOC_LITERAL(2, 28, 0), // ""
QT_MOC_LITERAL(3, 29, 13), // "MyMoneyReport"
QT_MOC_LITERAL(4, 43, 19), // "transactionSelected"
QT_MOC_LITERAL(5, 63, 19), // "switchViewRequested"
QT_MOC_LITERAL(6, 83, 4), // "View"
QT_MOC_LITERAL(7, 88, 4), // "view"
QT_MOC_LITERAL(8, 93, 11), // "slotOpenUrl"
QT_MOC_LITERAL(9, 105, 3), // "url"
QT_MOC_LITERAL(10, 109, 13), // "slotPrintView"
QT_MOC_LITERAL(11, 123, 12), // "slotCopyView"
QT_MOC_LITERAL(12, 136, 12), // "slotSaveView"
QT_MOC_LITERAL(13, 149, 13), // "slotConfigure"
QT_MOC_LITERAL(14, 163, 13), // "slotDuplicate"
QT_MOC_LITERAL(15, 177, 15), // "slotToggleChart"
QT_MOC_LITERAL(16, 193, 21), // "slotItemDoubleClicked"
QT_MOC_LITERAL(17, 215, 16), // "QTreeWidgetItem*"
QT_MOC_LITERAL(18, 232, 4), // "item"
QT_MOC_LITERAL(19, 237, 14), // "slotOpenReport"
QT_MOC_LITERAL(20, 252, 16), // "slotCloseCurrent"
QT_MOC_LITERAL(21, 269, 9), // "slotClose"
QT_MOC_LITERAL(22, 279, 5), // "index"
QT_MOC_LITERAL(23, 285, 12), // "slotCloseAll"
QT_MOC_LITERAL(24, 298, 10), // "slotDelete"
QT_MOC_LITERAL(25, 309, 19), // "slotListContextMenu"
QT_MOC_LITERAL(26, 329, 16), // "slotOpenFromList"
QT_MOC_LITERAL(27, 346, 17), // "slotPrintFromList"
QT_MOC_LITERAL(28, 364, 21), // "slotConfigureFromList"
QT_MOC_LITERAL(29, 386, 15), // "slotNewFromList"
QT_MOC_LITERAL(30, 402, 18), // "slotDeleteFromList"
QT_MOC_LITERAL(31, 421, 18), // "slotSelectByObject"
QT_MOC_LITERAL(32, 440, 13), // "MyMoneyObject"
QT_MOC_LITERAL(33, 454, 3), // "obj"
QT_MOC_LITERAL(34, 458, 13), // "eView::Intent"
QT_MOC_LITERAL(35, 472, 6), // "intent"
QT_MOC_LITERAL(36, 479, 29) // "slotReportAccountTransactions"

    },
    "KReportsView\0reportSelected\0\0MyMoneyReport\0"
    "transactionSelected\0switchViewRequested\0"
    "View\0view\0slotOpenUrl\0url\0slotPrintView\0"
    "slotCopyView\0slotSaveView\0slotConfigure\0"
    "slotDuplicate\0slotToggleChart\0"
    "slotItemDoubleClicked\0QTreeWidgetItem*\0"
    "item\0slotOpenReport\0slotCloseCurrent\0"
    "slotClose\0index\0slotCloseAll\0slotDelete\0"
    "slotListContextMenu\0slotOpenFromList\0"
    "slotPrintFromList\0slotConfigureFromList\0"
    "slotNewFromList\0slotDeleteFromList\0"
    "slotSelectByObject\0MyMoneyObject\0obj\0"
    "eView::Intent\0intent\0slotReportAccountTransactions"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KReportsView[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    1,  139,    2, 0x06 /* Public */,
       4,    2,  142,    2, 0x06 /* Public */,
       5,    1,  147,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       8,    1,  150,    2, 0x0a /* Public */,
      10,    0,  153,    2, 0x0a /* Public */,
      11,    0,  154,    2, 0x0a /* Public */,
      12,    0,  155,    2, 0x0a /* Public */,
      13,    0,  156,    2, 0x0a /* Public */,
      14,    0,  157,    2, 0x0a /* Public */,
      15,    0,  158,    2, 0x0a /* Public */,
      16,    2,  159,    2, 0x0a /* Public */,
      19,    1,  164,    2, 0x0a /* Public */,
      19,    1,  167,    2, 0x0a /* Public */,
      20,    0,  170,    2, 0x0a /* Public */,
      21,    1,  171,    2, 0x0a /* Public */,
      23,    0,  174,    2, 0x0a /* Public */,
      24,    0,  175,    2, 0x0a /* Public */,
      25,    1,  176,    2, 0x0a /* Public */,
      26,    0,  179,    2, 0x0a /* Public */,
      27,    0,  180,    2, 0x0a /* Public */,
      28,    0,  181,    2, 0x0a /* Public */,
      29,    0,  182,    2, 0x0a /* Public */,
      30,    0,  183,    2, 0x0a /* Public */,
      31,    2,  184,    2, 0x0a /* Public */,
      36,    0,  189,    2, 0x08 /* Private */,

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

 // slots: parameters
    QMetaType::Void, QMetaType::QUrl,    9,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 17, QMetaType::Int,   18,    2,
    QMetaType::Void, QMetaType::QString,    2,
    QMetaType::Void, 0x80000000 | 3,    2,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int,   22,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QPoint,    2,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 32, 0x80000000 | 34,   33,   35,
    QMetaType::Void,

       0        // eod
};

void KReportsView::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        KReportsView *_t = static_cast<KReportsView *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->reportSelected((*reinterpret_cast< const MyMoneyReport(*)>(_a[1]))); break;
        case 1: _t->transactionSelected((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 2: _t->switchViewRequested((*reinterpret_cast< View(*)>(_a[1]))); break;
        case 3: _t->slotOpenUrl((*reinterpret_cast< const QUrl(*)>(_a[1]))); break;
        case 4: _t->slotPrintView(); break;
        case 5: _t->slotCopyView(); break;
        case 6: _t->slotSaveView(); break;
        case 7: _t->slotConfigure(); break;
        case 8: _t->slotDuplicate(); break;
        case 9: _t->slotToggleChart(); break;
        case 10: _t->slotItemDoubleClicked((*reinterpret_cast< QTreeWidgetItem*(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 11: _t->slotOpenReport((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 12: _t->slotOpenReport((*reinterpret_cast< const MyMoneyReport(*)>(_a[1]))); break;
        case 13: _t->slotCloseCurrent(); break;
        case 14: _t->slotClose((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 15: _t->slotCloseAll(); break;
        case 16: _t->slotDelete(); break;
        case 17: _t->slotListContextMenu((*reinterpret_cast< const QPoint(*)>(_a[1]))); break;
        case 18: _t->slotOpenFromList(); break;
        case 19: _t->slotPrintFromList(); break;
        case 20: _t->slotConfigureFromList(); break;
        case 21: _t->slotNewFromList(); break;
        case 22: _t->slotDeleteFromList(); break;
        case 23: _t->slotSelectByObject((*reinterpret_cast< const MyMoneyObject(*)>(_a[1])),(*reinterpret_cast< eView::Intent(*)>(_a[2]))); break;
        case 24: _t->slotReportAccountTransactions(); 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< MyMoneyReport >(); break;
            }
            break;
        case 12:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< MyMoneyReport >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (KReportsView::*_t)(const MyMoneyReport & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KReportsView::reportSelected)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (KReportsView::*_t)(const QString & , const QString & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KReportsView::transactionSelected)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (KReportsView::*_t)(View );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KReportsView::switchViewRequested)) {
                *result = 2;
                return;
            }
        }
    }
}

const QMetaObject KReportsView::staticMetaObject = {
    { &KMyMoneyViewBase::staticMetaObject, qt_meta_stringdata_KReportsView.data,
      qt_meta_data_KReportsView,  qt_static_metacall, nullptr, nullptr}
};


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

void *KReportsView::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_KReportsView.stringdata0))
        return static_cast<void*>(const_cast< KReportsView*>(this));
    return KMyMoneyViewBase::qt_metacast(_clname);
}

int KReportsView::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = KMyMoneyViewBase::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 25)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 25;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 25)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 25;
    }
    return _id;
}

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

// SIGNAL 1
void KReportsView::transactionSelected(const QString & _t1, const QString & _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 KReportsView::switchViewRequested(View _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
