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

#include <memory>
#include "../../../../../konsole-23.08.5/src/colorscheme/ColorSchemeEditor.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'ColorSchemeEditor.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.15.19. 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_Konsole__ColorSchemeEditor_t {
    QByteArrayData data[31];
    char stringdata0[468];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Konsole__ColorSchemeEditor_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Konsole__ColorSchemeEditor_t qt_meta_stringdata_Konsole__ColorSchemeEditor = {
    {
QT_MOC_LITERAL(0, 0, 26), // "Konsole::ColorSchemeEditor"
QT_MOC_LITERAL(1, 27, 13), // "colorsChanged"
QT_MOC_LITERAL(2, 41, 0), // ""
QT_MOC_LITERAL(3, 42, 28), // "std::shared_ptr<ColorScheme>"
QT_MOC_LITERAL(4, 71, 6), // "scheme"
QT_MOC_LITERAL(5, 78, 24), // "colorSchemeSaveRequested"
QT_MOC_LITERAL(6, 103, 11), // "ColorScheme"
QT_MOC_LITERAL(7, 115, 11), // "isNewScheme"
QT_MOC_LITERAL(8, 127, 14), // "setDescription"
QT_MOC_LITERAL(9, 142, 11), // "description"
QT_MOC_LITERAL(10, 154, 27), // "setTransparencyPercentLabel"
QT_MOC_LITERAL(11, 182, 7), // "percent"
QT_MOC_LITERAL(12, 190, 7), // "setBlur"
QT_MOC_LITERAL(13, 198, 4), // "blur"
QT_MOC_LITERAL(14, 203, 28), // "setRandomizedBackgroundColor"
QT_MOC_LITERAL(15, 232, 10), // "randomized"
QT_MOC_LITERAL(16, 243, 13), // "editColorItem"
QT_MOC_LITERAL(17, 257, 17), // "QTableWidgetItem*"
QT_MOC_LITERAL(18, 275, 4), // "item"
QT_MOC_LITERAL(19, 280, 19), // "setWallpaperOpacity"
QT_MOC_LITERAL(20, 300, 20), // "wallpaperPathChanged"
QT_MOC_LITERAL(21, 321, 4), // "path"
QT_MOC_LITERAL(22, 326, 18), // "scalingTypeChanged"
QT_MOC_LITERAL(23, 345, 10), // "styleIndex"
QT_MOC_LITERAL(24, 356, 15), // "flipTypeChanged"
QT_MOC_LITERAL(25, 372, 13), // "flipTypeIndex"
QT_MOC_LITERAL(26, 386, 23), // "horizontalAnchorChanged"
QT_MOC_LITERAL(27, 410, 3), // "pos"
QT_MOC_LITERAL(28, 414, 21), // "verticalAnchorChanged"
QT_MOC_LITERAL(29, 436, 15), // "selectWallpaper"
QT_MOC_LITERAL(30, 452, 15) // "saveColorScheme"

    },
    "Konsole::ColorSchemeEditor\0colorsChanged\0"
    "\0std::shared_ptr<ColorScheme>\0scheme\0"
    "colorSchemeSaveRequested\0ColorScheme\0"
    "isNewScheme\0setDescription\0description\0"
    "setTransparencyPercentLabel\0percent\0"
    "setBlur\0blur\0setRandomizedBackgroundColor\0"
    "randomized\0editColorItem\0QTableWidgetItem*\0"
    "item\0setWallpaperOpacity\0wallpaperPathChanged\0"
    "path\0scalingTypeChanged\0styleIndex\0"
    "flipTypeChanged\0flipTypeIndex\0"
    "horizontalAnchorChanged\0pos\0"
    "verticalAnchorChanged\0selectWallpaper\0"
    "saveColorScheme"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Konsole__ColorSchemeEditor[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    1,   89,    2, 0x06 /* Public */,
       5,    2,   92,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       8,    1,   97,    2, 0x0a /* Public */,
      10,    1,  100,    2, 0x08 /* Private */,
      12,    1,  103,    2, 0x08 /* Private */,
      14,    1,  106,    2, 0x08 /* Private */,
      16,    1,  109,    2, 0x08 /* Private */,
      19,    1,  112,    2, 0x08 /* Private */,
      20,    1,  115,    2, 0x08 /* Private */,
      22,    1,  118,    2, 0x08 /* Private */,
      24,    1,  121,    2, 0x08 /* Private */,
      26,    1,  124,    2, 0x08 /* Private */,
      28,    1,  127,    2, 0x08 /* Private */,
      29,    0,  130,    2, 0x08 /* Private */,
      30,    0,  131,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void, 0x80000000 | 3,    4,
    QMetaType::Void, 0x80000000 | 6, QMetaType::Bool,    4,    7,

 // slots: parameters
    QMetaType::Void, QMetaType::QString,    9,
    QMetaType::Void, QMetaType::Int,   11,
    QMetaType::Void, QMetaType::Bool,   13,
    QMetaType::Void, QMetaType::Bool,   15,
    QMetaType::Void, 0x80000000 | 17,   18,
    QMetaType::Void, QMetaType::Int,   11,
    QMetaType::Void, QMetaType::QString,   21,
    QMetaType::Void, QMetaType::Int,   23,
    QMetaType::Void, QMetaType::Int,   25,
    QMetaType::Void, QMetaType::Int,   27,
    QMetaType::Void, QMetaType::Int,   27,
    QMetaType::Void,
    QMetaType::Void,

       0        // eod
};

void Konsole::ColorSchemeEditor::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<ColorSchemeEditor *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->colorsChanged((*reinterpret_cast< std::shared_ptr<ColorScheme>(*)>(_a[1]))); break;
        case 1: _t->colorSchemeSaveRequested((*reinterpret_cast< const ColorScheme(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break;
        case 2: _t->setDescription((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 3: _t->setTransparencyPercentLabel((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 4: _t->setBlur((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 5: _t->setRandomizedBackgroundColor((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 6: _t->editColorItem((*reinterpret_cast< QTableWidgetItem*(*)>(_a[1]))); break;
        case 7: _t->setWallpaperOpacity((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 8: _t->wallpaperPathChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 9: _t->scalingTypeChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 10: _t->flipTypeChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 11: _t->horizontalAnchorChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 12: _t->verticalAnchorChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 13: _t->selectWallpaper(); break;
        case 14: _t->saveColorScheme(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (ColorSchemeEditor::*)(std::shared_ptr<ColorScheme> );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ColorSchemeEditor::colorsChanged)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (ColorSchemeEditor::*)(const ColorScheme & , bool );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ColorSchemeEditor::colorSchemeSaveRequested)) {
                *result = 1;
                return;
            }
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject Konsole::ColorSchemeEditor::staticMetaObject = { {
    QMetaObject::SuperData::link<QDialog::staticMetaObject>(),
    qt_meta_stringdata_Konsole__ColorSchemeEditor.data,
    qt_meta_data_Konsole__ColorSchemeEditor,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

void *Konsole::ColorSchemeEditor::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_Konsole__ColorSchemeEditor.stringdata0))
        return static_cast<void*>(this);
    return QDialog::qt_metacast(_clname);
}

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

// SIGNAL 0
void Konsole::ColorSchemeEditor::colorsChanged(std::shared_ptr<ColorScheme> _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void Konsole::ColorSchemeEditor::colorSchemeSaveRequested(const ColorScheme & _t1, bool _t2)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
