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

#include "../../scidavis/src/ScriptEdit.h"
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'ScriptEdit.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 63
#error "This file was generated using the moc from 4.8.7. 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
static const uint qt_meta_data_ScriptEdit[] = {

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

 // slots: signature, parameters, type, tag, flags
      11,   21,   21,   21, 0x0a,
      22,   21,   21,   21, 0x0a,
      35,   21,   21,   21, 0x0a,
      46,   21,   21,   21, 0x0a,
      54,   73,   21,   21, 0x0a,
      82,  103,  108,   21, 0x0a,
     116,   21,  108,   21, 0x2a,
     130,  103,  108,   21, 0x0a,
     151,   21,  108,   21, 0x2a,
     165,   21,   21,   21, 0x0a,
     189,  214,   21,   21, 0x0a,
     221,  242,   21,   21, 0x0a,
     250,   21,   21,   21, 0x0a,
     271,   21,   21,   21, 0x0a,
     291,  315,   21,   21, 0x08,
     323,  357,   21,   21, 0x08,

       0        // eod
};

static const char qt_meta_stringdata_ScriptEdit[] = {
    "ScriptEdit\0execute()\0\0executeAll()\0"
    "evaluate()\0print()\0exportPDF(QString)\0"
    "fileName\0exportASCII(QString)\0file\0"
    "QString\0exportASCII()\0importASCII(QString)\0"
    "importASCII()\0insertFunction(QString)\0"
    "insertFunction(QAction*)\0action\0"
    "setContext(QObject*)\0context\0"
    "scriptPrint(QString)\0updateIndentation()\0"
    "insertErrorMsg(QString)\0message\0"
    "handleContentsChange(int,int,int)\0"
    "position,chars_removed,chars_added\0"
};

void ScriptEdit::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        Q_ASSERT(staticMetaObject.cast(_o));
        ScriptEdit *_t = static_cast<ScriptEdit *>(_o);
        switch (_id) {
        case 0: _t->execute(); break;
        case 1: _t->executeAll(); break;
        case 2: _t->evaluate(); break;
        case 3: _t->print(); break;
        case 4: _t->exportPDF((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 5: { QString _r = _t->exportASCII((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = _r; }  break;
        case 6: { QString _r = _t->exportASCII();
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = _r; }  break;
        case 7: { QString _r = _t->importASCII((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = _r; }  break;
        case 8: { QString _r = _t->importASCII();
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = _r; }  break;
        case 9: _t->insertFunction((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 10: _t->insertFunction((*reinterpret_cast< QAction*(*)>(_a[1]))); break;
        case 11: _t->setContext((*reinterpret_cast< QObject*(*)>(_a[1]))); break;
        case 12: _t->scriptPrint((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 13: _t->updateIndentation(); break;
        case 14: _t->insertErrorMsg((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 15: _t->handleContentsChange((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break;
        default: ;
        }
    }
}

const QMetaObjectExtraData ScriptEdit::staticMetaObjectExtraData = {
    0,  qt_static_metacall 
};

const QMetaObject ScriptEdit::staticMetaObject = {
    { &QTextEdit::staticMetaObject, qt_meta_stringdata_ScriptEdit,
      qt_meta_data_ScriptEdit, &staticMetaObjectExtraData }
};

#ifdef Q_NO_DATA_RELOCATION
const QMetaObject &ScriptEdit::getStaticMetaObject() { return staticMetaObject; }
#endif //Q_NO_DATA_RELOCATION

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

void *ScriptEdit::qt_metacast(const char *_clname)
{
    if (!_clname) return 0;
    if (!strcmp(_clname, qt_meta_stringdata_ScriptEdit))
        return static_cast<void*>(const_cast< ScriptEdit*>(this));
    if (!strcmp(_clname, "scripted"))
        return static_cast< scripted*>(const_cast< ScriptEdit*>(this));
    return QTextEdit::qt_metacast(_clname);
}

int ScriptEdit::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QTextEdit::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 16)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 16;
    }
    return _id;
}
QT_END_MOC_NAMESPACE
