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

#include "../src/kpat-17.04.3/dealer.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'dealer.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.6.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_DealerScene_t {
    QByteArrayData data[37];
    char stringdata0[401];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_DealerScene_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_DealerScene_t qt_meta_stringdata_DealerScene = {
    {
QT_MOC_LITERAL(0, 0, 11), // "DealerScene"
QT_MOC_LITERAL(1, 12, 12), // "undoPossible"
QT_MOC_LITERAL(2, 25, 0), // ""
QT_MOC_LITERAL(3, 26, 4), // "poss"
QT_MOC_LITERAL(4, 31, 12), // "redoPossible"
QT_MOC_LITERAL(5, 44, 16), // "newCardsPossible"
QT_MOC_LITERAL(6, 61, 14), // "gameInProgress"
QT_MOC_LITERAL(7, 76, 10), // "inProgress"
QT_MOC_LITERAL(8, 87, 10), // "demoActive"
QT_MOC_LITERAL(9, 98, 6), // "active"
QT_MOC_LITERAL(10, 105, 10), // "hintActive"
QT_MOC_LITERAL(11, 116, 10), // "dropActive"
QT_MOC_LITERAL(12, 127, 11), // "updateMoves"
QT_MOC_LITERAL(13, 139, 5), // "moves"
QT_MOC_LITERAL(14, 145, 18), // "solverStateChanged"
QT_MOC_LITERAL(15, 164, 4), // "text"
QT_MOC_LITERAL(16, 169, 13), // "cardsPickedUp"
QT_MOC_LITERAL(17, 183, 12), // "cardsPutDown"
QT_MOC_LITERAL(18, 196, 8), // "startNew"
QT_MOC_LITERAL(19, 205, 10), // "dealNumber"
QT_MOC_LITERAL(20, 216, 4), // "undo"
QT_MOC_LITERAL(21, 221, 4), // "redo"
QT_MOC_LITERAL(22, 226, 4), // "stop"
QT_MOC_LITERAL(23, 231, 19), // "drawDealRowOrRedeal"
QT_MOC_LITERAL(24, 251, 16), // "tryAutomaticMove"
QT_MOC_LITERAL(25, 268, 6), // "KCard*"
QT_MOC_LITERAL(26, 275, 4), // "card"
QT_MOC_LITERAL(27, 280, 9), // "takeState"
QT_MOC_LITERAL(28, 290, 13), // "animationDone"
QT_MOC_LITERAL(29, 304, 8), // "newCards"
QT_MOC_LITERAL(30, 313, 4), // "drop"
QT_MOC_LITERAL(31, 318, 20), // "stopAndRestartSolver"
QT_MOC_LITERAL(32, 339, 15), // "slotSolverEnded"
QT_MOC_LITERAL(33, 355, 18), // "slotSolverFinished"
QT_MOC_LITERAL(34, 374, 6), // "result"
QT_MOC_LITERAL(35, 381, 4), // "demo"
QT_MOC_LITERAL(36, 386, 14) // "showWonMessage"

    },
    "DealerScene\0undoPossible\0\0poss\0"
    "redoPossible\0newCardsPossible\0"
    "gameInProgress\0inProgress\0demoActive\0"
    "active\0hintActive\0dropActive\0updateMoves\0"
    "moves\0solverStateChanged\0text\0"
    "cardsPickedUp\0cardsPutDown\0startNew\0"
    "dealNumber\0undo\0redo\0stop\0drawDealRowOrRedeal\0"
    "tryAutomaticMove\0KCard*\0card\0takeState\0"
    "animationDone\0newCards\0drop\0"
    "stopAndRestartSolver\0slotSolverEnded\0"
    "slotSolverFinished\0result\0demo\0"
    "showWonMessage"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_DealerScene[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    1,  149,    2, 0x06 /* Public */,
       4,    1,  152,    2, 0x06 /* Public */,
       5,    1,  155,    2, 0x06 /* Public */,
       6,    1,  158,    2, 0x06 /* Public */,
       8,    1,  161,    2, 0x06 /* Public */,
      10,    1,  164,    2, 0x06 /* Public */,
      11,    1,  167,    2, 0x06 /* Public */,
      12,    1,  170,    2, 0x06 /* Public */,
      14,    1,  173,    2, 0x06 /* Public */,
      16,    0,  176,    2, 0x06 /* Public */,
      17,    0,  177,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      18,    1,  178,    2, 0x0a /* Public */,
      18,    0,  181,    2, 0x2a /* Public | MethodCloned */,
      20,    0,  182,    2, 0x0a /* Public */,
      21,    0,  183,    2, 0x0a /* Public */,
      22,    0,  184,    2, 0x0a /* Public */,
      23,    0,  185,    2, 0x0a /* Public */,
      24,    1,  186,    2, 0x0a /* Public */,
      27,    0,  189,    2, 0x09 /* Protected */,
      28,    0,  190,    2, 0x09 /* Protected */,
      29,    0,  191,    2, 0x09 /* Protected */,
      30,    0,  192,    2, 0x09 /* Protected */,
      31,    0,  193,    2, 0x08 /* Private */,
      32,    0,  194,    2, 0x08 /* Private */,
      33,    1,  195,    2, 0x08 /* Private */,
      35,    0,  198,    2, 0x08 /* Private */,
      36,    0,  199,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void, QMetaType::Bool,    3,
    QMetaType::Void, QMetaType::Bool,    3,
    QMetaType::Void, QMetaType::Bool,    3,
    QMetaType::Void, QMetaType::Bool,    7,
    QMetaType::Void, QMetaType::Bool,    9,
    QMetaType::Void, QMetaType::Bool,    9,
    QMetaType::Void, QMetaType::Bool,    9,
    QMetaType::Void, QMetaType::Int,   13,
    QMetaType::Void, QMetaType::QString,   15,
    QMetaType::Void,
    QMetaType::Void,

 // slots: parameters
    QMetaType::Void, QMetaType::Int,   19,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Bool, 0x80000000 | 25,   26,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Bool,
    QMetaType::Bool,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int,   34,
    QMetaType::Void,
    QMetaType::Void,

       0        // eod
};

void DealerScene::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        DealerScene *_t = static_cast<DealerScene *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->undoPossible((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 1: _t->redoPossible((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 2: _t->newCardsPossible((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 3: _t->gameInProgress((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 4: _t->demoActive((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 5: _t->hintActive((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 6: _t->dropActive((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 7: _t->updateMoves((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 8: _t->solverStateChanged((*reinterpret_cast< QString(*)>(_a[1]))); break;
        case 9: _t->cardsPickedUp(); break;
        case 10: _t->cardsPutDown(); break;
        case 11: _t->startNew((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 12: _t->startNew(); break;
        case 13: _t->undo(); break;
        case 14: _t->redo(); break;
        case 15: _t->stop(); break;
        case 16: _t->drawDealRowOrRedeal(); break;
        case 17: { bool _r = _t->tryAutomaticMove((*reinterpret_cast< KCard*(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; }  break;
        case 18: _t->takeState(); break;
        case 19: _t->animationDone(); break;
        case 20: { bool _r = _t->newCards();
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; }  break;
        case 21: { bool _r = _t->drop();
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; }  break;
        case 22: _t->stopAndRestartSolver(); break;
        case 23: _t->slotSolverEnded(); break;
        case 24: _t->slotSolverFinished((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 25: _t->demo(); break;
        case 26: _t->showWonMessage(); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 17:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< KCard* >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (DealerScene::*_t)(bool );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&DealerScene::undoPossible)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (DealerScene::*_t)(bool );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&DealerScene::redoPossible)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (DealerScene::*_t)(bool );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&DealerScene::newCardsPossible)) {
                *result = 2;
                return;
            }
        }
        {
            typedef void (DealerScene::*_t)(bool );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&DealerScene::gameInProgress)) {
                *result = 3;
                return;
            }
        }
        {
            typedef void (DealerScene::*_t)(bool );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&DealerScene::demoActive)) {
                *result = 4;
                return;
            }
        }
        {
            typedef void (DealerScene::*_t)(bool );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&DealerScene::hintActive)) {
                *result = 5;
                return;
            }
        }
        {
            typedef void (DealerScene::*_t)(bool );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&DealerScene::dropActive)) {
                *result = 6;
                return;
            }
        }
        {
            typedef void (DealerScene::*_t)(int );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&DealerScene::updateMoves)) {
                *result = 7;
                return;
            }
        }
        {
            typedef void (DealerScene::*_t)(QString );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&DealerScene::solverStateChanged)) {
                *result = 8;
                return;
            }
        }
        {
            typedef void (DealerScene::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&DealerScene::cardsPickedUp)) {
                *result = 9;
                return;
            }
        }
        {
            typedef void (DealerScene::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&DealerScene::cardsPutDown)) {
                *result = 10;
                return;
            }
        }
    }
}

const QMetaObject DealerScene::staticMetaObject = {
    { &KCardScene::staticMetaObject, qt_meta_stringdata_DealerScene.data,
      qt_meta_data_DealerScene,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

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

int DealerScene::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = KCardScene::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 27)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 27;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 27)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 27;
    }
    return _id;
}

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

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

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

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

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

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

// SIGNAL 6
void DealerScene::dropActive(bool _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 6, _a);
}

// SIGNAL 7
void DealerScene::updateMoves(int _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 7, _a);
}

// SIGNAL 8
void DealerScene::solverStateChanged(QString _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 8, _a);
}

// SIGNAL 9
void DealerScene::cardsPickedUp()
{
    QMetaObject::activate(this, &staticMetaObject, 9, Q_NULLPTR);
}

// SIGNAL 10
void DealerScene::cardsPutDown()
{
    QMetaObject::activate(this, &staticMetaObject, 10, Q_NULLPTR);
}
QT_END_MOC_NAMESPACE
