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

#include "../../src/kalgebra-17.04.3/src/consolehtml.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'consolehtml.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.6.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_ConsoleHtml_t {
    QByteArrayData data[24];
    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_ConsoleHtml_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_ConsoleHtml_t qt_meta_stringdata_ConsoleHtml = {
    {
QT_MOC_LITERAL(0, 0, 11), // "ConsoleHtml"
QT_MOC_LITERAL(1, 12, 6), // "status"
QT_MOC_LITERAL(2, 19, 0), // ""
QT_MOC_LITERAL(3, 20, 3), // "msg"
QT_MOC_LITERAL(4, 24, 7), // "changed"
QT_MOC_LITERAL(5, 32, 5), // "paste"
QT_MOC_LITERAL(6, 38, 4), // "code"
QT_MOC_LITERAL(7, 43, 12), // "addOperation"
QT_MOC_LITERAL(8, 56, 20), // "Analitza::Expression"
QT_MOC_LITERAL(9, 77, 1), // "e"
QT_MOC_LITERAL(10, 79, 5), // "input"
QT_MOC_LITERAL(11, 85, 10), // "loadScript"
QT_MOC_LITERAL(12, 96, 4), // "path"
QT_MOC_LITERAL(13, 101, 10), // "saveScript"
QT_MOC_LITERAL(14, 112, 7), // "saveLog"
QT_MOC_LITERAL(15, 120, 5), // "clear"
QT_MOC_LITERAL(16, 126, 4), // "copy"
QT_MOC_LITERAL(17, 131, 14), // "openClickedUrl"
QT_MOC_LITERAL(18, 146, 3), // "url"
QT_MOC_LITERAL(19, 150, 10), // "initialize"
QT_MOC_LITERAL(20, 161, 14), // "modifyVariable"
QT_MOC_LITERAL(21, 176, 4), // "name"
QT_MOC_LITERAL(22, 181, 3), // "exp"
QT_MOC_LITERAL(23, 185, 14) // "removeVariable"

    },
    "ConsoleHtml\0status\0\0msg\0changed\0paste\0"
    "code\0addOperation\0Analitza::Expression\0"
    "e\0input\0loadScript\0path\0saveScript\0"
    "saveLog\0clear\0copy\0openClickedUrl\0url\0"
    "initialize\0modifyVariable\0name\0exp\0"
    "removeVariable"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_ConsoleHtml[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    1,   84,    2, 0x06 /* Public */,
       4,    0,   87,    2, 0x06 /* Public */,
       5,    1,   88,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       7,    2,   91,    2, 0x0a /* Public */,
      11,    1,   96,    2, 0x0a /* Public */,
      13,    1,   99,    2, 0x0a /* Public */,
      14,    1,  102,    2, 0x0a /* Public */,
      15,    0,  105,    2, 0x0a /* Public */,
      16,    0,  106,    2, 0x0a /* Public */,
      17,    1,  107,    2, 0x0a /* Public */,
      19,    0,  110,    2, 0x08 /* Private */,
      20,    2,  111,    2, 0x08 /* Private */,
      23,    1,  116,    2, 0x08 /* Private */,
       5,    0,  119,    2, 0x08 /* Private */,

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

 // slots: parameters
    QMetaType::Bool, 0x80000000 | 8, QMetaType::QString,    9,   10,
    QMetaType::Bool, QMetaType::QUrl,   12,
    QMetaType::Bool, QMetaType::QUrl,   12,
    QMetaType::Bool, QMetaType::QUrl,   12,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QUrl,   18,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString, 0x80000000 | 8,   21,   22,
    QMetaType::Void, QMetaType::QString,   21,
    QMetaType::Void,

       0        // eod
};

void ConsoleHtml::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        ConsoleHtml *_t = static_cast<ConsoleHtml *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->status((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 1: _t->changed(); break;
        case 2: _t->paste((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 3: { bool _r = _t->addOperation((*reinterpret_cast< const Analitza::Expression(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; }  break;
        case 4: { bool _r = _t->loadScript((*reinterpret_cast< const QUrl(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; }  break;
        case 5: { bool _r = _t->saveScript((*reinterpret_cast< const QUrl(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; }  break;
        case 6: { bool _r = _t->saveLog((*reinterpret_cast< const QUrl(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; }  break;
        case 7: _t->clear(); break;
        case 8: _t->copy(); break;
        case 9: _t->openClickedUrl((*reinterpret_cast< const QUrl(*)>(_a[1]))); break;
        case 10: _t->initialize(); break;
        case 11: _t->modifyVariable((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const Analitza::Expression(*)>(_a[2]))); break;
        case 12: _t->removeVariable((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 13: _t->paste(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (ConsoleHtml::*_t)(const QString & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&ConsoleHtml::status)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (ConsoleHtml::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&ConsoleHtml::changed)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (ConsoleHtml::*_t)(const QString & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&ConsoleHtml::paste)) {
                *result = 2;
                return;
            }
        }
    }
}

const QMetaObject ConsoleHtml::staticMetaObject = {
    { &QWebView::staticMetaObject, qt_meta_stringdata_ConsoleHtml.data,
      qt_meta_data_ConsoleHtml,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

void *ConsoleHtml::qt_metacast(const char *_clname)
{
    if (!_clname) return Q_NULLPTR;
    if (!strcmp(_clname, qt_meta_stringdata_ConsoleHtml.stringdata0))
        return static_cast<void*>(const_cast< ConsoleHtml*>(this));
    return QWebView::qt_metacast(_clname);
}

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

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

// SIGNAL 1
void ConsoleHtml::changed()
{
    QMetaObject::activate(this, &staticMetaObject, 1, Q_NULLPTR);
}

// SIGNAL 2
void ConsoleHtml::paste(const QString & _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}
QT_END_MOC_NAMESPACE
