#if defined (HAVE_CONFIG_H)
#  include "config.h"
#endif
/****************************************************************************
** Meta object code from reading C++ file 'workspace-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/workspace-model.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'workspace-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__workspace_model_t {
    QByteArrayData data[15];
    char stringdata0[200];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_octave__workspace_model_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_octave__workspace_model_t qt_meta_stringdata_octave__workspace_model = {
    {
QT_MOC_LITERAL(0, 0, 23), // "octave::workspace_model"
QT_MOC_LITERAL(1, 24, 13), // "model_changed"
QT_MOC_LITERAL(2, 38, 0), // ""
QT_MOC_LITERAL(3, 39, 22), // "prompt_variable_editor"
QT_MOC_LITERAL(4, 62, 15), // "rename_variable"
QT_MOC_LITERAL(5, 78, 8), // "old_name"
QT_MOC_LITERAL(6, 87, 8), // "new_name"
QT_MOC_LITERAL(7, 96, 13), // "set_workspace"
QT_MOC_LITERAL(8, 110, 9), // "top_level"
QT_MOC_LITERAL(9, 120, 5), // "debug"
QT_MOC_LITERAL(10, 126, 16), // "symbol_info_list"
QT_MOC_LITERAL(11, 143, 7), // "syminfo"
QT_MOC_LITERAL(12, 151, 15), // "clear_workspace"
QT_MOC_LITERAL(13, 167, 15), // "notice_settings"
QT_MOC_LITERAL(14, 183, 16) // "const QSettings*"

    },
    "octave::workspace_model\0model_changed\0"
    "\0prompt_variable_editor\0rename_variable\0"
    "old_name\0new_name\0set_workspace\0"
    "top_level\0debug\0symbol_info_list\0"
    "syminfo\0clear_workspace\0notice_settings\0"
    "const QSettings*"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_octave__workspace_model[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    0,   44,    2, 0x06 /* Public */,
       3,    0,   45,    2, 0x06 /* Public */,
       4,    2,   46,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       7,    3,   51,    2, 0x0a /* Public */,
      12,    0,   58,    2, 0x0a /* Public */,
      13,    1,   59,    2, 0x0a /* Public */,

 // signals: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString, QMetaType::QString,    5,    6,

 // slots: parameters
    QMetaType::Void, QMetaType::Bool, QMetaType::Bool, 0x80000000 | 10,    8,    9,   11,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 14,    2,

       0        // eod
};

void octave::workspace_model::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        workspace_model *_t = static_cast<workspace_model *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->model_changed(); break;
        case 1: _t->prompt_variable_editor(); break;
        case 2: _t->rename_variable((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 3: _t->set_workspace((*reinterpret_cast< bool(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2])),(*reinterpret_cast< const symbol_info_list(*)>(_a[3]))); break;
        case 4: _t->clear_workspace(); break;
        case 5: _t->notice_settings((*reinterpret_cast< const QSettings*(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            typedef void (workspace_model::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&workspace_model::model_changed)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (workspace_model::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&workspace_model::prompt_variable_editor)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (workspace_model::*_t)(const QString & , const QString & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&workspace_model::rename_variable)) {
                *result = 2;
                return;
            }
        }
    }
}

const QMetaObject octave::workspace_model::staticMetaObject = {
    { &QAbstractTableModel::staticMetaObject, qt_meta_stringdata_octave__workspace_model.data,
      qt_meta_data_octave__workspace_model,  qt_static_metacall, nullptr, nullptr}
};


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

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

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

// SIGNAL 0
void octave::workspace_model::model_changed()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}

// SIGNAL 1
void octave::workspace_model::prompt_variable_editor()
{
    QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
}

// SIGNAL 2
void octave::workspace_model::rename_variable(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, 2, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
