208 lines
8.8 KiB
C++
208 lines
8.8 KiB
C++
/****************************************************************************
|
|
** Meta object code from reading C++ file 'player.h'
|
|
**
|
|
** Created: Thu Jul 30 20:38:06 2009
|
|
** by: The Qt Meta Object Compiler version 61 (Qt 4.5.0)
|
|
**
|
|
** WARNING! All changes made in this file will be lost!
|
|
*****************************************************************************/
|
|
|
|
#include "../src/player.h"
|
|
#if !defined(Q_MOC_OUTPUT_REVISION)
|
|
#error "The header file 'player.h' doesn't include <QObject>."
|
|
#elif Q_MOC_OUTPUT_REVISION != 61
|
|
#error "This file was generated using the moc from 4.5.0. 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_Player[] = {
|
|
|
|
// content:
|
|
2, // revision
|
|
0, // classname
|
|
0, 0, // classinfo
|
|
18, 12, // methods
|
|
0, 0, // properties
|
|
0, 0, // enums/sets
|
|
0, 0, // constructors
|
|
|
|
// signals: signature, parameters, type, tag, flags
|
|
40, 8, 7, 7, 0x05,
|
|
83, 78, 7, 7, 0x05,
|
|
107, 102, 7, 7, 0x05,
|
|
159, 136, 7, 7, 0x05,
|
|
197, 195, 7, 7, 0x05,
|
|
262, 221, 7, 7, 0x05,
|
|
327, 307, 7, 7, 0x05,
|
|
394, 359, 7, 7, 0x05,
|
|
465, 438, 7, 7, 0x05,
|
|
538, 500, 7, 7, 0x05,
|
|
609, 577, 7, 7, 0x05,
|
|
|
|
// slots: signature, parameters, type, tag, flags
|
|
649, 7, 7, 7, 0x08,
|
|
675, 7, 7, 7, 0x08,
|
|
704, 7, 7, 7, 0x08,
|
|
721, 7, 7, 7, 0x08,
|
|
739, 7, 7, 7, 0x08,
|
|
758, 7, 7, 7, 0x08,
|
|
771, 7, 7, 7, 0x08,
|
|
|
|
0 // eod
|
|
};
|
|
|
|
static const char qt_meta_stringdata_Player[] = {
|
|
"Player\0\0cardId,startZone,targetZone,x,y\0"
|
|
"moveCard(int,QString,QString,int,int)\0"
|
|
"name\0hoverCard(QString)\0zone\0"
|
|
"closeZoneView(ZoneViewZone*)\0"
|
|
"player,zoneName,number\0"
|
|
"toggleZoneView(Player*,QString,int)\0"
|
|
"p\0sigShowCardMenu(QPoint)\0"
|
|
"playerName,cardName,startZone,targetZone\0"
|
|
"logMoveCard(QString,QString,QString,QString)\0"
|
|
"playerName,cardName\0logCreateToken(QString,QString)\0"
|
|
"playerName,cardName,value,oldValue\0"
|
|
"logSetCardCounters(QString,QString,int,int)\0"
|
|
"playerName,cardName,tapped\0"
|
|
"logSetTapped(QString,QString,bool)\0"
|
|
"playerName,counterName,value,oldValue\0"
|
|
"logSetCounter(QString,QString,int,int)\0"
|
|
"playerName,cardName,doesntUntap\0"
|
|
"logSetDoesntUntap(QString,QString,bool)\0"
|
|
"actMoveHandToTopLibrary()\0"
|
|
"actMoveHandToBottomLibrary()\0"
|
|
"actViewLibrary()\0actViewTopCards()\0"
|
|
"actViewGraveyard()\0actViewRfg()\0"
|
|
"actViewSideboard()\0"
|
|
};
|
|
|
|
const QMetaObject Player::staticMetaObject = {
|
|
{ &QObject::staticMetaObject, qt_meta_stringdata_Player,
|
|
qt_meta_data_Player, 0 }
|
|
};
|
|
|
|
const QMetaObject *Player::metaObject() const
|
|
{
|
|
return &staticMetaObject;
|
|
}
|
|
|
|
void *Player::qt_metacast(const char *_clname)
|
|
{
|
|
if (!_clname) return 0;
|
|
if (!strcmp(_clname, qt_meta_stringdata_Player))
|
|
return static_cast<void*>(const_cast< Player*>(this));
|
|
return QObject::qt_metacast(_clname);
|
|
}
|
|
|
|
int Player::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
|
{
|
|
_id = QObject::qt_metacall(_c, _id, _a);
|
|
if (_id < 0)
|
|
return _id;
|
|
if (_c == QMetaObject::InvokeMetaMethod) {
|
|
switch (_id) {
|
|
case 0: moveCard((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< QString(*)>(_a[2])),(*reinterpret_cast< QString(*)>(_a[3])),(*reinterpret_cast< int(*)>(_a[4])),(*reinterpret_cast< int(*)>(_a[5]))); break;
|
|
case 1: hoverCard((*reinterpret_cast< QString(*)>(_a[1]))); break;
|
|
case 2: closeZoneView((*reinterpret_cast< ZoneViewZone*(*)>(_a[1]))); break;
|
|
case 3: toggleZoneView((*reinterpret_cast< Player*(*)>(_a[1])),(*reinterpret_cast< QString(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break;
|
|
case 4: sigShowCardMenu((*reinterpret_cast< QPoint(*)>(_a[1]))); break;
|
|
case 5: logMoveCard((*reinterpret_cast< QString(*)>(_a[1])),(*reinterpret_cast< QString(*)>(_a[2])),(*reinterpret_cast< QString(*)>(_a[3])),(*reinterpret_cast< QString(*)>(_a[4]))); break;
|
|
case 6: logCreateToken((*reinterpret_cast< QString(*)>(_a[1])),(*reinterpret_cast< QString(*)>(_a[2]))); break;
|
|
case 7: logSetCardCounters((*reinterpret_cast< QString(*)>(_a[1])),(*reinterpret_cast< QString(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3])),(*reinterpret_cast< int(*)>(_a[4]))); break;
|
|
case 8: logSetTapped((*reinterpret_cast< QString(*)>(_a[1])),(*reinterpret_cast< QString(*)>(_a[2])),(*reinterpret_cast< bool(*)>(_a[3]))); break;
|
|
case 9: logSetCounter((*reinterpret_cast< QString(*)>(_a[1])),(*reinterpret_cast< QString(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3])),(*reinterpret_cast< int(*)>(_a[4]))); break;
|
|
case 10: logSetDoesntUntap((*reinterpret_cast< QString(*)>(_a[1])),(*reinterpret_cast< QString(*)>(_a[2])),(*reinterpret_cast< bool(*)>(_a[3]))); break;
|
|
case 11: actMoveHandToTopLibrary(); break;
|
|
case 12: actMoveHandToBottomLibrary(); break;
|
|
case 13: actViewLibrary(); break;
|
|
case 14: actViewTopCards(); break;
|
|
case 15: actViewGraveyard(); break;
|
|
case 16: actViewRfg(); break;
|
|
case 17: actViewSideboard(); break;
|
|
default: ;
|
|
}
|
|
_id -= 18;
|
|
}
|
|
return _id;
|
|
}
|
|
|
|
// SIGNAL 0
|
|
void Player::moveCard(int _t1, QString _t2, QString _t3, int _t4, int _t5)
|
|
{
|
|
void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)), const_cast<void*>(reinterpret_cast<const void*>(&_t3)), const_cast<void*>(reinterpret_cast<const void*>(&_t4)), const_cast<void*>(reinterpret_cast<const void*>(&_t5)) };
|
|
QMetaObject::activate(this, &staticMetaObject, 0, _a);
|
|
}
|
|
|
|
// SIGNAL 1
|
|
void Player::hoverCard(QString _t1)
|
|
{
|
|
void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
|
|
QMetaObject::activate(this, &staticMetaObject, 1, _a);
|
|
}
|
|
|
|
// SIGNAL 2
|
|
void Player::closeZoneView(ZoneViewZone * _t1)
|
|
{
|
|
void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
|
|
QMetaObject::activate(this, &staticMetaObject, 2, _a);
|
|
}
|
|
|
|
// SIGNAL 3
|
|
void Player::toggleZoneView(Player * _t1, QString _t2, int _t3)
|
|
{
|
|
void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)), const_cast<void*>(reinterpret_cast<const void*>(&_t3)) };
|
|
QMetaObject::activate(this, &staticMetaObject, 3, _a);
|
|
}
|
|
|
|
// SIGNAL 4
|
|
void Player::sigShowCardMenu(QPoint _t1)
|
|
{
|
|
void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
|
|
QMetaObject::activate(this, &staticMetaObject, 4, _a);
|
|
}
|
|
|
|
// SIGNAL 5
|
|
void Player::logMoveCard(QString _t1, QString _t2, QString _t3, QString _t4)
|
|
{
|
|
void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)), const_cast<void*>(reinterpret_cast<const void*>(&_t3)), const_cast<void*>(reinterpret_cast<const void*>(&_t4)) };
|
|
QMetaObject::activate(this, &staticMetaObject, 5, _a);
|
|
}
|
|
|
|
// SIGNAL 6
|
|
void Player::logCreateToken(QString _t1, QString _t2)
|
|
{
|
|
void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
|
|
QMetaObject::activate(this, &staticMetaObject, 6, _a);
|
|
}
|
|
|
|
// SIGNAL 7
|
|
void Player::logSetCardCounters(QString _t1, QString _t2, int _t3, int _t4)
|
|
{
|
|
void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)), const_cast<void*>(reinterpret_cast<const void*>(&_t3)), const_cast<void*>(reinterpret_cast<const void*>(&_t4)) };
|
|
QMetaObject::activate(this, &staticMetaObject, 7, _a);
|
|
}
|
|
|
|
// SIGNAL 8
|
|
void Player::logSetTapped(QString _t1, QString _t2, bool _t3)
|
|
{
|
|
void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)), const_cast<void*>(reinterpret_cast<const void*>(&_t3)) };
|
|
QMetaObject::activate(this, &staticMetaObject, 8, _a);
|
|
}
|
|
|
|
// SIGNAL 9
|
|
void Player::logSetCounter(QString _t1, QString _t2, int _t3, int _t4)
|
|
{
|
|
void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)), const_cast<void*>(reinterpret_cast<const void*>(&_t3)), const_cast<void*>(reinterpret_cast<const void*>(&_t4)) };
|
|
QMetaObject::activate(this, &staticMetaObject, 9, _a);
|
|
}
|
|
|
|
// SIGNAL 10
|
|
void Player::logSetDoesntUntap(QString _t1, QString _t2, bool _t3)
|
|
{
|
|
void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)), const_cast<void*>(reinterpret_cast<const void*>(&_t3)) };
|
|
QMetaObject::activate(this, &staticMetaObject, 10, _a);
|
|
}
|
|
QT_END_MOC_NAMESPACE
|