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

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

 // signals: signature, parameters, type, tag, flags
      28,   26,   25,   25, 0x05,

 // slots: signature, parameters, type, tag, flags
      47,   26,   25,   25, 0x0a,
      65,   26,   25,   25, 0x0a,
      83,   26,   25,   25, 0x0a,
     101,   25,   25,   25, 0x0a,
     115,   25,   25,   25, 0x0a,
     132,   25,   25,   25, 0x0a,
     146,   25,   25,   25, 0x0a,
     161,   25,   25,   25, 0x08,

       0        // eod
};

static const char qt_meta_stringdata_Avogadro__AutoRotateTool[] = {
    "Avogadro::AutoRotateTool\0\0i\0"
    "resetRotation(int)\0setXRotation(int)\0"
    "setYRotation(int)\0setZRotation(int)\0"
    "toggleTimer()\0resetRotations()\0"
    "enableTimer()\0disableTimer()\0"
    "settingsWidgetDestroyed()\0"
};

void Avogadro::AutoRotateTool::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        Q_ASSERT(staticMetaObject.cast(_o));
        AutoRotateTool *_t = static_cast<AutoRotateTool *>(_o);
        switch (_id) {
        case 0: _t->resetRotation((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 1: _t->setXRotation((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 2: _t->setYRotation((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 3: _t->setZRotation((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 4: _t->toggleTimer(); break;
        case 5: _t->resetRotations(); break;
        case 6: _t->enableTimer(); break;
        case 7: _t->disableTimer(); break;
        case 8: _t->settingsWidgetDestroyed(); break;
        default: ;
        }
    }
}

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

const QMetaObject Avogadro::AutoRotateTool::staticMetaObject = {
    { &Tool::staticMetaObject, qt_meta_stringdata_Avogadro__AutoRotateTool,
      qt_meta_data_Avogadro__AutoRotateTool, &staticMetaObjectExtraData }
};

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

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

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

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

// SIGNAL 0
void Avogadro::AutoRotateTool::resetRotation(int _t1)
{
    void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}
static const uint qt_meta_data_Avogadro__AutoRotateToolFactory[] = {

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

       0        // eod
};

static const char qt_meta_stringdata_Avogadro__AutoRotateToolFactory[] = {
    "Avogadro::AutoRotateToolFactory\0"
};

void Avogadro::AutoRotateToolFactory::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    Q_UNUSED(_o);
    Q_UNUSED(_id);
    Q_UNUSED(_c);
    Q_UNUSED(_a);
}

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

const QMetaObject Avogadro::AutoRotateToolFactory::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_Avogadro__AutoRotateToolFactory,
      qt_meta_data_Avogadro__AutoRotateToolFactory, &staticMetaObjectExtraData }
};

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

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

void *Avogadro::AutoRotateToolFactory::qt_metacast(const char *_clname)
{
    if (!_clname) return 0;
    if (!strcmp(_clname, qt_meta_stringdata_Avogadro__AutoRotateToolFactory))
        return static_cast<void*>(const_cast< AutoRotateToolFactory*>(this));
    if (!strcmp(_clname, "PluginFactory"))
        return static_cast< PluginFactory*>(const_cast< AutoRotateToolFactory*>(this));
    if (!strcmp(_clname, "net.sourceforge.avogadro.pluginfactory/1.5"))
        return static_cast< Avogadro::PluginFactory*>(const_cast< AutoRotateToolFactory*>(this));
    return QObject::qt_metacast(_clname);
}

int Avogadro::AutoRotateToolFactory::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QObject::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    return _id;
}
QT_END_MOC_NAMESPACE
