#if defined (HAVE_CONFIG_H)
#  include "config.h"
#endif
/****************************************************************************
** Meta object code from reading C++ file 'workspace-view.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-view.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'workspace-view.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_view_t {
    QByteArrayData data[35];
    char stringdata0[582];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_octave__workspace_view_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_octave__workspace_view_t qt_meta_stringdata_octave__workspace_view = {
    {
QT_MOC_LITERAL(0, 0, 22), // "octave::workspace_view"
QT_MOC_LITERAL(1, 23, 17), // "command_requested"
QT_MOC_LITERAL(2, 41, 0), // ""
QT_MOC_LITERAL(3, 42, 3), // "cmd"
QT_MOC_LITERAL(4, 46, 20), // "edit_variable_signal"
QT_MOC_LITERAL(5, 67, 12), // "octave_value"
QT_MOC_LITERAL(6, 80, 8), // "setModel"
QT_MOC_LITERAL(7, 89, 16), // "workspace_model*"
QT_MOC_LITERAL(8, 106, 5), // "model"
QT_MOC_LITERAL(9, 112, 15), // "notice_settings"
QT_MOC_LITERAL(10, 128, 16), // "const QSettings*"
QT_MOC_LITERAL(11, 145, 13), // "save_settings"
QT_MOC_LITERAL(12, 159, 13), // "filter_update"
QT_MOC_LITERAL(13, 173, 10), // "expression"
QT_MOC_LITERAL(14, 184, 15), // "filter_activate"
QT_MOC_LITERAL(15, 200, 6), // "enable"
QT_MOC_LITERAL(16, 207, 21), // "update_filter_history"
QT_MOC_LITERAL(17, 229, 28), // "header_contextmenu_requested"
QT_MOC_LITERAL(18, 258, 4), // "mpos"
QT_MOC_LITERAL(19, 263, 13), // "toggle_header"
QT_MOC_LITERAL(20, 277, 6), // "column"
QT_MOC_LITERAL(21, 284, 21), // "contextmenu_requested"
QT_MOC_LITERAL(22, 306, 3), // "pos"
QT_MOC_LITERAL(23, 310, 23), // "handle_contextmenu_copy"
QT_MOC_LITERAL(24, 334, 29), // "handle_contextmenu_copy_value"
QT_MOC_LITERAL(25, 364, 25), // "handle_contextmenu_rename"
QT_MOC_LITERAL(26, 390, 23), // "handle_contextmenu_edit"
QT_MOC_LITERAL(27, 414, 24), // "handle_contextmenu_clear"
QT_MOC_LITERAL(28, 439, 23), // "handle_contextmenu_disp"
QT_MOC_LITERAL(29, 463, 23), // "handle_contextmenu_plot"
QT_MOC_LITERAL(30, 487, 23), // "handle_contextmenu_stem"
QT_MOC_LITERAL(31, 511, 25), // "handle_contextmenu_filter"
QT_MOC_LITERAL(32, 537, 20), // "handle_model_changed"
QT_MOC_LITERAL(33, 558, 13), // "copyClipboard"
QT_MOC_LITERAL(34, 572, 9) // "selectAll"

    },
    "octave::workspace_view\0command_requested\0"
    "\0cmd\0edit_variable_signal\0octave_value\0"
    "setModel\0workspace_model*\0model\0"
    "notice_settings\0const QSettings*\0"
    "save_settings\0filter_update\0expression\0"
    "filter_activate\0enable\0update_filter_history\0"
    "header_contextmenu_requested\0mpos\0"
    "toggle_header\0column\0contextmenu_requested\0"
    "pos\0handle_contextmenu_copy\0"
    "handle_contextmenu_copy_value\0"
    "handle_contextmenu_rename\0"
    "handle_contextmenu_edit\0"
    "handle_contextmenu_clear\0"
    "handle_contextmenu_disp\0handle_contextmenu_plot\0"
    "handle_contextmenu_stem\0"
    "handle_contextmenu_filter\0"
    "handle_model_changed\0copyClipboard\0"
    "selectAll"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_octave__workspace_view[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    1,  129,    2, 0x06 /* Public */,
       4,    2,  132,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       6,    1,  137,    2, 0x0a /* Public */,
       9,    1,  140,    2, 0x0a /* Public */,
      11,    0,  143,    2, 0x0a /* Public */,
      12,    1,  144,    2, 0x09 /* Protected */,
      14,    1,  147,    2, 0x09 /* Protected */,
      16,    0,  150,    2, 0x09 /* Protected */,
      17,    1,  151,    2, 0x09 /* Protected */,
      19,    1,  154,    2, 0x09 /* Protected */,
      21,    1,  157,    2, 0x09 /* Protected */,
      23,    0,  160,    2, 0x09 /* Protected */,
      24,    0,  161,    2, 0x09 /* Protected */,
      25,    0,  162,    2, 0x09 /* Protected */,
      26,    0,  163,    2, 0x09 /* Protected */,
      27,    0,  164,    2, 0x09 /* Protected */,
      28,    0,  165,    2, 0x09 /* Protected */,
      29,    0,  166,    2, 0x09 /* Protected */,
      30,    0,  167,    2, 0x09 /* Protected */,
      31,    0,  168,    2, 0x09 /* Protected */,
      32,    0,  169,    2, 0x09 /* Protected */,
      33,    0,  170,    2, 0x09 /* Protected */,
      34,    0,  171,    2, 0x09 /* Protected */,

 // signals: parameters
    QMetaType::Void, QMetaType::QString,    3,
    QMetaType::Void, QMetaType::QString, 0x80000000 | 5,    2,    2,

 // slots: parameters
    QMetaType::Void, 0x80000000 | 7,    8,
    QMetaType::Void, 0x80000000 | 10,    2,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString,   13,
    QMetaType::Void, QMetaType::Bool,   15,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QPoint,   18,
    QMetaType::Void, QMetaType::Int,   20,
    QMetaType::Void, QMetaType::QPoint,   22,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,

       0        // eod
};

void octave::workspace_view::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        workspace_view *_t = static_cast<workspace_view *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->command_requested((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 1: _t->edit_variable_signal((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const octave_value(*)>(_a[2]))); break;
        case 2: _t->setModel((*reinterpret_cast< workspace_model*(*)>(_a[1]))); break;
        case 3: _t->notice_settings((*reinterpret_cast< const QSettings*(*)>(_a[1]))); break;
        case 4: _t->save_settings(); break;
        case 5: _t->filter_update((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 6: _t->filter_activate((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 7: _t->update_filter_history(); break;
        case 8: _t->header_contextmenu_requested((*reinterpret_cast< const QPoint(*)>(_a[1]))); break;
        case 9: _t->toggle_header((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 10: _t->contextmenu_requested((*reinterpret_cast< const QPoint(*)>(_a[1]))); break;
        case 11: _t->handle_contextmenu_copy(); break;
        case 12: _t->handle_contextmenu_copy_value(); break;
        case 13: _t->handle_contextmenu_rename(); break;
        case 14: _t->handle_contextmenu_edit(); break;
        case 15: _t->handle_contextmenu_clear(); break;
        case 16: _t->handle_contextmenu_disp(); break;
        case 17: _t->handle_contextmenu_plot(); break;
        case 18: _t->handle_contextmenu_stem(); break;
        case 19: _t->handle_contextmenu_filter(); break;
        case 20: _t->handle_model_changed(); break;
        case 21: _t->copyClipboard(); break;
        case 22: _t->selectAll(); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 2:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< workspace_model* >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            typedef void (workspace_view::*_t)(const QString & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&workspace_view::command_requested)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (workspace_view::*_t)(const QString & , const octave_value & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&workspace_view::edit_variable_signal)) {
                *result = 1;
                return;
            }
        }
    }
}

const QMetaObject octave::workspace_view::staticMetaObject = {
    { &octave_dock_widget::staticMetaObject, qt_meta_stringdata_octave__workspace_view.data,
      qt_meta_data_octave__workspace_view,  qt_static_metacall, nullptr, nullptr}
};


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

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

int octave::workspace_view::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = octave_dock_widget::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 23)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 23;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 23)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 23;
    }
    return _id;
}

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

// SIGNAL 1
void octave::workspace_view::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, 1, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
