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

#include "../../src/kalgebra-17.04.3/src/functionedit.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'functionedit.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.6.2. 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
struct qt_meta_stringdata_FunctionEdit_t {
    QByteArrayData data[10];
    char stringdata0[95];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_FunctionEdit_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_FunctionEdit_t qt_meta_stringdata_FunctionEdit = {
    {
QT_MOC_LITERAL(0, 0, 12), // "FunctionEdit"
QT_MOC_LITERAL(1, 13, 6), // "accept"
QT_MOC_LITERAL(2, 20, 0), // ""
QT_MOC_LITERAL(3, 21, 17), // "removeEditingPlot"
QT_MOC_LITERAL(4, 39, 5), // "clear"
QT_MOC_LITERAL(5, 45, 4), // "edit"
QT_MOC_LITERAL(6, 50, 2), // "ok"
QT_MOC_LITERAL(7, 53, 11), // "colorChange"
QT_MOC_LITERAL(8, 65, 13), // "updateUplimit"
QT_MOC_LITERAL(9, 79, 15) // "updateDownlimit"

    },
    "FunctionEdit\0accept\0\0removeEditingPlot\0"
    "clear\0edit\0ok\0colorChange\0updateUplimit\0"
    "updateDownlimit"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_FunctionEdit[] = {

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

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

 // slots: name, argc, parameters, tag, flags
       4,    0,   56,    2, 0x0a /* Public */,
       5,    0,   57,    2, 0x08 /* Private */,
       6,    0,   58,    2, 0x08 /* Private */,
       7,    1,   59,    2, 0x08 /* Private */,
       8,    0,   62,    2, 0x08 /* Private */,
       9,    0,   63,    2, 0x08 /* Private */,

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

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int,    2,
    QMetaType::Void,
    QMetaType::Void,

       0        // eod
};

void FunctionEdit::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        FunctionEdit *_t = static_cast<FunctionEdit *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->accept(); break;
        case 1: _t->removeEditingPlot(); break;
        case 2: _t->clear(); break;
        case 3: _t->edit(); break;
        case 4: _t->ok(); break;
        case 5: _t->colorChange((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 6: _t->updateUplimit(); break;
        case 7: _t->updateDownlimit(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (FunctionEdit::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&FunctionEdit::accept)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (FunctionEdit::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&FunctionEdit::removeEditingPlot)) {
                *result = 1;
                return;
            }
        }
    }
}

const QMetaObject FunctionEdit::staticMetaObject = {
    { &QWidget::staticMetaObject, qt_meta_stringdata_FunctionEdit.data,
      qt_meta_data_FunctionEdit,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

void *FunctionEdit::qt_metacast(const char *_clname)
{
    if (!_clname) return Q_NULLPTR;
    if (!strcmp(_clname, qt_meta_stringdata_FunctionEdit.stringdata0))
        return static_cast<void*>(const_cast< FunctionEdit*>(this));
    return QWidget::qt_metacast(_clname);
}

int FunctionEdit::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 < 8)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 8;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 8)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 8;
    }
    return _id;
}

// SIGNAL 0
void FunctionEdit::accept()
{
    QMetaObject::activate(this, &staticMetaObject, 0, Q_NULLPTR);
}

// SIGNAL 1
void FunctionEdit::removeEditingPlot()
{
    QMetaObject::activate(this, &staticMetaObject, 1, Q_NULLPTR);
}
QT_END_MOC_NAMESPACE
