/****************************************************************************
** Meta object code from reading C++ file 'kmymoneycalculator.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/widgets/kmymoneycalculator.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'kmymoneycalculator.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_KMyMoneyCalculator_t {
    QByteArrayData data[14];
    char stringdata0[184];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KMyMoneyCalculator_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KMyMoneyCalculator_t qt_meta_stringdata_KMyMoneyCalculator = {
    {
QT_MOC_LITERAL(0, 0, 18), // "KMyMoneyCalculator"
QT_MOC_LITERAL(1, 19, 21), // "signalResultAvailable"
QT_MOC_LITERAL(2, 41, 0), // ""
QT_MOC_LITERAL(3, 42, 10), // "signalQuit"
QT_MOC_LITERAL(4, 53, 12), // "digitClicked"
QT_MOC_LITERAL(5, 66, 6), // "button"
QT_MOC_LITERAL(6, 73, 18), // "calculationClicked"
QT_MOC_LITERAL(7, 92, 12), // "commaClicked"
QT_MOC_LITERAL(8, 105, 16), // "plusminusClicked"
QT_MOC_LITERAL(9, 122, 12), // "clearClicked"
QT_MOC_LITERAL(10, 135, 15), // "clearAllClicked"
QT_MOC_LITERAL(11, 151, 14), // "percentClicked"
QT_MOC_LITERAL(12, 166, 13), // "changeDisplay"
QT_MOC_LITERAL(13, 180, 3) // "str"

    },
    "KMyMoneyCalculator\0signalResultAvailable\0"
    "\0signalQuit\0digitClicked\0button\0"
    "calculationClicked\0commaClicked\0"
    "plusminusClicked\0clearClicked\0"
    "clearAllClicked\0percentClicked\0"
    "changeDisplay\0str"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KMyMoneyCalculator[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    0,   64,    2, 0x06 /* Public */,
       3,    0,   65,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       4,    1,   66,    2, 0x09 /* Protected */,
       6,    1,   69,    2, 0x09 /* Protected */,
       7,    0,   72,    2, 0x09 /* Protected */,
       8,    0,   73,    2, 0x09 /* Protected */,
       9,    0,   74,    2, 0x09 /* Protected */,
      10,    0,   75,    2, 0x09 /* Protected */,
      11,    0,   76,    2, 0x09 /* Protected */,
      12,    1,   77,    2, 0x09 /* Protected */,

 // signals: parameters
    QMetaType::Void,
    QMetaType::Void,

 // slots: parameters
    QMetaType::Void, QMetaType::Int,    5,
    QMetaType::Void, QMetaType::Int,    5,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString,   13,

       0        // eod
};

void KMyMoneyCalculator::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        KMyMoneyCalculator *_t = static_cast<KMyMoneyCalculator *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->signalResultAvailable(); break;
        case 1: _t->signalQuit(); break;
        case 2: _t->digitClicked((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 3: _t->calculationClicked((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 4: _t->commaClicked(); break;
        case 5: _t->plusminusClicked(); break;
        case 6: _t->clearClicked(); break;
        case 7: _t->clearAllClicked(); break;
        case 8: _t->percentClicked(); break;
        case 9: _t->changeDisplay((*reinterpret_cast< const QString(*)>(_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 (KMyMoneyCalculator::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KMyMoneyCalculator::signalResultAvailable)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (KMyMoneyCalculator::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KMyMoneyCalculator::signalQuit)) {
                *result = 1;
                return;
            }
        }
    }
}

const QMetaObject KMyMoneyCalculator::staticMetaObject = {
    { &QFrame::staticMetaObject, qt_meta_stringdata_KMyMoneyCalculator.data,
      qt_meta_data_KMyMoneyCalculator,  qt_static_metacall, nullptr, nullptr}
};


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

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

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

// SIGNAL 0
void KMyMoneyCalculator::signalResultAvailable()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}

// SIGNAL 1
void KMyMoneyCalculator::signalQuit()
{
    QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
