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

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

 // signals: signature, parameters, type, tag, flags
      20,   19,   19,   19, 0x05,
      48,   38,   19,   19, 0x05,
      75,   38,   19,   19, 0x05,
     104,   38,   19,   19, 0x05,
     138,  133,   19,   19, 0x05,
     155,  133,   19,   19, 0x05,
     174,  133,   19,   19, 0x05,
     198,  193,   19,   19, 0x05,
     215,  193,   19,   19, 0x05,
     234,  193,   19,   19, 0x05,

 // slots: signature, parameters, type, tag, flags
     253,   19,   19,   19, 0x0a,
     270,   19,   19,   19, 0x08,
     288,   19,   19,   19, 0x08,
     301,   19,   19,   19, 0x08,

       0        // eod
};

static const char qt_meta_stringdata_Avogadro__Molecule[] = {
    "Avogadro::Molecule\0\0moleculeChanged()\0"
    "primitive\0primitiveAdded(Primitive*)\0"
    "primitiveUpdated(Primitive*)\0"
    "primitiveRemoved(Primitive*)\0atom\0"
    "atomAdded(Atom*)\0atomUpdated(Atom*)\0"
    "atomRemoved(Atom*)\0bond\0bondAdded(Bond*)\0"
    "bondUpdated(Bond*)\0bondRemoved(Bond*)\0"
    "updateMolecule()\0updatePrimitive()\0"
    "updateAtom()\0updateBond()\0"
};

void Avogadro::Molecule::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        Q_ASSERT(staticMetaObject.cast(_o));
        Molecule *_t = static_cast<Molecule *>(_o);
        switch (_id) {
        case 0: _t->moleculeChanged(); break;
        case 1: _t->primitiveAdded((*reinterpret_cast< Primitive*(*)>(_a[1]))); break;
        case 2: _t->primitiveUpdated((*reinterpret_cast< Primitive*(*)>(_a[1]))); break;
        case 3: _t->primitiveRemoved((*reinterpret_cast< Primitive*(*)>(_a[1]))); break;
        case 4: _t->atomAdded((*reinterpret_cast< Atom*(*)>(_a[1]))); break;
        case 5: _t->atomUpdated((*reinterpret_cast< Atom*(*)>(_a[1]))); break;
        case 6: _t->atomRemoved((*reinterpret_cast< Atom*(*)>(_a[1]))); break;
        case 7: _t->bondAdded((*reinterpret_cast< Bond*(*)>(_a[1]))); break;
        case 8: _t->bondUpdated((*reinterpret_cast< Bond*(*)>(_a[1]))); break;
        case 9: _t->bondRemoved((*reinterpret_cast< Bond*(*)>(_a[1]))); break;
        case 10: _t->updateMolecule(); break;
        case 11: _t->updatePrimitive(); break;
        case 12: _t->updateAtom(); break;
        case 13: _t->updateBond(); break;
        default: ;
        }
    }
}

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

const QMetaObject Avogadro::Molecule::staticMetaObject = {
    { &Primitive::staticMetaObject, qt_meta_stringdata_Avogadro__Molecule,
      qt_meta_data_Avogadro__Molecule, &staticMetaObjectExtraData }
};

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

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

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

int Avogadro::Molecule::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = Primitive::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 14)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 14;
    }
    return _id;
}

// SIGNAL 0
void Avogadro::Molecule::moleculeChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 0, 0);
}

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

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

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

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

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

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

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

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

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