/****************************************************************************
** Meta object code from reading C++ file 'Note.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/Note.h"
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'Note.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_Note[] = {

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

 // slots: signature, parameters, type, tag, flags
       5,   27,   32,   40, 0x0a,
      41,   40,   40,   40, 0x0a,
      62,   40,   75,   40, 0x0a,
      86,   40,   97,   40, 0x0a,
     102,   40,   40,   40, 0x0a,
     120,   40,   40,   40, 0x0a,
     135,   40,   32,   40, 0x0a,
     142,  159,   40,   40, 0x0a,
     161,   40,   40,   40, 0x0a,
     169,  188,   40,   40, 0x0a,
     197,  218,   32,   40, 0x0a,
     223,   40,   32,   40, 0x2a,
     237,  218,   32,   40, 0x0a,
     258,   40,   32,   40, 0x2a,
     272,   40,   40,   40, 0x0a,
     282,   40,   40,   40, 0x0a,
     295,   40,   40,   40, 0x0a,

       0        // eod
};

static const char qt_meta_stringdata_Note[] = {
    "Note\0saveToString(QString)\0info\0QString\0"
    "\0restore(QStringList)\0textWidget()\0"
    "QTextEdit*\0autoexec()\0bool\0setAutoexec(bool)\0"
    "modifiedNote()\0text()\0setText(QString)\0"
    "s\0print()\0exportPDF(QString)\0fileName\0"
    "exportASCII(QString)\0file\0exportASCII()\0"
    "importASCII(QString)\0importASCII()\0"
    "execute()\0executeAll()\0evaluate()\0"
};

void Note::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        Q_ASSERT(staticMetaObject.cast(_o));
        Note *_t = static_cast<Note *>(_o);
        switch (_id) {
        case 0: { QString _r = _t->saveToString((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = _r; }  break;
        case 1: _t->restore((*reinterpret_cast< const QStringList(*)>(_a[1]))); break;
        case 2: { QTextEdit* _r = _t->textWidget();
            if (_a[0]) *reinterpret_cast< QTextEdit**>(_a[0]) = _r; }  break;
        case 3: { bool _r = _t->autoexec();
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; }  break;
        case 4: _t->setAutoexec((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 5: _t->modifiedNote(); break;
        case 6: { QString _r = _t->text();
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = _r; }  break;
        case 7: _t->setText((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 8: _t->print(); break;
        case 9: _t->exportPDF((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 10: { QString _r = _t->exportASCII((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = _r; }  break;
        case 11: { QString _r = _t->exportASCII();
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = _r; }  break;
        case 12: { QString _r = _t->importASCII((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = _r; }  break;
        case 13: { QString _r = _t->importASCII();
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = _r; }  break;
        case 14: _t->execute(); break;
        case 15: _t->executeAll(); break;
        case 16: _t->evaluate(); break;
        default: ;
        }
    }
}

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

const QMetaObject Note::staticMetaObject = {
    { &MyWidget::staticMetaObject, qt_meta_stringdata_Note,
      qt_meta_data_Note, &staticMetaObjectExtraData }
};

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

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

void *Note::qt_metacast(const char *_clname)
{
    if (!_clname) return 0;
    if (!strcmp(_clname, qt_meta_stringdata_Note))
        return static_cast<void*>(const_cast< Note*>(this));
    return MyWidget::qt_metacast(_clname);
}

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