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

#include "../../../src/engauge-digitizer-12.1/src/Dlg/DlgSettingsColorFilter.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'DlgSettingsColorFilter.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.9.4. 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
QT_WARNING_PUSH
QT_WARNING_DISABLE_DEPRECATED
struct qt_meta_stringdata_DlgSettingsColorFilter_t {
    QByteArrayData data[19];
    char stringdata0[230];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_DlgSettingsColorFilter_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_DlgSettingsColorFilter_t qt_meta_stringdata_DlgSettingsColorFilter = {
    {
QT_MOC_LITERAL(0, 0, 22), // "DlgSettingsColorFilter"
QT_MOC_LITERAL(1, 23, 17), // "signalApplyFilter"
QT_MOC_LITERAL(2, 41, 0), // ""
QT_MOC_LITERAL(3, 42, 15), // "ColorFilterMode"
QT_MOC_LITERAL(4, 58, 15), // "colorFilterMode"
QT_MOC_LITERAL(5, 74, 3), // "low"
QT_MOC_LITERAL(6, 78, 4), // "high"
QT_MOC_LITERAL(7, 83, 17), // "slotTransferPiece"
QT_MOC_LITERAL(8, 101, 5), // "xLeft"
QT_MOC_LITERAL(9, 107, 5), // "image"
QT_MOC_LITERAL(10, 113, 13), // "slotCurveName"
QT_MOC_LITERAL(11, 127, 9), // "curveName"
QT_MOC_LITERAL(12, 137, 15), // "slotDividerHigh"
QT_MOC_LITERAL(13, 153, 14), // "slotDividerLow"
QT_MOC_LITERAL(14, 168, 14), // "slotForeground"
QT_MOC_LITERAL(15, 183, 7), // "slotHue"
QT_MOC_LITERAL(16, 191, 13), // "slotIntensity"
QT_MOC_LITERAL(17, 205, 14), // "slotSaturation"
QT_MOC_LITERAL(18, 220, 9) // "slotValue"

    },
    "DlgSettingsColorFilter\0signalApplyFilter\0"
    "\0ColorFilterMode\0colorFilterMode\0low\0"
    "high\0slotTransferPiece\0xLeft\0image\0"
    "slotCurveName\0curveName\0slotDividerHigh\0"
    "slotDividerLow\0slotForeground\0slotHue\0"
    "slotIntensity\0slotSaturation\0slotValue"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_DlgSettingsColorFilter[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    3,   64,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       7,    2,   71,    2, 0x0a /* Public */,
      10,    1,   76,    2, 0x08 /* Private */,
      12,    1,   79,    2, 0x08 /* Private */,
      13,    1,   82,    2, 0x08 /* Private */,
      14,    0,   85,    2, 0x08 /* Private */,
      15,    0,   86,    2, 0x08 /* Private */,
      16,    0,   87,    2, 0x08 /* Private */,
      17,    0,   88,    2, 0x08 /* Private */,
      18,    0,   89,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void, 0x80000000 | 3, QMetaType::Double, QMetaType::Double,    4,    5,    6,

 // slots: parameters
    QMetaType::Void, QMetaType::Int, QMetaType::QImage,    8,    9,
    QMetaType::Void, QMetaType::QString,   11,
    QMetaType::Void, QMetaType::Double,    2,
    QMetaType::Void, QMetaType::Double,    2,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,

       0        // eod
};

void DlgSettingsColorFilter::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        DlgSettingsColorFilter *_t = static_cast<DlgSettingsColorFilter *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->signalApplyFilter((*reinterpret_cast< ColorFilterMode(*)>(_a[1])),(*reinterpret_cast< double(*)>(_a[2])),(*reinterpret_cast< double(*)>(_a[3]))); break;
        case 1: _t->slotTransferPiece((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< QImage(*)>(_a[2]))); break;
        case 2: _t->slotCurveName((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 3: _t->slotDividerHigh((*reinterpret_cast< double(*)>(_a[1]))); break;
        case 4: _t->slotDividerLow((*reinterpret_cast< double(*)>(_a[1]))); break;
        case 5: _t->slotForeground(); break;
        case 6: _t->slotHue(); break;
        case 7: _t->slotIntensity(); break;
        case 8: _t->slotSaturation(); break;
        case 9: _t->slotValue(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            typedef void (DlgSettingsColorFilter::*_t)(ColorFilterMode , double , double );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&DlgSettingsColorFilter::signalApplyFilter)) {
                *result = 0;
                return;
            }
        }
    }
}

const QMetaObject DlgSettingsColorFilter::staticMetaObject = {
    { &DlgSettingsAbstractBase::staticMetaObject, qt_meta_stringdata_DlgSettingsColorFilter.data,
      qt_meta_data_DlgSettingsColorFilter,  qt_static_metacall, nullptr, nullptr}
};


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

void *DlgSettingsColorFilter::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_DlgSettingsColorFilter.stringdata0))
        return static_cast<void*>(this);
    return DlgSettingsAbstractBase::qt_metacast(_clname);
}

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

// SIGNAL 0
void DlgSettingsColorFilter::signalApplyFilter(ColorFilterMode _t1, double _t2, double _t3)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)), const_cast<void*>(reinterpret_cast<const void*>(&_t3)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
