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

#include "../../src/analitza-15.04.3/declarative/analitzawrapper.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'analitzawrapper.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.4.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_ExpressionWrapper_t {
    QByteArrayData data[7];
    char stringdata[62];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_ExpressionWrapper_t, stringdata) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_ExpressionWrapper_t qt_meta_stringdata_ExpressionWrapper = {
    {
QT_MOC_LITERAL(0, 0, 17), // "ExpressionWrapper"
QT_MOC_LITERAL(1, 18, 8), // "toString"
QT_MOC_LITERAL(2, 27, 0), // ""
QT_MOC_LITERAL(3, 28, 9), // "isCorrect"
QT_MOC_LITERAL(4, 38, 5), // "value"
QT_MOC_LITERAL(5, 44, 6), // "errors"
QT_MOC_LITERAL(6, 51, 10) // "expression"

    },
    "ExpressionWrapper\0toString\0\0isCorrect\0"
    "value\0errors\0expression"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_ExpressionWrapper[] = {

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

 // slots: name, argc, parameters, tag, flags
       1,    0,   34,    2, 0x0a /* Public */,
       3,    0,   35,    2, 0x0a /* Public */,
       4,    0,   36,    2, 0x0a /* Public */,
       5,    0,   37,    2, 0x0a /* Public */,

 // slots: parameters
    QMetaType::QString,
    QMetaType::Bool,
    QMetaType::QVariant,
    QMetaType::QStringList,

 // properties: name, type, flags
       6, QMetaType::QString, 0x00095003,

       0        // eod
};

void ExpressionWrapper::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        ExpressionWrapper *_t = static_cast<ExpressionWrapper *>(_o);
        switch (_id) {
        case 0: { QString _r = _t->toString();
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = _r; }  break;
        case 1: { bool _r = _t->isCorrect();
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; }  break;
        case 2: { QVariant _r = _t->value();
            if (_a[0]) *reinterpret_cast< QVariant*>(_a[0]) = _r; }  break;
        case 3: { QStringList _r = _t->errors();
            if (_a[0]) *reinterpret_cast< QStringList*>(_a[0]) = _r; }  break;
        default: ;
        }
    }
}

const QMetaObject ExpressionWrapper::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_ExpressionWrapper.data,
      qt_meta_data_ExpressionWrapper,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

void *ExpressionWrapper::qt_metacast(const char *_clname)
{
    if (!_clname) return Q_NULLPTR;
    if (!strcmp(_clname, qt_meta_stringdata_ExpressionWrapper.stringdata))
        return static_cast<void*>(const_cast< ExpressionWrapper*>(this));
    return QObject::qt_metacast(_clname);
}

int ExpressionWrapper::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QObject::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 4)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 4;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 4)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 4;
    }
#ifndef QT_NO_PROPERTIES
      else if (_c == QMetaObject::ReadProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< QString*>(_v) = toString(); break;
        default: break;
        }
        _id -= 1;
    } else if (_c == QMetaObject::WriteProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: setText(*reinterpret_cast< QString*>(_v)); break;
        default: break;
        }
        _id -= 1;
    } else if (_c == QMetaObject::ResetProperty) {
        _id -= 1;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 1;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 1;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 1;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 1;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 1;
    } else if (_c == QMetaObject::RegisterPropertyMetaType) {
        if (_id < 1)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 1;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}
struct qt_meta_stringdata_AnalitzaWrapper_t {
    QByteArrayData data[16];
    char stringdata[186];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_AnalitzaWrapper_t, stringdata) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_AnalitzaWrapper_t qt_meta_stringdata_AnalitzaWrapper = {
    {
QT_MOC_LITERAL(0, 0, 15), // "AnalitzaWrapper"
QT_MOC_LITERAL(1, 16, 7), // "execute"
QT_MOC_LITERAL(2, 24, 0), // ""
QT_MOC_LITERAL(3, 25, 10), // "expression"
QT_MOC_LITERAL(4, 36, 11), // "executeFunc"
QT_MOC_LITERAL(5, 48, 4), // "name"
QT_MOC_LITERAL(6, 53, 4), // "args"
QT_MOC_LITERAL(7, 58, 18), // "unusedVariableName"
QT_MOC_LITERAL(8, 77, 20), // "dependenciesToLambda"
QT_MOC_LITERAL(9, 98, 14), // "insertVariable"
QT_MOC_LITERAL(10, 113, 14), // "removeVariable"
QT_MOC_LITERAL(11, 128, 9), // "calculate"
QT_MOC_LITERAL(12, 138, 9), // "isCorrect"
QT_MOC_LITERAL(13, 148, 6), // "errors"
QT_MOC_LITERAL(14, 155, 9), // "variables"
QT_MOC_LITERAL(15, 165, 20) // "Analitza::Variables*"

    },
    "AnalitzaWrapper\0execute\0\0expression\0"
    "executeFunc\0name\0args\0unusedVariableName\0"
    "dependenciesToLambda\0insertVariable\0"
    "removeVariable\0calculate\0isCorrect\0"
    "errors\0variables\0Analitza::Variables*"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_AnalitzaWrapper[] = {

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

 // methods: name, argc, parameters, tag, flags
       1,    1,   44,    2, 0x42 /* Public | isScriptable */,
       4,    2,   47,    2, 0x42 /* Public | isScriptable */,
       7,    0,   52,    2, 0x42 /* Public | isScriptable */,
       8,    1,   53,    2, 0x42 /* Public | isScriptable */,
       9,    2,   56,    2, 0x42 /* Public | isScriptable */,
      10,    1,   61,    2, 0x42 /* Public | isScriptable */,

 // methods: parameters
    QMetaType::QVariant, QMetaType::QString,    3,
    QMetaType::QVariant, QMetaType::QString, QMetaType::QVariantList,    5,    6,
    QMetaType::QString,
    QMetaType::QString, QMetaType::QString,    3,
    QMetaType::Void, QMetaType::QString, QMetaType::QString,    5,    3,
    QMetaType::Void, QMetaType::QString,    5,

 // properties: name, type, flags
      11, QMetaType::Bool, 0x00095103,
      12, QMetaType::Bool, 0x00095001,
      13, QMetaType::QStringList, 0x00095001,
      14, 0x80000000 | 15, 0x0009510b,

       0        // eod
};

void AnalitzaWrapper::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        AnalitzaWrapper *_t = static_cast<AnalitzaWrapper *>(_o);
        switch (_id) {
        case 0: { QVariant _r = _t->execute((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QVariant*>(_a[0]) = _r; }  break;
        case 1: { QVariant _r = _t->executeFunc((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QVariantList(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< QVariant*>(_a[0]) = _r; }  break;
        case 2: { QString _r = _t->unusedVariableName();
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = _r; }  break;
        case 3: { QString _r = _t->dependenciesToLambda((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = _r; }  break;
        case 4: _t->insertVariable((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 5: _t->removeVariable((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        default: ;
        }
    }
}

const QMetaObject AnalitzaWrapper::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_AnalitzaWrapper.data,
      qt_meta_data_AnalitzaWrapper,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

void *AnalitzaWrapper::qt_metacast(const char *_clname)
{
    if (!_clname) return Q_NULLPTR;
    if (!strcmp(_clname, qt_meta_stringdata_AnalitzaWrapper.stringdata))
        return static_cast<void*>(const_cast< AnalitzaWrapper*>(this));
    return QObject::qt_metacast(_clname);
}

int AnalitzaWrapper::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QObject::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;
    }
#ifndef QT_NO_PROPERTIES
      else if (_c == QMetaObject::ReadProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< bool*>(_v) = isCalculate(); break;
        case 1: *reinterpret_cast< bool*>(_v) = isCorrect(); break;
        case 2: *reinterpret_cast< QStringList*>(_v) = errors(); break;
        case 3: *reinterpret_cast< Analitza::Variables**>(_v) = variables(); break;
        default: break;
        }
        _id -= 4;
    } else if (_c == QMetaObject::WriteProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: setCalculate(*reinterpret_cast< bool*>(_v)); break;
        case 3: setVariables(*reinterpret_cast< Analitza::Variables**>(_v)); break;
        default: break;
        }
        _id -= 4;
    } else if (_c == QMetaObject::ResetProperty) {
        _id -= 4;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 4;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 4;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 4;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 4;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 4;
    } else if (_c == QMetaObject::RegisterPropertyMetaType) {
        if (_id < 4)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 4;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}
QT_END_MOC_NAMESPACE
