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

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

 // signals: signature, parameters, type, tag, flags
      26,   20,   19,   19, 0x05,
      51,   20,   19,   19, 0x05,
      78,   20,   19,   19, 0x05,
     102,   20,   19,   19, 0x05,
     133,   20,   19,   19, 0x05,
     165,  153,   19,   19, 0x05,
     199,  192,   19,   19, 0x05,
     220,  192,   19,   19, 0x05,
     243,   19,   19,   19, 0x05,
     253,   19,   19,   19, 0x05,
     278,   19,   19,   19, 0x05,
     307,  299,   19,   19, 0x05,

 // slots: signature, parameters, type, tag, flags
     344,  339,   19,   19, 0x0a,
     370,  359,   19,   19, 0x0a,
     401,  392,   19,   19, 0x0a,
     424,   19,   19,   19, 0x0a,
     454,   19,   19,   19, 0x0a,
     474,   19,   19,   19, 0x0a,
     494,  192,   19,   19, 0x0a,
     513,  192,   19,   19, 0x0a,
     535,   19,   19,   19, 0x0a,
     556,   19,   19,   19, 0x0a,
     572,   19,   19,   19, 0x0a,
     588,   19,   19,   19, 0x0a,
     605,   19,   19,   19, 0x0a,
     628,  622,   19,   19, 0x0a,
     659,  652,   19,   19, 0x0a,

 // properties: name, type, flags
     359,  690, 0x43095103,

       0        // eod
};

static const char qt_meta_stringdata_Avogadro__GLWidget[] = {
    "Avogadro::GLWidget\0\0event\0"
    "mousePress(QMouseEvent*)\0"
    "mouseRelease(QMouseEvent*)\0"
    "mouseMove(QMouseEvent*)\0"
    "mouseDoubleClick(QMouseEvent*)\0"
    "wheel(QWheelEvent*)\0newMolecule\0"
    "moleculeChanged(Molecule*)\0engine\0"
    "engineAdded(Engine*)\0engineRemoved(Engine*)\0"
    "resized()\0namedSelectionsChanged()\0"
    "activated(GLWidget*)\0enabled\0"
    "unitCellAxesRenderChanged(bool)\0tool\0"
    "setTool(Tool*)\0background\0"
    "setBackground(QColor)\0molecule\0"
    "setMolecule(Molecule*)\0"
    "unselectPrimitive(Primitive*)\0"
    "unselectAtom(Atom*)\0unselectBond(Bond*)\0"
    "addEngine(Engine*)\0removeEngine(Engine*)\0"
    "loadDefaultEngines()\0reloadEngines()\0"
    "invalidateDLs()\0updateGeometry()\0"
    "toolsDestroyed()\0label\0addTextOverlay(QLabel*)\0"
    "labels\0addTextOverlay(QList<QLabel*>)\0"
    "QColor\0"
};

void Avogadro::GLWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        Q_ASSERT(staticMetaObject.cast(_o));
        GLWidget *_t = static_cast<GLWidget *>(_o);
        switch (_id) {
        case 0: _t->mousePress((*reinterpret_cast< QMouseEvent*(*)>(_a[1]))); break;
        case 1: _t->mouseRelease((*reinterpret_cast< QMouseEvent*(*)>(_a[1]))); break;
        case 2: _t->mouseMove((*reinterpret_cast< QMouseEvent*(*)>(_a[1]))); break;
        case 3: _t->mouseDoubleClick((*reinterpret_cast< QMouseEvent*(*)>(_a[1]))); break;
        case 4: _t->wheel((*reinterpret_cast< QWheelEvent*(*)>(_a[1]))); break;
        case 5: _t->moleculeChanged((*reinterpret_cast< Molecule*(*)>(_a[1]))); break;
        case 6: _t->engineAdded((*reinterpret_cast< Engine*(*)>(_a[1]))); break;
        case 7: _t->engineRemoved((*reinterpret_cast< Engine*(*)>(_a[1]))); break;
        case 8: _t->resized(); break;
        case 9: _t->namedSelectionsChanged(); break;
        case 10: _t->activated((*reinterpret_cast< GLWidget*(*)>(_a[1]))); break;
        case 11: _t->unitCellAxesRenderChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 12: _t->setTool((*reinterpret_cast< Tool*(*)>(_a[1]))); break;
        case 13: _t->setBackground((*reinterpret_cast< const QColor(*)>(_a[1]))); break;
        case 14: _t->setMolecule((*reinterpret_cast< Molecule*(*)>(_a[1]))); break;
        case 15: _t->unselectPrimitive((*reinterpret_cast< Primitive*(*)>(_a[1]))); break;
        case 16: _t->unselectAtom((*reinterpret_cast< Atom*(*)>(_a[1]))); break;
        case 17: _t->unselectBond((*reinterpret_cast< Bond*(*)>(_a[1]))); break;
        case 18: _t->addEngine((*reinterpret_cast< Engine*(*)>(_a[1]))); break;
        case 19: _t->removeEngine((*reinterpret_cast< Engine*(*)>(_a[1]))); break;
        case 20: _t->loadDefaultEngines(); break;
        case 21: _t->reloadEngines(); break;
        case 22: _t->invalidateDLs(); break;
        case 23: _t->updateGeometry(); break;
        case 24: _t->toolsDestroyed(); break;
        case 25: _t->addTextOverlay((*reinterpret_cast< QLabel*(*)>(_a[1]))); break;
        case 26: _t->addTextOverlay((*reinterpret_cast< const QList<QLabel*>(*)>(_a[1]))); break;
        default: ;
        }
    }
}

const QMetaObjectExtraData Avogadro::GLWidget::staticMetaObjectExtraData = {
    0,  qt_static_metacall 
};

const QMetaObject Avogadro::GLWidget::staticMetaObject = {
    { &QGLWidget::staticMetaObject, qt_meta_stringdata_Avogadro__GLWidget,
      qt_meta_data_Avogadro__GLWidget, &staticMetaObjectExtraData }
};

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

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

void *Avogadro::GLWidget::qt_metacast(const char *_clname)
{
    if (!_clname) return 0;
    if (!strcmp(_clname, qt_meta_stringdata_Avogadro__GLWidget))
        return static_cast<void*>(const_cast< GLWidget*>(this));
    return QGLWidget::qt_metacast(_clname);
}

int Avogadro::GLWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QGLWidget::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 27)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 27;
    }
#ifndef QT_NO_PROPERTIES
      else if (_c == QMetaObject::ReadProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< QColor*>(_v) = background(); break;
        }
        _id -= 1;
    } else if (_c == QMetaObject::WriteProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: setBackground(*reinterpret_cast< QColor*>(_v)); 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;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

// SIGNAL 0
void Avogadro::GLWidget::mousePress(QMouseEvent * _t1)
{
    void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void Avogadro::GLWidget::mouseRelease(QMouseEvent * _t1)
{
    void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}

// SIGNAL 2
void Avogadro::GLWidget::mouseMove(QMouseEvent * _t1)
{
    void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}

// SIGNAL 3
void Avogadro::GLWidget::mouseDoubleClick(QMouseEvent * _t1)
{
    void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 3, _a);
}

// SIGNAL 4
void Avogadro::GLWidget::wheel(QWheelEvent * _t1)
{
    void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 4, _a);
}

// SIGNAL 5
void Avogadro::GLWidget::moleculeChanged(Molecule * _t1)
{
    void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 5, _a);
}

// SIGNAL 6
void Avogadro::GLWidget::engineAdded(Engine * _t1)
{
    void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 6, _a);
}

// SIGNAL 7
void Avogadro::GLWidget::engineRemoved(Engine * _t1)
{
    void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 7, _a);
}

// SIGNAL 8
void Avogadro::GLWidget::resized()
{
    QMetaObject::activate(this, &staticMetaObject, 8, 0);
}

// SIGNAL 9
void Avogadro::GLWidget::namedSelectionsChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 9, 0);
}

// SIGNAL 10
void Avogadro::GLWidget::activated(GLWidget * _t1)
{
    void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 10, _a);
}

// SIGNAL 11
void Avogadro::GLWidget::unitCellAxesRenderChanged(bool _t1)
{
    void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 11, _a);
}
QT_END_MOC_NAMESPACE
