/****************************************************************************
** Meta object code from reading C++ file 'kpTransformResizeScaleDialog.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/kolourpaint-17.04.3/dialogs/imagelib/transforms/kpTransformResizeScaleDialog.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'kpTransformResizeScaleDialog.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_kpTransformResizeScaleDialog_t {
    QByteArrayData data[15];
    char stringdata0[216];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_kpTransformResizeScaleDialog_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_kpTransformResizeScaleDialog_t qt_meta_stringdata_kpTransformResizeScaleDialog = {
    {
QT_MOC_LITERAL(0, 0, 28), // "kpTransformResizeScaleDialog"
QT_MOC_LITERAL(1, 29, 16), // "slotActOnChanged"
QT_MOC_LITERAL(2, 46, 0), // ""
QT_MOC_LITERAL(3, 47, 15), // "slotTypeChanged"
QT_MOC_LITERAL(4, 63, 16), // "slotWidthChanged"
QT_MOC_LITERAL(5, 80, 5), // "width"
QT_MOC_LITERAL(6, 86, 17), // "slotHeightChanged"
QT_MOC_LITERAL(7, 104, 6), // "height"
QT_MOC_LITERAL(8, 111, 23), // "slotPercentWidthChanged"
QT_MOC_LITERAL(9, 135, 12), // "percentWidth"
QT_MOC_LITERAL(10, 148, 24), // "slotPercentHeightChanged"
QT_MOC_LITERAL(11, 173, 13), // "percentHeight"
QT_MOC_LITERAL(12, 187, 6), // "accept"
QT_MOC_LITERAL(13, 194, 18), // "setKeepAspectRatio"
QT_MOC_LITERAL(14, 213, 2) // "on"

    },
    "kpTransformResizeScaleDialog\0"
    "slotActOnChanged\0\0slotTypeChanged\0"
    "slotWidthChanged\0width\0slotHeightChanged\0"
    "height\0slotPercentWidthChanged\0"
    "percentWidth\0slotPercentHeightChanged\0"
    "percentHeight\0accept\0setKeepAspectRatio\0"
    "on"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_kpTransformResizeScaleDialog[] = {

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

 // slots: name, argc, parameters, tag, flags
       1,    0,   54,    2, 0x0a /* Public */,
       3,    0,   55,    2, 0x0a /* Public */,
       4,    1,   56,    2, 0x0a /* Public */,
       6,    1,   59,    2, 0x0a /* Public */,
       8,    1,   62,    2, 0x0a /* Public */,
      10,    1,   65,    2, 0x0a /* Public */,
      12,    0,   68,    2, 0x08 /* Private */,
      13,    1,   69,    2, 0x08 /* Private */,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int,    5,
    QMetaType::Void, QMetaType::Int,    7,
    QMetaType::Void, QMetaType::Double,    9,
    QMetaType::Void, QMetaType::Double,   11,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Bool,   14,

       0        // eod
};

void kpTransformResizeScaleDialog::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        kpTransformResizeScaleDialog *_t = static_cast<kpTransformResizeScaleDialog *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->slotActOnChanged(); break;
        case 1: _t->slotTypeChanged(); break;
        case 2: _t->slotWidthChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 3: _t->slotHeightChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 4: _t->slotPercentWidthChanged((*reinterpret_cast< double(*)>(_a[1]))); break;
        case 5: _t->slotPercentHeightChanged((*reinterpret_cast< double(*)>(_a[1]))); break;
        case 6: _t->accept(); break;
        case 7: _t->setKeepAspectRatio((*reinterpret_cast< bool(*)>(_a[1]))); break;
        default: ;
        }
    }
}

const QMetaObject kpTransformResizeScaleDialog::staticMetaObject = {
    { &QDialog::staticMetaObject, qt_meta_stringdata_kpTransformResizeScaleDialog.data,
      qt_meta_data_kpTransformResizeScaleDialog,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

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

int kpTransformResizeScaleDialog::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 < 8)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 8;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 8)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 8;
    }
    return _id;
}
QT_END_MOC_NAMESPACE
