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

#include "../../src/kpat-15.04.3/libkcardgame/kcardscene.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'kcardscene.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.4.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_KCardScene_t {
    QByteArrayData data[19];
    char stringdata[263];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KCardScene_t, stringdata) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KCardScene_t qt_meta_stringdata_KCardScene = {
    {
QT_MOC_LITERAL(0, 0, 10), // "KCardScene"
QT_MOC_LITERAL(1, 11, 11), // "cardClicked"
QT_MOC_LITERAL(2, 23, 0), // ""
QT_MOC_LITERAL(3, 24, 6), // "KCard*"
QT_MOC_LITERAL(4, 31, 4), // "card"
QT_MOC_LITERAL(5, 36, 17), // "cardDoubleClicked"
QT_MOC_LITERAL(6, 54, 16), // "cardRightClicked"
QT_MOC_LITERAL(7, 71, 11), // "pileClicked"
QT_MOC_LITERAL(8, 83, 10), // "KCardPile*"
QT_MOC_LITERAL(9, 94, 4), // "pile"
QT_MOC_LITERAL(10, 99, 17), // "pileDoubleClicked"
QT_MOC_LITERAL(11, 117, 16), // "pileRightClicked"
QT_MOC_LITERAL(12, 134, 17), // "cardAnimationDone"
QT_MOC_LITERAL(13, 152, 17), // "keyboardFocusLeft"
QT_MOC_LITERAL(14, 170, 18), // "keyboardFocusRight"
QT_MOC_LITERAL(15, 189, 15), // "keyboardFocusUp"
QT_MOC_LITERAL(16, 205, 17), // "keyboardFocusDown"
QT_MOC_LITERAL(17, 223, 19), // "keyboardFocusCancel"
QT_MOC_LITERAL(18, 243, 19) // "keyboardFocusSelect"

    },
    "KCardScene\0cardClicked\0\0KCard*\0card\0"
    "cardDoubleClicked\0cardRightClicked\0"
    "pileClicked\0KCardPile*\0pile\0"
    "pileDoubleClicked\0pileRightClicked\0"
    "cardAnimationDone\0keyboardFocusLeft\0"
    "keyboardFocusRight\0keyboardFocusUp\0"
    "keyboardFocusDown\0keyboardFocusCancel\0"
    "keyboardFocusSelect"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KCardScene[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    1,   79,    2, 0x06 /* Public */,
       5,    1,   82,    2, 0x06 /* Public */,
       6,    1,   85,    2, 0x06 /* Public */,
       7,    1,   88,    2, 0x06 /* Public */,
      10,    1,   91,    2, 0x06 /* Public */,
      11,    1,   94,    2, 0x06 /* Public */,
      12,    0,   97,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      13,    0,   98,    2, 0x0a /* Public */,
      14,    0,   99,    2, 0x0a /* Public */,
      15,    0,  100,    2, 0x0a /* Public */,
      16,    0,  101,    2, 0x0a /* Public */,
      17,    0,  102,    2, 0x0a /* Public */,
      18,    0,  103,    2, 0x0a /* Public */,

 // signals: parameters
    QMetaType::Void, 0x80000000 | 3,    4,
    QMetaType::Void, 0x80000000 | 3,    4,
    QMetaType::Void, 0x80000000 | 3,    4,
    QMetaType::Void, 0x80000000 | 8,    9,
    QMetaType::Void, 0x80000000 | 8,    9,
    QMetaType::Void, 0x80000000 | 8,    9,
    QMetaType::Void,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,

       0        // eod
};

void KCardScene::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        KCardScene *_t = static_cast<KCardScene *>(_o);
        switch (_id) {
        case 0: _t->cardClicked((*reinterpret_cast< KCard*(*)>(_a[1]))); break;
        case 1: _t->cardDoubleClicked((*reinterpret_cast< KCard*(*)>(_a[1]))); break;
        case 2: _t->cardRightClicked((*reinterpret_cast< KCard*(*)>(_a[1]))); break;
        case 3: _t->pileClicked((*reinterpret_cast< KCardPile*(*)>(_a[1]))); break;
        case 4: _t->pileDoubleClicked((*reinterpret_cast< KCardPile*(*)>(_a[1]))); break;
        case 5: _t->pileRightClicked((*reinterpret_cast< KCardPile*(*)>(_a[1]))); break;
        case 6: _t->cardAnimationDone(); break;
        case 7: _t->keyboardFocusLeft(); break;
        case 8: _t->keyboardFocusRight(); break;
        case 9: _t->keyboardFocusUp(); break;
        case 10: _t->keyboardFocusDown(); break;
        case 11: _t->keyboardFocusCancel(); break;
        case 12: _t->keyboardFocusSelect(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (KCardScene::*_t)(KCard * );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KCardScene::cardClicked)) {
                *result = 0;
            }
        }
        {
            typedef void (KCardScene::*_t)(KCard * );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KCardScene::cardDoubleClicked)) {
                *result = 1;
            }
        }
        {
            typedef void (KCardScene::*_t)(KCard * );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KCardScene::cardRightClicked)) {
                *result = 2;
            }
        }
        {
            typedef void (KCardScene::*_t)(KCardPile * );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KCardScene::pileClicked)) {
                *result = 3;
            }
        }
        {
            typedef void (KCardScene::*_t)(KCardPile * );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KCardScene::pileDoubleClicked)) {
                *result = 4;
            }
        }
        {
            typedef void (KCardScene::*_t)(KCardPile * );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KCardScene::pileRightClicked)) {
                *result = 5;
            }
        }
        {
            typedef void (KCardScene::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KCardScene::cardAnimationDone)) {
                *result = 6;
            }
        }
    }
}

const QMetaObject KCardScene::staticMetaObject = {
    { &QGraphicsScene::staticMetaObject, qt_meta_stringdata_KCardScene.data,
      qt_meta_data_KCardScene,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

void *KCardScene::qt_metacast(const char *_clname)
{
    if (!_clname) return Q_NULLPTR;
    if (!strcmp(_clname, qt_meta_stringdata_KCardScene.stringdata))
        return static_cast<void*>(const_cast< KCardScene*>(this));
    return QGraphicsScene::qt_metacast(_clname);
}

int KCardScene::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QGraphicsScene::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 13)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 13;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 13)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 13;
    }
    return _id;
}

// SIGNAL 0
void KCardScene::cardClicked(KCard * _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void KCardScene::cardDoubleClicked(KCard * _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}

// SIGNAL 2
void KCardScene::cardRightClicked(KCard * _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}

// SIGNAL 3
void KCardScene::pileClicked(KCardPile * _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 3, _a);
}

// SIGNAL 4
void KCardScene::pileDoubleClicked(KCardPile * _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 4, _a);
}

// SIGNAL 5
void KCardScene::pileRightClicked(KCardPile * _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 5, _a);
}

// SIGNAL 6
void KCardScene::cardAnimationDone()
{
    QMetaObject::activate(this, &staticMetaObject, 6, Q_NULLPTR);
}
QT_END_MOC_NAMESPACE
