/****************************************************************************
** Meta object code from reading C++ file 'kpColorCells.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/kolourpaint-17.08.3/widgets/kpColorCells.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'kpColorCells.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_kpColorCells_t {
    QByteArrayData data[21];
    char stringdata0[258];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_kpColorCells_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_kpColorCells_t qt_meta_stringdata_kpColorCells = {
    {
QT_MOC_LITERAL(0, 0, 12), // "kpColorCells"
QT_MOC_LITERAL(1, 13, 22), // "foregroundColorChanged"
QT_MOC_LITERAL(2, 36, 0), // ""
QT_MOC_LITERAL(3, 37, 7), // "kpColor"
QT_MOC_LITERAL(4, 45, 5), // "color"
QT_MOC_LITERAL(5, 51, 22), // "backgroundColorChanged"
QT_MOC_LITERAL(6, 74, 15), // "rowCountChanged"
QT_MOC_LITERAL(7, 90, 8), // "rowCount"
QT_MOC_LITERAL(8, 99, 11), // "nameChanged"
QT_MOC_LITERAL(9, 111, 4), // "name"
QT_MOC_LITERAL(10, 116, 10), // "urlChanged"
QT_MOC_LITERAL(11, 127, 3), // "url"
QT_MOC_LITERAL(12, 131, 17), // "isModifiedChanged"
QT_MOC_LITERAL(13, 149, 10), // "isModified"
QT_MOC_LITERAL(14, 160, 11), // "setModified"
QT_MOC_LITERAL(15, 172, 17), // "slotColorSelected"
QT_MOC_LITERAL(16, 190, 4), // "cell"
QT_MOC_LITERAL(17, 195, 15), // "Qt::MouseButton"
QT_MOC_LITERAL(18, 211, 6), // "button"
QT_MOC_LITERAL(19, 218, 22), // "slotColorDoubleClicked"
QT_MOC_LITERAL(20, 241, 16) // "slotColorChanged"

    },
    "kpColorCells\0foregroundColorChanged\0"
    "\0kpColor\0color\0backgroundColorChanged\0"
    "rowCountChanged\0rowCount\0nameChanged\0"
    "name\0urlChanged\0url\0isModifiedChanged\0"
    "isModified\0setModified\0slotColorSelected\0"
    "cell\0Qt::MouseButton\0button\0"
    "slotColorDoubleClicked\0slotColorChanged"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_kpColorCells[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    1,   64,    2, 0x06 /* Public */,
       5,    1,   67,    2, 0x06 /* Public */,
       6,    1,   70,    2, 0x06 /* Public */,
       8,    1,   73,    2, 0x06 /* Public */,
      10,    1,   76,    2, 0x06 /* Public */,
      12,    1,   79,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      14,    0,   82,    2, 0x0a /* Public */,
      15,    3,   83,    2, 0x09 /* Protected */,
      19,    2,   90,    2, 0x09 /* Protected */,
      20,    2,   95,    2, 0x09 /* Protected */,

 // signals: parameters
    QMetaType::Void, 0x80000000 | 3,    4,
    QMetaType::Void, 0x80000000 | 3,    4,
    QMetaType::Void, QMetaType::Int,    7,
    QMetaType::Void, QMetaType::QString,    9,
    QMetaType::Void, QMetaType::QUrl,   11,
    QMetaType::Void, QMetaType::Bool,   13,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int, QMetaType::QColor, 0x80000000 | 17,   16,    4,   18,
    QMetaType::Void, QMetaType::Int, QMetaType::QColor,   16,    4,
    QMetaType::Void, QMetaType::Int, QMetaType::QColor,   16,    4,

       0        // eod
};

void kpColorCells::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        kpColorCells *_t = static_cast<kpColorCells *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->foregroundColorChanged((*reinterpret_cast< const kpColor(*)>(_a[1]))); break;
        case 1: _t->backgroundColorChanged((*reinterpret_cast< const kpColor(*)>(_a[1]))); break;
        case 2: _t->rowCountChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 3: _t->nameChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 4: _t->urlChanged((*reinterpret_cast< const QUrl(*)>(_a[1]))); break;
        case 5: _t->isModifiedChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 6: _t->setModified(); break;
        case 7: _t->slotColorSelected((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< const QColor(*)>(_a[2])),(*reinterpret_cast< Qt::MouseButton(*)>(_a[3]))); break;
        case 8: _t->slotColorDoubleClicked((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< const QColor(*)>(_a[2]))); break;
        case 9: _t->slotColorChanged((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< const QColor(*)>(_a[2]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (kpColorCells::*_t)(const kpColor & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&kpColorCells::foregroundColorChanged)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (kpColorCells::*_t)(const kpColor & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&kpColorCells::backgroundColorChanged)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (kpColorCells::*_t)(int );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&kpColorCells::rowCountChanged)) {
                *result = 2;
                return;
            }
        }
        {
            typedef void (kpColorCells::*_t)(const QString & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&kpColorCells::nameChanged)) {
                *result = 3;
                return;
            }
        }
        {
            typedef void (kpColorCells::*_t)(const QUrl & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&kpColorCells::urlChanged)) {
                *result = 4;
                return;
            }
        }
        {
            typedef void (kpColorCells::*_t)(bool );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&kpColorCells::isModifiedChanged)) {
                *result = 5;
                return;
            }
        }
    }
}

const QMetaObject kpColorCells::staticMetaObject = {
    { &kpColorCellsBase::staticMetaObject, qt_meta_stringdata_kpColorCells.data,
      qt_meta_data_kpColorCells,  qt_static_metacall, nullptr, nullptr}
};


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

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

int kpColorCells::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = kpColorCellsBase::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 kpColorCells::foregroundColorChanged(const kpColor & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void kpColorCells::backgroundColorChanged(const kpColor & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}

// SIGNAL 2
void kpColorCells::rowCountChanged(int _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}

// SIGNAL 3
void kpColorCells::nameChanged(const QString & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 3, _a);
}

// SIGNAL 4
void kpColorCells::urlChanged(const QUrl & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 4, _a);
}

// SIGNAL 5
void kpColorCells::isModifiedChanged(bool _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 5, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
