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

#include "../../src/pairs-15.04.3/game/pairsview.h"
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'pairsview.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 63
#error "This file was generated using the moc from 4.8.7. 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
static const uint qt_meta_data_PairsView[] = {

 // content:
       6,       // revision
       0,       // classname
       0,    0, // classinfo
      11,   14, // methods
       1,   69, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
       2,       // signalCount

 // signals: signature, parameters, type, tag, flags
      11,   10,   10,   10, 0x05,
      22,   10,   10,   10, 0x05,

 // slots: signature, parameters, type, tag, flags
      45,   10,   10,   10, 0x0a,
      61,   10,   10,   10, 0x0a,
      81,   72,   10,   10, 0x0a,
     105,   10,   10,   10, 0x0a,
     116,   10,   10,   10, 0x08,
     134,  125,   10,   10, 0x08,
     156,   10,   10,   10, 0x28,

 // methods: signature, parameters, type, tag, flags
     187,  174,   10,   10, 0x42,
     216,   10,  208,   10, 0x42,

 // properties: name, type, flags
     231,  227, 0x02495001,

 // properties: notify_signal_id
       1,

       0        // eod
};

static const char qt_meta_stringdata_PairsView[] = {
    "PairsView\0\0gameOver()\0currentPlayerChanged()\0"
    "checkGameOver()\0download()\0cardData\0"
    "cardSelected(CardItem*)\0stopGame()\0"
    "update()\0starting\0reorganizeCards(bool)\0"
    "reorganizeCards()\0row,cardType\0"
    "newGame(int,QString)\0QString\0language()\0"
    "int\0currentPlayer\0"
};

void PairsView::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        Q_ASSERT(staticMetaObject.cast(_o));
        PairsView *_t = static_cast<PairsView *>(_o);
        switch (_id) {
        case 0: _t->gameOver(); break;
        case 1: _t->currentPlayerChanged(); break;
        case 2: _t->checkGameOver(); break;
        case 3: _t->download(); break;
        case 4: _t->cardSelected((*reinterpret_cast< CardItem*(*)>(_a[1]))); break;
        case 5: _t->stopGame(); break;
        case 6: _t->update(); break;
        case 7: _t->reorganizeCards((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 8: _t->reorganizeCards(); break;
        case 9: _t->newGame((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 10: { QString _r = _t->language();
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = _r; }  break;
        default: ;
        }
    }
}

const QMetaObjectExtraData PairsView::staticMetaObjectExtraData = {
    0,  qt_static_metacall 
};

const QMetaObject PairsView::staticMetaObject = {
    { &QDeclarativeView::staticMetaObject, qt_meta_stringdata_PairsView,
      qt_meta_data_PairsView, &staticMetaObjectExtraData }
};

#ifdef Q_NO_DATA_RELOCATION
const QMetaObject &PairsView::getStaticMetaObject() { return staticMetaObject; }
#endif //Q_NO_DATA_RELOCATION

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

void *PairsView::qt_metacast(const char *_clname)
{
    if (!_clname) return 0;
    if (!strcmp(_clname, qt_meta_stringdata_PairsView))
        return static_cast<void*>(const_cast< PairsView*>(this));
    return QDeclarativeView::qt_metacast(_clname);
}

int PairsView::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QDeclarativeView::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 11)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 11;
    }
#ifndef QT_NO_PROPERTIES
      else if (_c == QMetaObject::ReadProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< int*>(_v) = currentPlayer(); break;
        }
        _id -= 1;
    } else if (_c == QMetaObject::WriteProperty) {
        _id -= 1;
    } else if (_c == QMetaObject::ResetProperty) {
        _id -= 1;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 1;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 1;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 1;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 1;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 1;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

// SIGNAL 0
void PairsView::gameOver()
{
    QMetaObject::activate(this, &staticMetaObject, 0, 0);
}

// SIGNAL 1
void PairsView::currentPlayerChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 1, 0);
}
QT_END_MOC_NAMESPACE
