/****************************************************************************
** Meta object code from reading C++ file 'expressionedit.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/analitza-17.08.3/analitzawidgets/expressionedit.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'expressionedit.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_Analitza__ExpressionEdit_t {
    QByteArrayData data[19];
    char stringdata0[198];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Analitza__ExpressionEdit_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Analitza__ExpressionEdit_t qt_meta_stringdata_Analitza__ExpressionEdit = {
    {
QT_MOC_LITERAL(0, 0, 24), // "Analitza::ExpressionEdit"
QT_MOC_LITERAL(1, 25, 13), // "returnPressed"
QT_MOC_LITERAL(2, 39, 0), // ""
QT_MOC_LITERAL(3, 40, 12), // "signalHelper"
QT_MOC_LITERAL(4, 53, 10), // "insertText"
QT_MOC_LITERAL(5, 64, 4), // "text"
QT_MOC_LITERAL(6, 69, 14), // "showSimplified"
QT_MOC_LITERAL(7, 84, 9), // "cursorMov"
QT_MOC_LITERAL(8, 94, 15), // "updateCompleter"
QT_MOC_LITERAL(9, 110, 13), // "setActionText"
QT_MOC_LITERAL(10, 124, 8), // "QAction*"
QT_MOC_LITERAL(11, 133, 6), // "helper"
QT_MOC_LITERAL(12, 140, 3), // "str"
QT_MOC_LITERAL(13, 144, 9), // "completed"
QT_MOC_LITERAL(14, 154, 4), // "word"
QT_MOC_LITERAL(15, 159, 8), // "toMathML"
QT_MOC_LITERAL(16, 168, 12), // "toExpression"
QT_MOC_LITERAL(17, 181, 8), // "simplify"
QT_MOC_LITERAL(18, 190, 7) // "returnP"

    },
    "Analitza::ExpressionEdit\0returnPressed\0"
    "\0signalHelper\0insertText\0text\0"
    "showSimplified\0cursorMov\0updateCompleter\0"
    "setActionText\0QAction*\0helper\0str\0"
    "completed\0word\0toMathML\0toExpression\0"
    "simplify\0returnP"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Analitza__ExpressionEdit[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    0,   79,    2, 0x06 /* Public */,
       3,    1,   80,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       4,    1,   83,    2, 0x0a /* Public */,
       6,    0,   86,    2, 0x08 /* Private */,
       7,    0,   87,    2, 0x08 /* Private */,
       8,    0,   88,    2, 0x08 /* Private */,
       9,    1,   89,    2, 0x08 /* Private */,
      11,    1,   92,    2, 0x08 /* Private */,
      13,    1,   95,    2, 0x08 /* Private */,
      15,    0,   98,    2, 0x08 /* Private */,
      16,    0,   99,    2, 0x08 /* Private */,
      17,    0,  100,    2, 0x08 /* Private */,
      18,    0,  101,    2, 0x08 /* Private */,

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

 // slots: parameters
    QMetaType::Void, QMetaType::QString,    5,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 10,    5,
    QMetaType::Void, QMetaType::QString,   12,
    QMetaType::Void, QMetaType::QString,   14,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,

       0        // eod
};

void Analitza::ExpressionEdit::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        ExpressionEdit *_t = static_cast<ExpressionEdit *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->returnPressed(); break;
        case 1: _t->signalHelper((*reinterpret_cast< QString(*)>(_a[1]))); break;
        case 2: _t->insertText((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 3: _t->showSimplified(); break;
        case 4: _t->cursorMov(); break;
        case 5: _t->updateCompleter(); break;
        case 6: _t->setActionText((*reinterpret_cast< QAction*(*)>(_a[1]))); break;
        case 7: _t->helper((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 8: _t->completed((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 9: _t->toMathML(); break;
        case 10: _t->toExpression(); break;
        case 11: _t->simplify(); break;
        case 12: _t->returnP(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (ExpressionEdit::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&ExpressionEdit::returnPressed)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (ExpressionEdit::*_t)(QString );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&ExpressionEdit::signalHelper)) {
                *result = 1;
                return;
            }
        }
    }
}

const QMetaObject Analitza::ExpressionEdit::staticMetaObject = {
    { &QPlainTextEdit::staticMetaObject, qt_meta_stringdata_Analitza__ExpressionEdit.data,
      qt_meta_data_Analitza__ExpressionEdit,  qt_static_metacall, nullptr, nullptr}
};


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

void *Analitza::ExpressionEdit::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_Analitza__ExpressionEdit.stringdata0))
        return static_cast<void*>(this);
    return QPlainTextEdit::qt_metacast(_clname);
}

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

// SIGNAL 0
void Analitza::ExpressionEdit::returnPressed()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}

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