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

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

 // signals: signature, parameters, type, tag, flags
      33,   32,   32,   32, 0x05,

 // slots: signature, parameters, type, tag, flags
      49,   46,   32,   32, 0x0a,
      85,   79,   32,   32, 0x0a,
     104,   46,   32,   32, 0x0a,
     136,   32,   32,   32, 0x0a,
     154,   32,   32,   32, 0x0a,
     177,   46,  167,   32, 0x0a,

       0        // eod
};

static const char qt_meta_stringdata_lyx__frontend__ViewSourceWidget[] = {
    "lyx::frontend::ViewSourceWidget\0\0"
    "needUpdate()\0bv\0updateView(const BufferView*)\0"
    "index\0setViewFormat(int)\0"
    "updateDefaultFormat(BufferView)\0"
    "contentsChanged()\0goToCursor()\0docstring\0"
    "currentFormatName(const BufferView*)\0"
};

void lyx::frontend::ViewSourceWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        Q_ASSERT(staticMetaObject.cast(_o));
        ViewSourceWidget *_t = static_cast<ViewSourceWidget *>(_o);
        switch (_id) {
        case 0: _t->needUpdate(); break;
        case 1: _t->updateView((*reinterpret_cast< const BufferView*(*)>(_a[1]))); break;
        case 2: _t->setViewFormat((*reinterpret_cast< const int(*)>(_a[1]))); break;
        case 3: _t->updateDefaultFormat((*reinterpret_cast< const BufferView(*)>(_a[1]))); break;
        case 4: _t->contentsChanged(); break;
        case 5: _t->goToCursor(); break;
        case 6: { docstring _r = _t->currentFormatName((*reinterpret_cast< const BufferView*(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< docstring*>(_a[0]) = _r; }  break;
        default: ;
        }
    }
}

const QMetaObjectExtraData lyx::frontend::ViewSourceWidget::staticMetaObjectExtraData = {
    0,  qt_static_metacall 
};

const QMetaObject lyx::frontend::ViewSourceWidget::staticMetaObject = {
    { &QWidget::staticMetaObject, qt_meta_stringdata_lyx__frontend__ViewSourceWidget,
      qt_meta_data_lyx__frontend__ViewSourceWidget, &staticMetaObjectExtraData }
};

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

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

void *lyx::frontend::ViewSourceWidget::qt_metacast(const char *_clname)
{
    if (!_clname) return 0;
    if (!strcmp(_clname, qt_meta_stringdata_lyx__frontend__ViewSourceWidget))
        return static_cast<void*>(const_cast< ViewSourceWidget*>(this));
    if (!strcmp(_clname, "Ui::ViewSourceUi"))
        return static_cast< Ui::ViewSourceUi*>(const_cast< ViewSourceWidget*>(this));
    return QWidget::qt_metacast(_clname);
}

int lyx::frontend::ViewSourceWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QWidget::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 7)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 7;
    }
    return _id;
}

// SIGNAL 0
void lyx::frontend::ViewSourceWidget::needUpdate()const
{
    QMetaObject::activate(const_cast< lyx::frontend::ViewSourceWidget *>(this), &staticMetaObject, 0, 0);
}
static const uint qt_meta_data_lyx__frontend__GuiViewSource[] = {

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

 // slots: signature, parameters, type, tag, flags
      30,   29,   29,   29, 0x0a,
      52,   29,   29,   29, 0x08,
      66,   29,   29,   29, 0x08,
      83,   29,   29,   29, 0x08,
     103,   29,   29,   29, 0x08,

       0        // eod
};

static const char qt_meta_stringdata_lyx__frontend__GuiViewSource[] = {
    "lyx::frontend::GuiViewSource\0\0"
    "onBufferViewChanged()\0updateTitle()\0"
    "scheduleUpdate()\0scheduleUpdateNow()\0"
    "realUpdateView()\0"
};

void lyx::frontend::GuiViewSource::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        Q_ASSERT(staticMetaObject.cast(_o));
        GuiViewSource *_t = static_cast<GuiViewSource *>(_o);
        switch (_id) {
        case 0: _t->onBufferViewChanged(); break;
        case 1: _t->updateTitle(); break;
        case 2: _t->scheduleUpdate(); break;
        case 3: _t->scheduleUpdateNow(); break;
        case 4: _t->realUpdateView(); break;
        default: ;
        }
    }
    Q_UNUSED(_a);
}

const QMetaObjectExtraData lyx::frontend::GuiViewSource::staticMetaObjectExtraData = {
    0,  qt_static_metacall 
};

const QMetaObject lyx::frontend::GuiViewSource::staticMetaObject = {
    { &DockView::staticMetaObject, qt_meta_stringdata_lyx__frontend__GuiViewSource,
      qt_meta_data_lyx__frontend__GuiViewSource, &staticMetaObjectExtraData }
};

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

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

void *lyx::frontend::GuiViewSource::qt_metacast(const char *_clname)
{
    if (!_clname) return 0;
    if (!strcmp(_clname, qt_meta_stringdata_lyx__frontend__GuiViewSource))
        return static_cast<void*>(const_cast< GuiViewSource*>(this));
    return DockView::qt_metacast(_clname);
}

int lyx::frontend::GuiViewSource::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = DockView::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 5)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 5;
    }
    return _id;
}
QT_END_MOC_NAMESPACE
