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

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

 // signals: signature, parameters, type, tag, flags
      36,   25,   24,   24, 0x05,
      51,   24,   24,   24, 0x05,
      63,   24,   24,   24, 0x05,
      77,   24,   24,   24, 0x05,

 // slots: signature, parameters, type, tag, flags
      91,   24,   24,   24, 0x0a,

       0        // eod
};

static const char qt_meta_stringdata_Avogadro__AutoOptThread[] = {
    "Avogadro::AutoOptThread\0\0calculated\0"
    "finished(bool)\0setupDone()\0setupFailed()\0"
    "setupSucces()\0stop()\0"
};

void Avogadro::AutoOptThread::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        Q_ASSERT(staticMetaObject.cast(_o));
        AutoOptThread *_t = static_cast<AutoOptThread *>(_o);
        switch (_id) {
        case 0: _t->finished((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 1: _t->setupDone(); break;
        case 2: _t->setupFailed(); break;
        case 3: _t->setupSucces(); break;
        case 4: _t->stop(); break;
        default: ;
        }
    }
}

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

const QMetaObject Avogadro::AutoOptThread::staticMetaObject = {
    { &QThread::staticMetaObject, qt_meta_stringdata_Avogadro__AutoOptThread,
      qt_meta_data_Avogadro__AutoOptThread, &staticMetaObjectExtraData }
};

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

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

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

int Avogadro::AutoOptThread::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QThread::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;
}

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

// SIGNAL 1
void Avogadro::AutoOptThread::setupDone()
{
    QMetaObject::activate(this, &staticMetaObject, 1, 0);
}

// SIGNAL 2
void Avogadro::AutoOptThread::setupFailed()
{
    QMetaObject::activate(this, &staticMetaObject, 2, 0);
}

// SIGNAL 3
void Avogadro::AutoOptThread::setupSucces()
{
    QMetaObject::activate(this, &staticMetaObject, 3, 0);
}
static const uint qt_meta_data_Avogadro__AutoOptTool[] = {

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

 // slots: signature, parameters, type, tag, flags
      34,   23,   22,   22, 0x0a,
      49,   22,   22,   22, 0x0a,
      61,   22,   22,   22, 0x0a,
      75,   22,   22,   22, 0x0a,
      89,   22,   22,   22, 0x0a,
      98,   22,   22,   22, 0x0a,
     107,   22,   22,   22, 0x0a,
     117,   22,   22,   22, 0x0a,
     125,   22,   22,   22, 0x08,

       0        // eod
};

static const char qt_meta_stringdata_Avogadro__AutoOptTool[] = {
    "Avogadro::AutoOptTool\0\0calculated\0"
    "finished(bool)\0setupDone()\0setupFailed()\0"
    "setupSucces()\0toggle()\0enable()\0"
    "disable()\0abort()\0settingsWidgetDestroyed()\0"
};

void Avogadro::AutoOptTool::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        Q_ASSERT(staticMetaObject.cast(_o));
        AutoOptTool *_t = static_cast<AutoOptTool *>(_o);
        switch (_id) {
        case 0: _t->finished((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 1: _t->setupDone(); break;
        case 2: _t->setupFailed(); break;
        case 3: _t->setupSucces(); break;
        case 4: _t->toggle(); break;
        case 5: _t->enable(); break;
        case 6: _t->disable(); break;
        case 7: _t->abort(); break;
        case 8: _t->settingsWidgetDestroyed(); break;
        default: ;
        }
    }
}

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

const QMetaObject Avogadro::AutoOptTool::staticMetaObject = {
    { &Tool::staticMetaObject, qt_meta_stringdata_Avogadro__AutoOptTool,
      qt_meta_data_Avogadro__AutoOptTool, &staticMetaObjectExtraData }
};

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

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

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

int Avogadro::AutoOptTool::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;
}
static const uint qt_meta_data_Avogadro__AutoOptToolFactory[] = {

 // 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__AutoOptToolFactory[] = {
    "Avogadro::AutoOptToolFactory\0"
};

void Avogadro::AutoOptToolFactory::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::AutoOptToolFactory::staticMetaObjectExtraData = {
    0,  qt_static_metacall 
};

const QMetaObject Avogadro::AutoOptToolFactory::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_Avogadro__AutoOptToolFactory,
      qt_meta_data_Avogadro__AutoOptToolFactory, &staticMetaObjectExtraData }
};

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

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

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

int Avogadro::AutoOptToolFactory::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
