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

#include "../../src/konsole-17.08.3/src/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.9.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
QT_WARNING_PUSH
QT_WARNING_DISABLE_DEPRECATED
struct qt_meta_stringdata_Konsole__ColorSchemeEditor_t {
    QByteArrayData data[21];
    char stringdata0[309];
};
#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, 12), // "ColorScheme*"
QT_MOC_LITERAL(4, 55, 6), // "scheme"
QT_MOC_LITERAL(5, 62, 24), // "colorSchemeSaveRequested"
QT_MOC_LITERAL(6, 87, 11), // "ColorScheme"
QT_MOC_LITERAL(7, 99, 11), // "isNewScheme"
QT_MOC_LITERAL(8, 111, 14), // "setDescription"
QT_MOC_LITERAL(9, 126, 11), // "description"
QT_MOC_LITERAL(10, 138, 27), // "setTransparencyPercentLabel"
QT_MOC_LITERAL(11, 166, 7), // "percent"
QT_MOC_LITERAL(12, 174, 28), // "setRandomizedBackgroundColor"
QT_MOC_LITERAL(13, 203, 10), // "randomized"
QT_MOC_LITERAL(14, 214, 13), // "editColorItem"
QT_MOC_LITERAL(15, 228, 17), // "QTableWidgetItem*"
QT_MOC_LITERAL(16, 246, 4), // "item"
QT_MOC_LITERAL(17, 251, 20), // "wallpaperPathChanged"
QT_MOC_LITERAL(18, 272, 4), // "path"
QT_MOC_LITERAL(19, 277, 15), // "selectWallpaper"
QT_MOC_LITERAL(20, 293, 15) // "saveColorScheme"

    },
    "Konsole::ColorSchemeEditor\0colorsChanged\0"
    "\0ColorScheme*\0scheme\0colorSchemeSaveRequested\0"
    "ColorScheme\0isNewScheme\0setDescription\0"
    "description\0setTransparencyPercentLabel\0"
    "percent\0setRandomizedBackgroundColor\0"
    "randomized\0editColorItem\0QTableWidgetItem*\0"
    "item\0wallpaperPathChanged\0path\0"
    "selectWallpaper\0saveColorScheme"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Konsole__ColorSchemeEditor[] = {

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

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

 // slots: name, argc, parameters, tag, flags
       8,    1,   67,    2, 0x0a /* Public */,
      10,    1,   70,    2, 0x08 /* Private */,
      12,    1,   73,    2, 0x08 /* Private */,
      14,    1,   76,    2, 0x08 /* Private */,
      17,    1,   79,    2, 0x08 /* Private */,
      19,    0,   82,    2, 0x08 /* Private */,
      20,    0,   83,    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, 0x80000000 | 15,   16,
    QMetaType::Void, QMetaType::QString,   18,
    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) {
        ColorSchemeEditor *_t = static_cast<ColorSchemeEditor *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->colorsChanged((*reinterpret_cast< 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->setRandomizedBackgroundColor((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 5: _t->editColorItem((*reinterpret_cast< QTableWidgetItem*(*)>(_a[1]))); break;
        case 6: _t->wallpaperPathChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 7: _t->selectWallpaper(); break;
        case 8: _t->saveColorScheme(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (ColorSchemeEditor::*_t)(ColorScheme * );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&ColorSchemeEditor::colorsChanged)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (ColorSchemeEditor::*_t)(const ColorScheme & , bool );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&ColorSchemeEditor::colorSchemeSaveRequested)) {
                *result = 1;
                return;
            }
        }
    }
}

const QMetaObject Konsole::ColorSchemeEditor::staticMetaObject = {
    { &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 < 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;
}

// SIGNAL 0
void Konsole::ColorSchemeEditor::colorsChanged(ColorScheme * _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_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*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
