/****************************************************************************
** Meta object code from reading C++ file 'concCalculator.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.6.2)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/

#include "../../src/kalzium-17.04.3/src/calculator/concCalculator.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'concCalculator.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.6.2. 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
struct qt_meta_stringdata_concCalculator_t {
    QByteArrayData data[35];
    char stringdata0[538];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_concCalculator_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_concCalculator_t qt_meta_stringdata_concCalculator = {
    {
QT_MOC_LITERAL(0, 0, 14), // "concCalculator"
QT_MOC_LITERAL(1, 15, 18), // "calculateAmtSolute"
QT_MOC_LITERAL(2, 34, 0), // ""
QT_MOC_LITERAL(3, 35, 19), // "calculateAmtSolvent"
QT_MOC_LITERAL(4, 55, 18), // "calculateMolarMass"
QT_MOC_LITERAL(5, 74, 16), // "calculateEqtMass"
QT_MOC_LITERAL(6, 91, 25), // "calculateMolarMassSolvent"
QT_MOC_LITERAL(7, 117, 22), // "calculateConcentration"
QT_MOC_LITERAL(8, 140, 16), // "amtSoluteChanged"
QT_MOC_LITERAL(9, 157, 20), // "amtSoluteTypeChanged"
QT_MOC_LITERAL(10, 178, 17), // "amtSolventChanged"
QT_MOC_LITERAL(11, 196, 21), // "amtSolventTypeChanged"
QT_MOC_LITERAL(12, 218, 16), // "molarMassChanged"
QT_MOC_LITERAL(13, 235, 14), // "eqtMassChanged"
QT_MOC_LITERAL(14, 250, 23), // "molarMassSolventChanged"
QT_MOC_LITERAL(15, 274, 20), // "densitySoluteChanged"
QT_MOC_LITERAL(16, 295, 21), // "densitySolventChanged"
QT_MOC_LITERAL(17, 317, 20), // "concentrationChanged"
QT_MOC_LITERAL(18, 338, 9), // "calculate"
QT_MOC_LITERAL(19, 348, 13), // "volumeSolvent"
QT_MOC_LITERAL(20, 362, 11), // "massSolvent"
QT_MOC_LITERAL(21, 374, 12), // "molesSolvent"
QT_MOC_LITERAL(22, 387, 14), // "densitySolvent"
QT_MOC_LITERAL(23, 402, 12), // "volumeSolute"
QT_MOC_LITERAL(24, 415, 10), // "massSolute"
QT_MOC_LITERAL(25, 426, 11), // "molesSolute"
QT_MOC_LITERAL(26, 438, 10), // "eqtsSolute"
QT_MOC_LITERAL(27, 449, 13), // "densitySolute"
QT_MOC_LITERAL(28, 463, 18), // "volumeUnitCombobox"
QT_MOC_LITERAL(29, 482, 10), // "QComboBox*"
QT_MOC_LITERAL(30, 493, 8), // "comboBox"
QT_MOC_LITERAL(31, 502, 16), // "massUnitCombobox"
QT_MOC_LITERAL(32, 519, 4), // "init"
QT_MOC_LITERAL(33, 524, 5), // "error"
QT_MOC_LITERAL(34, 530, 7) // "setMode"

    },
    "concCalculator\0calculateAmtSolute\0\0"
    "calculateAmtSolvent\0calculateMolarMass\0"
    "calculateEqtMass\0calculateMolarMassSolvent\0"
    "calculateConcentration\0amtSoluteChanged\0"
    "amtSoluteTypeChanged\0amtSolventChanged\0"
    "amtSolventTypeChanged\0molarMassChanged\0"
    "eqtMassChanged\0molarMassSolventChanged\0"
    "densitySoluteChanged\0densitySolventChanged\0"
    "concentrationChanged\0calculate\0"
    "volumeSolvent\0massSolvent\0molesSolvent\0"
    "densitySolvent\0volumeSolute\0massSolute\0"
    "molesSolute\0eqtsSolute\0densitySolute\0"
    "volumeUnitCombobox\0QComboBox*\0comboBox\0"
    "massUnitCombobox\0init\0error\0setMode"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_concCalculator[] = {

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

 // slots: name, argc, parameters, tag, flags
       1,    0,  169,    2, 0x0a /* Public */,
       3,    0,  170,    2, 0x0a /* Public */,
       4,    0,  171,    2, 0x0a /* Public */,
       5,    0,  172,    2, 0x0a /* Public */,
       6,    0,  173,    2, 0x0a /* Public */,
       7,    0,  174,    2, 0x0a /* Public */,
       8,    0,  175,    2, 0x0a /* Public */,
       9,    0,  176,    2, 0x0a /* Public */,
      10,    0,  177,    2, 0x0a /* Public */,
      11,    0,  178,    2, 0x0a /* Public */,
      12,    1,  179,    2, 0x0a /* Public */,
      13,    1,  182,    2, 0x0a /* Public */,
      14,    1,  185,    2, 0x0a /* Public */,
      15,    0,  188,    2, 0x0a /* Public */,
      16,    0,  189,    2, 0x0a /* Public */,
      17,    0,  190,    2, 0x0a /* Public */,
      18,    0,  191,    2, 0x0a /* Public */,
      19,    0,  192,    2, 0x0a /* Public */,
      20,    0,  193,    2, 0x0a /* Public */,
      21,    0,  194,    2, 0x0a /* Public */,
      22,    0,  195,    2, 0x0a /* Public */,
      23,    0,  196,    2, 0x0a /* Public */,
      24,    0,  197,    2, 0x0a /* Public */,
      25,    0,  198,    2, 0x0a /* Public */,
      26,    0,  199,    2, 0x0a /* Public */,
      27,    0,  200,    2, 0x0a /* Public */,
      28,    1,  201,    2, 0x0a /* Public */,
      31,    1,  204,    2, 0x0a /* Public */,
      32,    0,  207,    2, 0x0a /* Public */,
      33,    1,  208,    2, 0x0a /* Public */,
      34,    1,  211,    2, 0x0a /* Public */,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Double,    2,
    QMetaType::Void, QMetaType::Double,    2,
    QMetaType::Void, QMetaType::Double,    2,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Double,
    QMetaType::Double,
    QMetaType::Double,
    QMetaType::Double,
    QMetaType::Double,
    QMetaType::Double,
    QMetaType::Double,
    QMetaType::Double,
    QMetaType::Double,
    QMetaType::Void, 0x80000000 | 29,   30,
    QMetaType::Void, 0x80000000 | 29,   30,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int,    2,
    QMetaType::Void, QMetaType::Int,    2,

       0        // eod
};

void concCalculator::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        concCalculator *_t = static_cast<concCalculator *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->calculateAmtSolute(); break;
        case 1: _t->calculateAmtSolvent(); break;
        case 2: _t->calculateMolarMass(); break;
        case 3: _t->calculateEqtMass(); break;
        case 4: _t->calculateMolarMassSolvent(); break;
        case 5: _t->calculateConcentration(); break;
        case 6: _t->amtSoluteChanged(); break;
        case 7: _t->amtSoluteTypeChanged(); break;
        case 8: _t->amtSolventChanged(); break;
        case 9: _t->amtSolventTypeChanged(); break;
        case 10: _t->molarMassChanged((*reinterpret_cast< double(*)>(_a[1]))); break;
        case 11: _t->eqtMassChanged((*reinterpret_cast< double(*)>(_a[1]))); break;
        case 12: _t->molarMassSolventChanged((*reinterpret_cast< double(*)>(_a[1]))); break;
        case 13: _t->densitySoluteChanged(); break;
        case 14: _t->densitySolventChanged(); break;
        case 15: _t->concentrationChanged(); break;
        case 16: _t->calculate(); break;
        case 17: { double _r = _t->volumeSolvent();
            if (_a[0]) *reinterpret_cast< double*>(_a[0]) = _r; }  break;
        case 18: { double _r = _t->massSolvent();
            if (_a[0]) *reinterpret_cast< double*>(_a[0]) = _r; }  break;
        case 19: { double _r = _t->molesSolvent();
            if (_a[0]) *reinterpret_cast< double*>(_a[0]) = _r; }  break;
        case 20: { double _r = _t->densitySolvent();
            if (_a[0]) *reinterpret_cast< double*>(_a[0]) = _r; }  break;
        case 21: { double _r = _t->volumeSolute();
            if (_a[0]) *reinterpret_cast< double*>(_a[0]) = _r; }  break;
        case 22: { double _r = _t->massSolute();
            if (_a[0]) *reinterpret_cast< double*>(_a[0]) = _r; }  break;
        case 23: { double _r = _t->molesSolute();
            if (_a[0]) *reinterpret_cast< double*>(_a[0]) = _r; }  break;
        case 24: { double _r = _t->eqtsSolute();
            if (_a[0]) *reinterpret_cast< double*>(_a[0]) = _r; }  break;
        case 25: { double _r = _t->densitySolute();
            if (_a[0]) *reinterpret_cast< double*>(_a[0]) = _r; }  break;
        case 26: _t->volumeUnitCombobox((*reinterpret_cast< QComboBox*(*)>(_a[1]))); break;
        case 27: _t->massUnitCombobox((*reinterpret_cast< QComboBox*(*)>(_a[1]))); break;
        case 28: _t->init(); break;
        case 29: _t->error((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 30: _t->setMode((*reinterpret_cast< int(*)>(_a[1]))); break;
        default: ;
        }
    }
}

const QMetaObject concCalculator::staticMetaObject = {
    { &QFrame::staticMetaObject, qt_meta_stringdata_concCalculator.data,
      qt_meta_data_concCalculator,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

void *concCalculator::qt_metacast(const char *_clname)
{
    if (!_clname) return Q_NULLPTR;
    if (!strcmp(_clname, qt_meta_stringdata_concCalculator.stringdata0))
        return static_cast<void*>(const_cast< concCalculator*>(this));
    return QFrame::qt_metacast(_clname);
}

int concCalculator::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QFrame::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 31)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 31;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 31)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 31;
    }
    return _id;
}
QT_END_MOC_NAMESPACE
