#if defined (HAVE_CONFIG_H)
#  include "config.h"
#endif
/****************************************************************************
** Meta object code from reading C++ file 'variable-editor-model.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 "/cygdrive/d/cyg_pub/devel/octave/octave-5.1.0-1.i686/src/octave-5.1.0/libgui/src/variable-editor-model.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'variable-editor-model.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_octave__variable_editor_model_t {
    QByteArrayData data[20];
    char stringdata0[260];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_octave__variable_editor_model_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_octave__variable_editor_model_t qt_meta_stringdata_octave__variable_editor_model = {
    {
QT_MOC_LITERAL(0, 0, 29), // "octave::variable_editor_model"
QT_MOC_LITERAL(1, 30, 18), // "update_data_signal"
QT_MOC_LITERAL(2, 49, 0), // ""
QT_MOC_LITERAL(3, 50, 12), // "octave_value"
QT_MOC_LITERAL(4, 63, 3), // "val"
QT_MOC_LITERAL(5, 67, 17), // "data_error_signal"
QT_MOC_LITERAL(6, 85, 4), // "name"
QT_MOC_LITERAL(7, 90, 17), // "user_error_signal"
QT_MOC_LITERAL(8, 108, 5), // "title"
QT_MOC_LITERAL(9, 114, 3), // "msg"
QT_MOC_LITERAL(10, 118, 19), // "set_editable_signal"
QT_MOC_LITERAL(11, 138, 19), // "description_changed"
QT_MOC_LITERAL(12, 158, 11), // "description"
QT_MOC_LITERAL(13, 170, 20), // "edit_variable_signal"
QT_MOC_LITERAL(14, 191, 11), // "update_data"
QT_MOC_LITERAL(15, 203, 17), // "update_data_cache"
QT_MOC_LITERAL(16, 221, 12), // "double_click"
QT_MOC_LITERAL(17, 234, 3), // "idx"
QT_MOC_LITERAL(18, 238, 10), // "data_error"
QT_MOC_LITERAL(19, 249, 10) // "user_error"

    },
    "octave::variable_editor_model\0"
    "update_data_signal\0\0octave_value\0val\0"
    "data_error_signal\0name\0user_error_signal\0"
    "title\0msg\0set_editable_signal\0"
    "description_changed\0description\0"
    "edit_variable_signal\0update_data\0"
    "update_data_cache\0double_click\0idx\0"
    "data_error\0user_error"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_octave__variable_editor_model[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    1,   69,    2, 0x06 /* Public */,
       5,    1,   72,    2, 0x06 /* Public */,
       7,    2,   75,    2, 0x06 /* Public */,
      10,    1,   80,    2, 0x06 /* Public */,
      11,    1,   83,    2, 0x06 /* Public */,
      13,    2,   86,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      14,    1,   91,    2, 0x0a /* Public */,
      15,    0,   94,    2, 0x0a /* Public */,
      16,    1,   95,    2, 0x0a /* Public */,
      18,    1,   98,    2, 0x08 /* Private */,
      19,    2,  101,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void, 0x80000000 | 3,    4,
    QMetaType::Void, QMetaType::QString,    6,
    QMetaType::Void, QMetaType::QString, QMetaType::QString,    8,    9,
    QMetaType::Void, QMetaType::Bool,    2,
    QMetaType::Void, QMetaType::QString,   12,
    QMetaType::Void, QMetaType::QString, 0x80000000 | 3,    6,    4,

 // slots: parameters
    QMetaType::Void, 0x80000000 | 3,    4,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QModelIndex,   17,
    QMetaType::Void, QMetaType::QString,    9,
    QMetaType::Void, QMetaType::QString, QMetaType::QString,    8,    9,

       0        // eod
};

void octave::variable_editor_model::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        variable_editor_model *_t = static_cast<variable_editor_model *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->update_data_signal((*reinterpret_cast< const octave_value(*)>(_a[1]))); break;
        case 1: _t->data_error_signal((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 2: _t->user_error_signal((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 3: _t->set_editable_signal((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 4: _t->description_changed((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 5: _t->edit_variable_signal((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const octave_value(*)>(_a[2]))); break;
        case 6: _t->update_data((*reinterpret_cast< const octave_value(*)>(_a[1]))); break;
        case 7: _t->update_data_cache(); break;
        case 8: _t->double_click((*reinterpret_cast< const QModelIndex(*)>(_a[1]))); break;
        case 9: _t->data_error((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 10: _t->user_error((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            typedef void (variable_editor_model::*_t)(const octave_value & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&variable_editor_model::update_data_signal)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (variable_editor_model::*_t)(const QString & ) const;
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&variable_editor_model::data_error_signal)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (variable_editor_model::*_t)(const QString & , const QString & ) const;
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&variable_editor_model::user_error_signal)) {
                *result = 2;
                return;
            }
        }
        {
            typedef void (variable_editor_model::*_t)(bool );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&variable_editor_model::set_editable_signal)) {
                *result = 3;
                return;
            }
        }
        {
            typedef void (variable_editor_model::*_t)(const QString & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&variable_editor_model::description_changed)) {
                *result = 4;
                return;
            }
        }
        {
            typedef void (variable_editor_model::*_t)(const QString & , const octave_value & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&variable_editor_model::edit_variable_signal)) {
                *result = 5;
                return;
            }
        }
    }
}

const QMetaObject octave::variable_editor_model::staticMetaObject = {
    { &QAbstractTableModel::staticMetaObject, qt_meta_stringdata_octave__variable_editor_model.data,
      qt_meta_data_octave__variable_editor_model,  qt_static_metacall, nullptr, nullptr}
};


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

void *octave::variable_editor_model::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_octave__variable_editor_model.stringdata0))
        return static_cast<void*>(this);
    return QAbstractTableModel::qt_metacast(_clname);
}

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

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

// SIGNAL 1
void octave::variable_editor_model::data_error_signal(const QString & _t1)const
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(const_cast< octave::variable_editor_model *>(this), &staticMetaObject, 1, _a);
}

// SIGNAL 2
void octave::variable_editor_model::user_error_signal(const QString & _t1, const QString & _t2)const
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(const_cast< octave::variable_editor_model *>(this), &staticMetaObject, 2, _a);
}

// SIGNAL 3
void octave::variable_editor_model::set_editable_signal(bool _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 3, _a);
}

// SIGNAL 4
void octave::variable_editor_model::description_changed(const QString & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 4, _a);
}

// SIGNAL 5
void octave::variable_editor_model::edit_variable_signal(const QString & _t1, const octave_value & _t2)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 5, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
