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

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

 // slots: signature, parameters, type, tag, flags
      25,   24,   24,   24, 0x0a,
      55,   24,   24,   24, 0x0a,
      83,   24,   24,   24, 0x08,
     107,   24,   24,   24, 0x08,
     131,   24,   24,   24, 0x08,
     162,   24,   24,   24, 0x08,
     191,   24,   24,   24, 0x08,
     204,   24,   24,   24, 0x08,
     218,   24,   24,   24, 0x08,
     234,   24,   24,   24, 0x08,
     253,  247,   24,   24, 0x08,
     274,  247,   24,   24, 0x08,
     297,   24,   24,   24, 0x08,
     309,   24,   24,   24, 0x08,
     326,   24,   24,   24, 0x08,
     349,  342,   24,   24, 0x08,
     372,  367,   24,   24, 0x08,
     408,  402,   24,   24, 0x08,
     432,   24,   24,   24, 0x08,
     444,   24,   24,   24, 0x08,
     459,   24,   24,   24, 0x08,
     474,   24,   24,   24, 0x08,
     490,   24,   24,   24, 0x08,
     516,  512,   24,   24, 0x08,

       0        // eod
};

static const char qt_meta_stringdata_Avogadro__SpectraDialog[] = {
    "Avogadro::SpectraDialog\0\0"
    "regenerateCalculatedSpectra()\0"
    "regenerateImportedSpectra()\0"
    "changeBackgroundColor()\0changeForegroundColor()\0"
    "changeCalculatedSpectraColor()\0"
    "changeImportedSpectraColor()\0changeFont()\0"
    "loadSpectra()\0importSpectra()\0"
    "updatePlot()\0state\0toggleImported(bool)\0"
    "toggleCalculated(bool)\0saveImage()\0"
    "toggleAdvanced()\0schemeChanged()\0"
    "scheme\0updateScheme(int)\0text\0"
    "updateCurrentSpectra(QString)\0index\0"
    "updateComboSpectra(int)\0addScheme()\0"
    "removeScheme()\0renameScheme()\0"
    "exportSpectra()\0saveImageFileDialog()\0"
    "x,y\0showCoordinates(double,double)\0"
};

void Avogadro::SpectraDialog::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        Q_ASSERT(staticMetaObject.cast(_o));
        SpectraDialog *_t = static_cast<SpectraDialog *>(_o);
        switch (_id) {
        case 0: _t->regenerateCalculatedSpectra(); break;
        case 1: _t->regenerateImportedSpectra(); break;
        case 2: _t->changeBackgroundColor(); break;
        case 3: _t->changeForegroundColor(); break;
        case 4: _t->changeCalculatedSpectraColor(); break;
        case 5: _t->changeImportedSpectraColor(); break;
        case 6: _t->changeFont(); break;
        case 7: _t->loadSpectra(); break;
        case 8: _t->importSpectra(); break;
        case 9: _t->updatePlot(); break;
        case 10: _t->toggleImported((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 11: _t->toggleCalculated((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 12: _t->saveImage(); break;
        case 13: _t->toggleAdvanced(); break;
        case 14: _t->schemeChanged(); break;
        case 15: _t->updateScheme((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 16: _t->updateCurrentSpectra((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 17: _t->updateComboSpectra((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 18: _t->addScheme(); break;
        case 19: _t->removeScheme(); break;
        case 20: _t->renameScheme(); break;
        case 21: _t->exportSpectra(); break;
        case 22: _t->saveImageFileDialog(); break;
        case 23: _t->showCoordinates((*reinterpret_cast< double(*)>(_a[1])),(*reinterpret_cast< double(*)>(_a[2]))); break;
        default: ;
        }
    }
}

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

const QMetaObject Avogadro::SpectraDialog::staticMetaObject = {
    { &QDialog::staticMetaObject, qt_meta_stringdata_Avogadro__SpectraDialog,
      qt_meta_data_Avogadro__SpectraDialog, &staticMetaObjectExtraData }
};

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

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

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

int Avogadro::SpectraDialog::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QDialog::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 24)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 24;
    }
    return _id;
}
QT_END_MOC_NAMESPACE
