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

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

 // signals: signature, parameters, type, tag, flags
      21,   20,   20,   20, 0x05,

 // properties: name, type, flags
      36,   31, 0x00095009,

 // enums: name, flags, count, data
      31, 0x0,   19,   26,

 // enum data: key, value
      41, uint(Avogadro::Primitive::OtherType),
      51, uint(Avogadro::Primitive::MoleculeType),
      64, uint(Avogadro::Primitive::AtomType),
      73, uint(Avogadro::Primitive::BondType),
      82, uint(Avogadro::Primitive::ResidueType),
      94, uint(Avogadro::Primitive::ChainType),
     104, uint(Avogadro::Primitive::FragmentType),
     117, uint(Avogadro::Primitive::SurfaceType),
     129, uint(Avogadro::Primitive::MeshType),
     138, uint(Avogadro::Primitive::CubeType),
     147, uint(Avogadro::Primitive::PlaneType),
     157, uint(Avogadro::Primitive::GridType),
     166, uint(Avogadro::Primitive::PointType),
     176, uint(Avogadro::Primitive::LineType),
     185, uint(Avogadro::Primitive::VectorType),
     196, uint(Avogadro::Primitive::NonbondedType),
     210, uint(Avogadro::Primitive::TextType),
     219, uint(Avogadro::Primitive::LastType),
     228, uint(Avogadro::Primitive::FirstType),

       0        // eod
};

static const char qt_meta_stringdata_Avogadro__Primitive[] = {
    "Avogadro::Primitive\0\0updated()\0Type\0"
    "type\0OtherType\0MoleculeType\0AtomType\0"
    "BondType\0ResidueType\0ChainType\0"
    "FragmentType\0SurfaceType\0MeshType\0"
    "CubeType\0PlaneType\0GridType\0PointType\0"
    "LineType\0VectorType\0NonbondedType\0"
    "TextType\0LastType\0FirstType\0"
};

void Avogadro::Primitive::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        Q_ASSERT(staticMetaObject.cast(_o));
        Primitive *_t = static_cast<Primitive *>(_o);
        switch (_id) {
        case 0: _t->updated(); break;
        default: ;
        }
    }
    Q_UNUSED(_a);
}

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

const QMetaObject Avogadro::Primitive::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_Avogadro__Primitive,
      qt_meta_data_Avogadro__Primitive, &staticMetaObjectExtraData }
};

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

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

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

int Avogadro::Primitive::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QObject::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 1)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 1;
    }
#ifndef QT_NO_PROPERTIES
      else if (_c == QMetaObject::ReadProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< Type*>(_v) = type(); break;
        }
        _id -= 1;
    } else if (_c == QMetaObject::WriteProperty) {
        _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::Primitive::updated()
{
    QMetaObject::activate(this, &staticMetaObject, 0, 0);
}
QT_END_MOC_NAMESPACE
