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

#include "../../src/kmplot-15.04.3/kmplot/kconstanteditor.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'kconstanteditor.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.4.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_KConstantEditor_t {
    QByteArrayData data[14];
    char stringdata[209];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KConstantEditor_t, stringdata) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KConstantEditor_t qt_meta_stringdata_KConstantEditor = {
    {
QT_MOC_LITERAL(0, 0, 15), // "KConstantEditor"
QT_MOC_LITERAL(1, 16, 14), // "cmdNew_clicked"
QT_MOC_LITERAL(2, 31, 0), // ""
QT_MOC_LITERAL(3, 32, 17), // "cmdDelete_clicked"
QT_MOC_LITERAL(4, 50, 18), // "constantNameEdited"
QT_MOC_LITERAL(5, 69, 7), // "newName"
QT_MOC_LITERAL(6, 77, 23), // "selectedConstantChanged"
QT_MOC_LITERAL(7, 101, 16), // "QTreeWidgetItem*"
QT_MOC_LITERAL(8, 118, 7), // "current"
QT_MOC_LITERAL(9, 126, 19), // "saveCurrentConstant"
QT_MOC_LITERAL(10, 146, 15), // "checkValueValid"
QT_MOC_LITERAL(11, 162, 19), // "updateConstantsList"
QT_MOC_LITERAL(12, 182, 11), // "itemClicked"
QT_MOC_LITERAL(13, 194, 14) // "dialogFinished"

    },
    "KConstantEditor\0cmdNew_clicked\0\0"
    "cmdDelete_clicked\0constantNameEdited\0"
    "newName\0selectedConstantChanged\0"
    "QTreeWidgetItem*\0current\0saveCurrentConstant\0"
    "checkValueValid\0updateConstantsList\0"
    "itemClicked\0dialogFinished"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KConstantEditor[] = {

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

 // slots: name, argc, parameters, tag, flags
       1,    0,   59,    2, 0x0a /* Public */,
       3,    0,   60,    2, 0x0a /* Public */,
       4,    1,   61,    2, 0x0a /* Public */,
       6,    1,   64,    2, 0x0a /* Public */,
       9,    0,   67,    2, 0x0a /* Public */,
      10,    0,   68,    2, 0x0a /* Public */,
      11,    0,   69,    2, 0x0a /* Public */,
      12,    0,   70,    2, 0x09 /* Protected */,
      13,    0,   71,    2, 0x09 /* Protected */,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString,    5,
    QMetaType::Void, 0x80000000 | 7,    8,
    QMetaType::Void,
    QMetaType::Bool,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,

       0        // eod
};

void KConstantEditor::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        KConstantEditor *_t = static_cast<KConstantEditor *>(_o);
        switch (_id) {
        case 0: _t->cmdNew_clicked(); break;
        case 1: _t->cmdDelete_clicked(); break;
        case 2: _t->constantNameEdited((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 3: _t->selectedConstantChanged((*reinterpret_cast< QTreeWidgetItem*(*)>(_a[1]))); break;
        case 4: _t->saveCurrentConstant(); break;
        case 5: { bool _r = _t->checkValueValid();
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; }  break;
        case 6: _t->updateConstantsList(); break;
        case 7: _t->itemClicked(); break;
        case 8: _t->dialogFinished(); break;
        default: ;
        }
    }
}

const QMetaObject KConstantEditor::staticMetaObject = {
    { &KDialog::staticMetaObject, qt_meta_stringdata_KConstantEditor.data,
      qt_meta_data_KConstantEditor,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

void *KConstantEditor::qt_metacast(const char *_clname)
{
    if (!_clname) return Q_NULLPTR;
    if (!strcmp(_clname, qt_meta_stringdata_KConstantEditor.stringdata))
        return static_cast<void*>(const_cast< KConstantEditor*>(this));
    return KDialog::qt_metacast(_clname);
}

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