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

#include "../../src/ksysguard-5.8.8/gui/Workspace.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'Workspace.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.9.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
QT_WARNING_PUSH
QT_WARNING_DISABLE_DEPRECATED
struct qt_meta_stringdata_Workspace_t {
    QByteArrayData data[24];
    char stringdata0[286];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Workspace_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Workspace_t qt_meta_stringdata_Workspace = {
    {
QT_MOC_LITERAL(0, 0, 9), // "Workspace"
QT_MOC_LITERAL(1, 10, 10), // "setCaption"
QT_MOC_LITERAL(2, 21, 0), // ""
QT_MOC_LITERAL(3, 22, 4), // "text"
QT_MOC_LITERAL(4, 27, 12), // "newWorkSheet"
QT_MOC_LITERAL(5, 40, 15), // "importWorkSheet"
QT_MOC_LITERAL(6, 56, 13), // "saveWorkSheet"
QT_MOC_LITERAL(7, 70, 10), // "WorkSheet*"
QT_MOC_LITERAL(8, 81, 5), // "sheet"
QT_MOC_LITERAL(9, 87, 15), // "exportWorkSheet"
QT_MOC_LITERAL(10, 103, 15), // "removeWorkSheet"
QT_MOC_LITERAL(11, 119, 8), // "fileName"
QT_MOC_LITERAL(12, 128, 19), // "removeAllWorkSheets"
QT_MOC_LITERAL(13, 148, 18), // "getHotNewWorksheet"
QT_MOC_LITERAL(14, 167, 21), // "uploadHotNewWorksheet"
QT_MOC_LITERAL(15, 189, 3), // "cut"
QT_MOC_LITERAL(16, 193, 4), // "copy"
QT_MOC_LITERAL(17, 198, 5), // "paste"
QT_MOC_LITERAL(18, 204, 9), // "configure"
QT_MOC_LITERAL(19, 214, 16), // "updateSheetTitle"
QT_MOC_LITERAL(20, 231, 8), // "QWidget*"
QT_MOC_LITERAL(21, 240, 10), // "applyStyle"
QT_MOC_LITERAL(22, 251, 22), // "refreshActiveWorksheet"
QT_MOC_LITERAL(23, 274, 11) // "contextMenu"

    },
    "Workspace\0setCaption\0\0text\0newWorkSheet\0"
    "importWorkSheet\0saveWorkSheet\0WorkSheet*\0"
    "sheet\0exportWorkSheet\0removeWorkSheet\0"
    "fileName\0removeAllWorkSheets\0"
    "getHotNewWorksheet\0uploadHotNewWorksheet\0"
    "cut\0copy\0paste\0configure\0updateSheetTitle\0"
    "QWidget*\0applyStyle\0refreshActiveWorksheet\0"
    "contextMenu"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Workspace[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    1,  114,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       4,    0,  117,    2, 0x0a /* Public */,
       5,    0,  118,    2, 0x0a /* Public */,
       5,    1,  119,    2, 0x0a /* Public */,
       6,    1,  122,    2, 0x0a /* Public */,
       9,    0,  125,    2, 0x0a /* Public */,
       9,    1,  126,    2, 0x0a /* Public */,
      10,    0,  129,    2, 0x0a /* Public */,
      10,    1,  130,    2, 0x0a /* Public */,
      12,    0,  133,    2, 0x0a /* Public */,
      13,    0,  134,    2, 0x0a /* Public */,
      14,    0,  135,    2, 0x0a /* Public */,
      15,    0,  136,    2, 0x0a /* Public */,
      16,    0,  137,    2, 0x0a /* Public */,
      17,    0,  138,    2, 0x0a /* Public */,
      18,    0,  139,    2, 0x0a /* Public */,
      19,    1,  140,    2, 0x0a /* Public */,
      21,    0,  143,    2, 0x0a /* Public */,
      22,    0,  144,    2, 0x0a /* Public */,
      23,    2,  145,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void, QMetaType::QString,    3,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QUrl,    2,
    QMetaType::Bool, 0x80000000 | 7,    8,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 7,    8,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString,   11,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 20,    2,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int, QMetaType::QPoint,    2,    2,

       0        // eod
};

void Workspace::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        Workspace *_t = static_cast<Workspace *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->setCaption((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 1: _t->newWorkSheet(); break;
        case 2: _t->importWorkSheet(); break;
        case 3: _t->importWorkSheet((*reinterpret_cast< const QUrl(*)>(_a[1]))); break;
        case 4: { bool _r = _t->saveWorkSheet((*reinterpret_cast< WorkSheet*(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
        case 5: _t->exportWorkSheet(); break;
        case 6: _t->exportWorkSheet((*reinterpret_cast< WorkSheet*(*)>(_a[1]))); break;
        case 7: _t->removeWorkSheet(); break;
        case 8: _t->removeWorkSheet((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 9: _t->removeAllWorkSheets(); break;
        case 10: _t->getHotNewWorksheet(); break;
        case 11: _t->uploadHotNewWorksheet(); break;
        case 12: _t->cut(); break;
        case 13: _t->copy(); break;
        case 14: _t->paste(); break;
        case 15: _t->configure(); break;
        case 16: _t->updateSheetTitle((*reinterpret_cast< QWidget*(*)>(_a[1]))); break;
        case 17: _t->applyStyle(); break;
        case 18: _t->refreshActiveWorksheet(); break;
        case 19: _t->contextMenu((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< const QPoint(*)>(_a[2]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 16:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QWidget* >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (Workspace::*_t)(const QString & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Workspace::setCaption)) {
                *result = 0;
                return;
            }
        }
    }
}

const QMetaObject Workspace::staticMetaObject = {
    { &QTabWidget::staticMetaObject, qt_meta_stringdata_Workspace.data,
      qt_meta_data_Workspace,  qt_static_metacall, nullptr, nullptr}
};


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

void *Workspace::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_Workspace.stringdata0))
        return static_cast<void*>(this);
    return QTabWidget::qt_metacast(_clname);
}

int Workspace::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QTabWidget::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 20)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 20;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 20)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 20;
    }
    return _id;
}

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