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

#include <memory>
#include "../../../../scribus-1.6.6/scribus/ui/prefs_itemtools.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'prefs_itemtools.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.15.18. 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_Prefs_ItemTools_t {
    QByteArrayData data[13];
    char stringdata0[209];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Prefs_ItemTools_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Prefs_ItemTools_t qt_meta_stringdata_Prefs_ItemTools = {
    {
QT_MOC_LITERAL(0, 0, 15), // "Prefs_ItemTools"
QT_MOC_LITERAL(1, 16, 14), // "languageChange"
QT_MOC_LITERAL(2, 31, 0), // ""
QT_MOC_LITERAL(3, 32, 10), // "unitChange"
QT_MOC_LITERAL(4, 43, 8), // "newIndex"
QT_MOC_LITERAL(5, 52, 17), // "enableFontPreview"
QT_MOC_LITERAL(6, 70, 13), // "enableSignals"
QT_MOC_LITERAL(7, 84, 2), // "on"
QT_MOC_LITERAL(8, 87, 17), // "updateFontPreview"
QT_MOC_LITERAL(9, 105, 24), // "toggleImagesScalingChain"
QT_MOC_LITERAL(10, 130, 28), // "imageHorizontalScalingChange"
QT_MOC_LITERAL(11, 159, 26), // "imageVerticalScalingChange"
QT_MOC_LITERAL(12, 186, 22) // "imageScalingTypeChange"

    },
    "Prefs_ItemTools\0languageChange\0\0"
    "unitChange\0newIndex\0enableFontPreview\0"
    "enableSignals\0on\0updateFontPreview\0"
    "toggleImagesScalingChain\0"
    "imageHorizontalScalingChange\0"
    "imageVerticalScalingChange\0"
    "imageScalingTypeChange"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Prefs_ItemTools[] = {

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

 // slots: name, argc, parameters, tag, flags
       1,    0,   59,    2, 0x0a /* Public */,
       3,    1,   60,    2, 0x0a /* Public */,
       5,    1,   63,    2, 0x0a /* Public */,
       6,    1,   66,    2, 0x09 /* Protected */,
       8,    0,   69,    2, 0x09 /* Protected */,
       9,    0,   70,    2, 0x09 /* Protected */,
      10,    0,   71,    2, 0x09 /* Protected */,
      11,    0,   72,    2, 0x09 /* Protected */,
      12,    0,   73,    2, 0x09 /* Protected */,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int,    4,
    QMetaType::Void, QMetaType::Bool,    2,
    QMetaType::Void, QMetaType::Bool,    7,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,

       0        // eod
};

void Prefs_ItemTools::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<Prefs_ItemTools *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->languageChange(); break;
        case 1: _t->unitChange((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 2: _t->enableFontPreview((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 3: _t->enableSignals((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 4: _t->updateFontPreview(); break;
        case 5: _t->toggleImagesScalingChain(); break;
        case 6: _t->imageHorizontalScalingChange(); break;
        case 7: _t->imageVerticalScalingChange(); break;
        case 8: _t->imageScalingTypeChange(); break;
        default: ;
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject Prefs_ItemTools::staticMetaObject = { {
    QMetaObject::SuperData::link<Prefs_Pane::staticMetaObject>(),
    qt_meta_stringdata_Prefs_ItemTools.data,
    qt_meta_data_Prefs_ItemTools,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

void *Prefs_ItemTools::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_Prefs_ItemTools.stringdata0))
        return static_cast<void*>(this);
    if (!strcmp(_clname, "Ui::Prefs_ItemTools"))
        return static_cast< Ui::Prefs_ItemTools*>(this);
    return Prefs_Pane::qt_metacast(_clname);
}

int Prefs_ItemTools::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = Prefs_Pane::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;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 9)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 9;
    }
    return _id;
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
