mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-02 03:23:56 -07:00
marcus branch...
This commit is contained in:
parent
926f1560a6
commit
71ddde87e2
98 changed files with 107901 additions and 0 deletions
BIN
cockatrice/build/abstractgraphicsitem.o
Normal file
BIN
cockatrice/build/abstractgraphicsitem.o
Normal file
Binary file not shown.
BIN
cockatrice/build/carddatabase-qdeveloptmp.o
Normal file
BIN
cockatrice/build/carddatabase-qdeveloptmp.o
Normal file
Binary file not shown.
BIN
cockatrice/build/carddatabase.o
Normal file
BIN
cockatrice/build/carddatabase.o
Normal file
Binary file not shown.
BIN
cockatrice/build/carddatabasemodel.o
Normal file
BIN
cockatrice/build/carddatabasemodel.o
Normal file
Binary file not shown.
BIN
cockatrice/build/carddragitem.o
Normal file
BIN
cockatrice/build/carddragitem.o
Normal file
Binary file not shown.
BIN
cockatrice/build/cardinfowidget.o
Normal file
BIN
cockatrice/build/cardinfowidget.o
Normal file
Binary file not shown.
BIN
cockatrice/build/carditem-qdeveloptmp.o
Normal file
BIN
cockatrice/build/carditem-qdeveloptmp.o
Normal file
Binary file not shown.
BIN
cockatrice/build/carditem.o
Normal file
BIN
cockatrice/build/carditem.o
Normal file
Binary file not shown.
BIN
cockatrice/build/cardlist.o
Normal file
BIN
cockatrice/build/cardlist.o
Normal file
Binary file not shown.
BIN
cockatrice/build/cardzone.o
Normal file
BIN
cockatrice/build/cardzone.o
Normal file
Binary file not shown.
BIN
cockatrice/build/client.o
Normal file
BIN
cockatrice/build/client.o
Normal file
Binary file not shown.
BIN
cockatrice/build/counter.o
Normal file
BIN
cockatrice/build/counter.o
Normal file
Binary file not shown.
BIN
cockatrice/build/decklist.o
Normal file
BIN
cockatrice/build/decklist.o
Normal file
Binary file not shown.
BIN
cockatrice/build/decklistmodel.o
Normal file
BIN
cockatrice/build/decklistmodel.o
Normal file
Binary file not shown.
BIN
cockatrice/build/dlg_connect.o
Normal file
BIN
cockatrice/build/dlg_connect.o
Normal file
Binary file not shown.
BIN
cockatrice/build/dlg_creategame.o
Normal file
BIN
cockatrice/build/dlg_creategame.o
Normal file
Binary file not shown.
BIN
cockatrice/build/dlg_settings-qdeveloptmp.o
Normal file
BIN
cockatrice/build/dlg_settings-qdeveloptmp.o
Normal file
Binary file not shown.
BIN
cockatrice/build/dlg_settings.o
Normal file
BIN
cockatrice/build/dlg_settings.o
Normal file
Binary file not shown.
BIN
cockatrice/build/dlg_startgame-qdeveloptmp.o
Normal file
BIN
cockatrice/build/dlg_startgame-qdeveloptmp.o
Normal file
Binary file not shown.
BIN
cockatrice/build/dlg_startgame.o
Normal file
BIN
cockatrice/build/dlg_startgame.o
Normal file
Binary file not shown.
BIN
cockatrice/build/game.o
Normal file
BIN
cockatrice/build/game.o
Normal file
Binary file not shown.
BIN
cockatrice/build/gameselector.o
Normal file
BIN
cockatrice/build/gameselector.o
Normal file
Binary file not shown.
BIN
cockatrice/build/gamesmodel.o
Normal file
BIN
cockatrice/build/gamesmodel.o
Normal file
Binary file not shown.
BIN
cockatrice/build/gameview.o
Normal file
BIN
cockatrice/build/gameview.o
Normal file
Binary file not shown.
BIN
cockatrice/build/handzone.o
Normal file
BIN
cockatrice/build/handzone.o
Normal file
Binary file not shown.
BIN
cockatrice/build/libraryzone.o
Normal file
BIN
cockatrice/build/libraryzone.o
Normal file
Binary file not shown.
BIN
cockatrice/build/main-qdeveloptmp.o
Normal file
BIN
cockatrice/build/main-qdeveloptmp.o
Normal file
Binary file not shown.
BIN
cockatrice/build/main.o
Normal file
BIN
cockatrice/build/main.o
Normal file
Binary file not shown.
BIN
cockatrice/build/messagelogwidget.o
Normal file
BIN
cockatrice/build/messagelogwidget.o
Normal file
Binary file not shown.
81
cockatrice/build/moc_carddatabase.cpp
Normal file
81
cockatrice/build/moc_carddatabase.cpp
Normal file
|
|
@ -0,0 +1,81 @@
|
|||
/****************************************************************************
|
||||
** Meta object code from reading C++ file 'carddatabase.h'
|
||||
**
|
||||
** Created: Thu Jul 30 20:38:09 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/carddatabase.h"
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'carddatabase.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_CardDatabase[] = {
|
||||
|
||||
// content:
|
||||
2, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
4, 12, // methods
|
||||
0, 0, // properties
|
||||
0, 0, // enums/sets
|
||||
0, 0, // constructors
|
||||
|
||||
// slots: signature, parameters, type, tag, flags
|
||||
19, 14, 13, 13, 0x0a,
|
||||
43, 13, 13, 13, 0x2a,
|
||||
60, 14, 13, 13, 0x0a,
|
||||
88, 13, 13, 13, 0x2a,
|
||||
|
||||
0 // eod
|
||||
};
|
||||
|
||||
static const char qt_meta_stringdata_CardDatabase[] = {
|
||||
"CardDatabase\0\0path\0updatePicsPath(QString)\0"
|
||||
"updatePicsPath()\0updateDatabasePath(QString)\0"
|
||||
"updateDatabasePath()\0"
|
||||
};
|
||||
|
||||
const QMetaObject CardDatabase::staticMetaObject = {
|
||||
{ &QObject::staticMetaObject, qt_meta_stringdata_CardDatabase,
|
||||
qt_meta_data_CardDatabase, 0 }
|
||||
};
|
||||
|
||||
const QMetaObject *CardDatabase::metaObject() const
|
||||
{
|
||||
return &staticMetaObject;
|
||||
}
|
||||
|
||||
void *CardDatabase::qt_metacast(const char *_clname)
|
||||
{
|
||||
if (!_clname) return 0;
|
||||
if (!strcmp(_clname, qt_meta_stringdata_CardDatabase))
|
||||
return static_cast<void*>(const_cast< CardDatabase*>(this));
|
||||
return QObject::qt_metacast(_clname);
|
||||
}
|
||||
|
||||
int CardDatabase::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: updatePicsPath((*reinterpret_cast< const QString(*)>(_a[1]))); break;
|
||||
case 1: updatePicsPath(); break;
|
||||
case 2: updateDatabasePath((*reinterpret_cast< const QString(*)>(_a[1]))); break;
|
||||
case 3: updateDatabasePath(); break;
|
||||
default: ;
|
||||
}
|
||||
_id -= 4;
|
||||
}
|
||||
return _id;
|
||||
}
|
||||
QT_END_MOC_NAMESPACE
|
||||
BIN
cockatrice/build/moc_carddatabase.o
Normal file
BIN
cockatrice/build/moc_carddatabase.o
Normal file
Binary file not shown.
63
cockatrice/build/moc_carddatabasemodel.cpp
Normal file
63
cockatrice/build/moc_carddatabasemodel.cpp
Normal file
|
|
@ -0,0 +1,63 @@
|
|||
/****************************************************************************
|
||||
** Meta object code from reading C++ file 'carddatabasemodel.h'
|
||||
**
|
||||
** Created: Thu Jul 30 20:38:15 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/carddatabasemodel.h"
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'carddatabasemodel.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_CardDatabaseModel[] = {
|
||||
|
||||
// content:
|
||||
2, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
0, 0, // methods
|
||||
0, 0, // properties
|
||||
0, 0, // enums/sets
|
||||
0, 0, // constructors
|
||||
|
||||
0 // eod
|
||||
};
|
||||
|
||||
static const char qt_meta_stringdata_CardDatabaseModel[] = {
|
||||
"CardDatabaseModel\0"
|
||||
};
|
||||
|
||||
const QMetaObject CardDatabaseModel::staticMetaObject = {
|
||||
{ &QAbstractListModel::staticMetaObject, qt_meta_stringdata_CardDatabaseModel,
|
||||
qt_meta_data_CardDatabaseModel, 0 }
|
||||
};
|
||||
|
||||
const QMetaObject *CardDatabaseModel::metaObject() const
|
||||
{
|
||||
return &staticMetaObject;
|
||||
}
|
||||
|
||||
void *CardDatabaseModel::qt_metacast(const char *_clname)
|
||||
{
|
||||
if (!_clname) return 0;
|
||||
if (!strcmp(_clname, qt_meta_stringdata_CardDatabaseModel))
|
||||
return static_cast<void*>(const_cast< CardDatabaseModel*>(this));
|
||||
return QAbstractListModel::qt_metacast(_clname);
|
||||
}
|
||||
|
||||
int CardDatabaseModel::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
_id = QAbstractListModel::qt_metacall(_c, _id, _a);
|
||||
if (_id < 0)
|
||||
return _id;
|
||||
return _id;
|
||||
}
|
||||
QT_END_MOC_NAMESPACE
|
||||
BIN
cockatrice/build/moc_carddatabasemodel.o
Normal file
BIN
cockatrice/build/moc_carddatabasemodel.o
Normal file
Binary file not shown.
76
cockatrice/build/moc_cardinfowidget.cpp
Normal file
76
cockatrice/build/moc_cardinfowidget.cpp
Normal file
|
|
@ -0,0 +1,76 @@
|
|||
/****************************************************************************
|
||||
** Meta object code from reading C++ file 'cardinfowidget.h'
|
||||
**
|
||||
** Created: Thu Jul 30 20:38:11 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/cardinfowidget.h"
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'cardinfowidget.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_CardInfoWidget[] = {
|
||||
|
||||
// content:
|
||||
2, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
2, 12, // methods
|
||||
0, 0, // properties
|
||||
0, 0, // enums/sets
|
||||
0, 0, // constructors
|
||||
|
||||
// slots: signature, parameters, type, tag, flags
|
||||
21, 16, 15, 15, 0x0a,
|
||||
49, 40, 15, 15, 0x0a,
|
||||
|
||||
0 // eod
|
||||
};
|
||||
|
||||
static const char qt_meta_stringdata_CardInfoWidget[] = {
|
||||
"CardInfoWidget\0\0card\0setCard(CardInfo*)\0"
|
||||
"cardName\0setCard(QString)\0"
|
||||
};
|
||||
|
||||
const QMetaObject CardInfoWidget::staticMetaObject = {
|
||||
{ &QFrame::staticMetaObject, qt_meta_stringdata_CardInfoWidget,
|
||||
qt_meta_data_CardInfoWidget, 0 }
|
||||
};
|
||||
|
||||
const QMetaObject *CardInfoWidget::metaObject() const
|
||||
{
|
||||
return &staticMetaObject;
|
||||
}
|
||||
|
||||
void *CardInfoWidget::qt_metacast(const char *_clname)
|
||||
{
|
||||
if (!_clname) return 0;
|
||||
if (!strcmp(_clname, qt_meta_stringdata_CardInfoWidget))
|
||||
return static_cast<void*>(const_cast< CardInfoWidget*>(this));
|
||||
return QFrame::qt_metacast(_clname);
|
||||
}
|
||||
|
||||
int CardInfoWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
_id = QFrame::qt_metacall(_c, _id, _a);
|
||||
if (_id < 0)
|
||||
return _id;
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
switch (_id) {
|
||||
case 0: setCard((*reinterpret_cast< CardInfo*(*)>(_a[1]))); break;
|
||||
case 1: setCard((*reinterpret_cast< const QString(*)>(_a[1]))); break;
|
||||
default: ;
|
||||
}
|
||||
_id -= 2;
|
||||
}
|
||||
return _id;
|
||||
}
|
||||
QT_END_MOC_NAMESPACE
|
||||
BIN
cockatrice/build/moc_cardinfowidget.o
Normal file
BIN
cockatrice/build/moc_cardinfowidget.o
Normal file
Binary file not shown.
288
cockatrice/build/moc_client.cpp
Normal file
288
cockatrice/build/moc_client.cpp
Normal file
|
|
@ -0,0 +1,288 @@
|
|||
/****************************************************************************
|
||||
** Meta object code from reading C++ file 'client.h'
|
||||
**
|
||||
** Created: Thu Jul 30 20:38:04 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/client.h"
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'client.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_PendingCommand[] = {
|
||||
|
||||
// content:
|
||||
2, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
3, 12, // methods
|
||||
0, 0, // properties
|
||||
0, 0, // enums/sets
|
||||
0, 0, // constructors
|
||||
|
||||
// signals: signature, parameters, type, tag, flags
|
||||
21, 16, 15, 15, 0x05,
|
||||
|
||||
// slots: signature, parameters, type, tag, flags
|
||||
59, 46, 15, 15, 0x0a,
|
||||
96, 15, 15, 15, 0x0a,
|
||||
|
||||
0 // eod
|
||||
};
|
||||
|
||||
static const char qt_meta_stringdata_PendingCommand[] = {
|
||||
"PendingCommand\0\0resp\0finished(ServerResponse)\0"
|
||||
"_msgid,_resp\0responseReceived(int,ServerResponse)\0"
|
||||
"checkTimeout()\0"
|
||||
};
|
||||
|
||||
const QMetaObject PendingCommand::staticMetaObject = {
|
||||
{ &QObject::staticMetaObject, qt_meta_stringdata_PendingCommand,
|
||||
qt_meta_data_PendingCommand, 0 }
|
||||
};
|
||||
|
||||
const QMetaObject *PendingCommand::metaObject() const
|
||||
{
|
||||
return &staticMetaObject;
|
||||
}
|
||||
|
||||
void *PendingCommand::qt_metacast(const char *_clname)
|
||||
{
|
||||
if (!_clname) return 0;
|
||||
if (!strcmp(_clname, qt_meta_stringdata_PendingCommand))
|
||||
return static_cast<void*>(const_cast< PendingCommand*>(this));
|
||||
return QObject::qt_metacast(_clname);
|
||||
}
|
||||
|
||||
int PendingCommand::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: finished((*reinterpret_cast< ServerResponse(*)>(_a[1]))); break;
|
||||
case 1: responseReceived((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< ServerResponse(*)>(_a[2]))); break;
|
||||
case 2: checkTimeout(); break;
|
||||
default: ;
|
||||
}
|
||||
_id -= 3;
|
||||
}
|
||||
return _id;
|
||||
}
|
||||
|
||||
// SIGNAL 0
|
||||
void PendingCommand::finished(ServerResponse _t1)
|
||||
{
|
||||
void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 0, _a);
|
||||
}
|
||||
static const uint qt_meta_data_Client[] = {
|
||||
|
||||
// content:
|
||||
2, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
22, 12, // methods
|
||||
0, 0, // properties
|
||||
0, 0, // enums/sets
|
||||
0, 0, // constructors
|
||||
|
||||
// signals: signature, parameters, type, tag, flags
|
||||
16, 8, 7, 7, 0x05,
|
||||
57, 46, 7, 7, 0x05,
|
||||
94, 89, 7, 7, 0x05,
|
||||
129, 121, 7, 7, 0x05,
|
||||
186, 170, 7, 7, 0x05,
|
||||
243, 227, 7, 7, 0x05,
|
||||
299, 288, 7, 7, 0x05,
|
||||
344, 336, 7, 7, 0x05,
|
||||
378, 374, 7, 7, 0x05,
|
||||
405, 7, 7, 7, 0x05,
|
||||
433, 421, 7, 7, 0x05,
|
||||
462, 457, 7, 7, 0x05,
|
||||
|
||||
// slots: signature, parameters, type, tag, flags
|
||||
490, 7, 7, 7, 0x08,
|
||||
506, 7, 7, 7, 0x08,
|
||||
517, 7, 7, 7, 0x08,
|
||||
533, 527, 7, 7, 0x08,
|
||||
579, 7, 7, 7, 0x08,
|
||||
586, 7, 7, 7, 0x08,
|
||||
618, 609, 7, 7, 0x08,
|
||||
648, 609, 7, 7, 0x08,
|
||||
682, 609, 7, 7, 0x08,
|
||||
721, 716, 7, 7, 0x0a,
|
||||
|
||||
0 // eod
|
||||
};
|
||||
|
||||
static const char qt_meta_stringdata_Client[] = {
|
||||
"Client\0\0_status\0statusChanged(ProtocolStatus)\0"
|
||||
"welcomeMsg\0welcomeMsgReceived(QStringList)\0"
|
||||
"game\0gameListEvent(ServerGame*)\0players\0"
|
||||
"playerListReceived(QList<ServerPlayer*>)\0"
|
||||
"commandId,zones\0"
|
||||
"zoneListReceived(int,QList<ServerZone*>)\0"
|
||||
"commandId,cards\0"
|
||||
"zoneDumpReceived(int,QList<ServerZoneCard*>)\0"
|
||||
"msgid,resp\0responseReceived(int,ServerResponse)\0"
|
||||
"id,name\0playerIdReceived(int,QString)\0"
|
||||
"msg\0gameEvent(ServerEventData)\0"
|
||||
"serverTimeout()\0errorString\0"
|
||||
"logSocketError(QString)\0resp\0"
|
||||
"serverError(ServerResponse)\0slotConnected()\0"
|
||||
"readLine()\0timeout()\0error\0"
|
||||
"slotSocketError(QAbstractSocket::SocketError)\0"
|
||||
"ping()\0removePendingCommand()\0response\0"
|
||||
"loginResponse(ServerResponse)\0"
|
||||
"enterGameResponse(ServerResponse)\0"
|
||||
"leaveGameResponse(ServerResponse)\0"
|
||||
"deck\0submitDeck(QStringList)\0"
|
||||
};
|
||||
|
||||
const QMetaObject Client::staticMetaObject = {
|
||||
{ &QObject::staticMetaObject, qt_meta_stringdata_Client,
|
||||
qt_meta_data_Client, 0 }
|
||||
};
|
||||
|
||||
const QMetaObject *Client::metaObject() const
|
||||
{
|
||||
return &staticMetaObject;
|
||||
}
|
||||
|
||||
void *Client::qt_metacast(const char *_clname)
|
||||
{
|
||||
if (!_clname) return 0;
|
||||
if (!strcmp(_clname, qt_meta_stringdata_Client))
|
||||
return static_cast<void*>(const_cast< Client*>(this));
|
||||
return QObject::qt_metacast(_clname);
|
||||
}
|
||||
|
||||
int Client::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: statusChanged((*reinterpret_cast< ProtocolStatus(*)>(_a[1]))); break;
|
||||
case 1: welcomeMsgReceived((*reinterpret_cast< QStringList(*)>(_a[1]))); break;
|
||||
case 2: gameListEvent((*reinterpret_cast< ServerGame*(*)>(_a[1]))); break;
|
||||
case 3: playerListReceived((*reinterpret_cast< QList<ServerPlayer*>(*)>(_a[1]))); break;
|
||||
case 4: zoneListReceived((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< QList<ServerZone*>(*)>(_a[2]))); break;
|
||||
case 5: zoneDumpReceived((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< QList<ServerZoneCard*>(*)>(_a[2]))); break;
|
||||
case 6: responseReceived((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< ServerResponse(*)>(_a[2]))); break;
|
||||
case 7: playerIdReceived((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< QString(*)>(_a[2]))); break;
|
||||
case 8: gameEvent((*reinterpret_cast< const ServerEventData(*)>(_a[1]))); break;
|
||||
case 9: serverTimeout(); break;
|
||||
case 10: logSocketError((*reinterpret_cast< const QString(*)>(_a[1]))); break;
|
||||
case 11: serverError((*reinterpret_cast< ServerResponse(*)>(_a[1]))); break;
|
||||
case 12: slotConnected(); break;
|
||||
case 13: readLine(); break;
|
||||
case 14: timeout(); break;
|
||||
case 15: slotSocketError((*reinterpret_cast< QAbstractSocket::SocketError(*)>(_a[1]))); break;
|
||||
case 16: ping(); break;
|
||||
case 17: removePendingCommand(); break;
|
||||
case 18: loginResponse((*reinterpret_cast< ServerResponse(*)>(_a[1]))); break;
|
||||
case 19: enterGameResponse((*reinterpret_cast< ServerResponse(*)>(_a[1]))); break;
|
||||
case 20: leaveGameResponse((*reinterpret_cast< ServerResponse(*)>(_a[1]))); break;
|
||||
case 21: submitDeck((*reinterpret_cast< const QStringList(*)>(_a[1]))); break;
|
||||
default: ;
|
||||
}
|
||||
_id -= 22;
|
||||
}
|
||||
return _id;
|
||||
}
|
||||
|
||||
// SIGNAL 0
|
||||
void Client::statusChanged(ProtocolStatus _t1)
|
||||
{
|
||||
void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 0, _a);
|
||||
}
|
||||
|
||||
// SIGNAL 1
|
||||
void Client::welcomeMsgReceived(QStringList _t1)
|
||||
{
|
||||
void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 1, _a);
|
||||
}
|
||||
|
||||
// SIGNAL 2
|
||||
void Client::gameListEvent(ServerGame * _t1)
|
||||
{
|
||||
void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 2, _a);
|
||||
}
|
||||
|
||||
// SIGNAL 3
|
||||
void Client::playerListReceived(QList<ServerPlayer*> _t1)
|
||||
{
|
||||
void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 3, _a);
|
||||
}
|
||||
|
||||
// SIGNAL 4
|
||||
void Client::zoneListReceived(int _t1, QList<ServerZone*> _t2)
|
||||
{
|
||||
void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 4, _a);
|
||||
}
|
||||
|
||||
// SIGNAL 5
|
||||
void Client::zoneDumpReceived(int _t1, QList<ServerZoneCard*> _t2)
|
||||
{
|
||||
void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 5, _a);
|
||||
}
|
||||
|
||||
// SIGNAL 6
|
||||
void Client::responseReceived(int _t1, ServerResponse _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 Client::playerIdReceived(int _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, 7, _a);
|
||||
}
|
||||
|
||||
// SIGNAL 8
|
||||
void Client::gameEvent(const ServerEventData & _t1)
|
||||
{
|
||||
void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 8, _a);
|
||||
}
|
||||
|
||||
// SIGNAL 9
|
||||
void Client::serverTimeout()
|
||||
{
|
||||
QMetaObject::activate(this, &staticMetaObject, 9, 0);
|
||||
}
|
||||
|
||||
// SIGNAL 10
|
||||
void Client::logSocketError(const QString & _t1)
|
||||
{
|
||||
void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 10, _a);
|
||||
}
|
||||
|
||||
// SIGNAL 11
|
||||
void Client::serverError(ServerResponse _t1)
|
||||
{
|
||||
void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 11, _a);
|
||||
}
|
||||
QT_END_MOC_NAMESPACE
|
||||
BIN
cockatrice/build/moc_client.o
Normal file
BIN
cockatrice/build/moc_client.o
Normal file
Binary file not shown.
91
cockatrice/build/moc_decklist.cpp
Normal file
91
cockatrice/build/moc_decklist.cpp
Normal file
|
|
@ -0,0 +1,91 @@
|
|||
/****************************************************************************
|
||||
** Meta object code from reading C++ file 'decklist.h'
|
||||
**
|
||||
** Created: Thu Jul 30 20:38:17 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/decklist.h"
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'decklist.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_DeckList[] = {
|
||||
|
||||
// content:
|
||||
2, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
5, 12, // methods
|
||||
0, 0, // properties
|
||||
0, 0, // enums/sets
|
||||
0, 0, // constructors
|
||||
|
||||
// signals: signature, parameters, type, tag, flags
|
||||
10, 9, 9, 9, 0x05,
|
||||
|
||||
// slots: signature, parameters, type, tag, flags
|
||||
29, 23, 9, 9, 0x0a,
|
||||
46, 9, 9, 9, 0x2a,
|
||||
66, 56, 9, 9, 0x0a,
|
||||
87, 9, 9, 9, 0x2a,
|
||||
|
||||
0 // eod
|
||||
};
|
||||
|
||||
static const char qt_meta_stringdata_DeckList[] = {
|
||||
"DeckList\0\0deckLoaded()\0_name\0"
|
||||
"setName(QString)\0setName()\0_comments\0"
|
||||
"setComments(QString)\0setComments()\0"
|
||||
};
|
||||
|
||||
const QMetaObject DeckList::staticMetaObject = {
|
||||
{ &QObject::staticMetaObject, qt_meta_stringdata_DeckList,
|
||||
qt_meta_data_DeckList, 0 }
|
||||
};
|
||||
|
||||
const QMetaObject *DeckList::metaObject() const
|
||||
{
|
||||
return &staticMetaObject;
|
||||
}
|
||||
|
||||
void *DeckList::qt_metacast(const char *_clname)
|
||||
{
|
||||
if (!_clname) return 0;
|
||||
if (!strcmp(_clname, qt_meta_stringdata_DeckList))
|
||||
return static_cast<void*>(const_cast< DeckList*>(this));
|
||||
return QObject::qt_metacast(_clname);
|
||||
}
|
||||
|
||||
int DeckList::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: deckLoaded(); break;
|
||||
case 1: setName((*reinterpret_cast< const QString(*)>(_a[1]))); break;
|
||||
case 2: setName(); break;
|
||||
case 3: setComments((*reinterpret_cast< const QString(*)>(_a[1]))); break;
|
||||
case 4: setComments(); break;
|
||||
default: ;
|
||||
}
|
||||
_id -= 5;
|
||||
}
|
||||
return _id;
|
||||
}
|
||||
|
||||
// SIGNAL 0
|
||||
void DeckList::deckLoaded()
|
||||
{
|
||||
QMetaObject::activate(this, &staticMetaObject, 0, 0);
|
||||
}
|
||||
QT_END_MOC_NAMESPACE
|
||||
BIN
cockatrice/build/moc_decklist.o
Normal file
BIN
cockatrice/build/moc_decklist.o
Normal file
Binary file not shown.
76
cockatrice/build/moc_decklistmodel.cpp
Normal file
76
cockatrice/build/moc_decklistmodel.cpp
Normal file
|
|
@ -0,0 +1,76 @@
|
|||
/****************************************************************************
|
||||
** Meta object code from reading C++ file 'decklistmodel.h'
|
||||
**
|
||||
** Created: Thu Jul 30 20:38:10 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/decklistmodel.h"
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'decklistmodel.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_DeckListModel[] = {
|
||||
|
||||
// content:
|
||||
2, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
2, 12, // methods
|
||||
0, 0, // properties
|
||||
0, 0, // enums/sets
|
||||
0, 0, // constructors
|
||||
|
||||
// slots: signature, parameters, type, tag, flags
|
||||
15, 14, 14, 14, 0x08,
|
||||
37, 29, 14, 14, 0x0a,
|
||||
|
||||
0 // eod
|
||||
};
|
||||
|
||||
static const char qt_meta_stringdata_DeckListModel[] = {
|
||||
"DeckListModel\0\0rebuildTree()\0printer\0"
|
||||
"printDeckList(QPrinter*)\0"
|
||||
};
|
||||
|
||||
const QMetaObject DeckListModel::staticMetaObject = {
|
||||
{ &QAbstractItemModel::staticMetaObject, qt_meta_stringdata_DeckListModel,
|
||||
qt_meta_data_DeckListModel, 0 }
|
||||
};
|
||||
|
||||
const QMetaObject *DeckListModel::metaObject() const
|
||||
{
|
||||
return &staticMetaObject;
|
||||
}
|
||||
|
||||
void *DeckListModel::qt_metacast(const char *_clname)
|
||||
{
|
||||
if (!_clname) return 0;
|
||||
if (!strcmp(_clname, qt_meta_stringdata_DeckListModel))
|
||||
return static_cast<void*>(const_cast< DeckListModel*>(this));
|
||||
return QAbstractItemModel::qt_metacast(_clname);
|
||||
}
|
||||
|
||||
int DeckListModel::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
_id = QAbstractItemModel::qt_metacall(_c, _id, _a);
|
||||
if (_id < 0)
|
||||
return _id;
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
switch (_id) {
|
||||
case 0: rebuildTree(); break;
|
||||
case 1: printDeckList((*reinterpret_cast< QPrinter*(*)>(_a[1]))); break;
|
||||
default: ;
|
||||
}
|
||||
_id -= 2;
|
||||
}
|
||||
return _id;
|
||||
}
|
||||
QT_END_MOC_NAMESPACE
|
||||
BIN
cockatrice/build/moc_decklistmodel.o
Normal file
BIN
cockatrice/build/moc_decklistmodel.o
Normal file
Binary file not shown.
73
cockatrice/build/moc_dlg_connect.cpp
Normal file
73
cockatrice/build/moc_dlg_connect.cpp
Normal file
|
|
@ -0,0 +1,73 @@
|
|||
/****************************************************************************
|
||||
** Meta object code from reading C++ file 'dlg_connect.h'
|
||||
**
|
||||
** Created: Thu Jul 30 20:38:02 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/dlg_connect.h"
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'dlg_connect.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_DlgConnect[] = {
|
||||
|
||||
// content:
|
||||
2, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
1, 12, // methods
|
||||
0, 0, // properties
|
||||
0, 0, // enums/sets
|
||||
0, 0, // constructors
|
||||
|
||||
// slots: signature, parameters, type, tag, flags
|
||||
12, 11, 11, 11, 0x08,
|
||||
|
||||
0 // eod
|
||||
};
|
||||
|
||||
static const char qt_meta_stringdata_DlgConnect[] = {
|
||||
"DlgConnect\0\0actOk()\0"
|
||||
};
|
||||
|
||||
const QMetaObject DlgConnect::staticMetaObject = {
|
||||
{ &QDialog::staticMetaObject, qt_meta_stringdata_DlgConnect,
|
||||
qt_meta_data_DlgConnect, 0 }
|
||||
};
|
||||
|
||||
const QMetaObject *DlgConnect::metaObject() const
|
||||
{
|
||||
return &staticMetaObject;
|
||||
}
|
||||
|
||||
void *DlgConnect::qt_metacast(const char *_clname)
|
||||
{
|
||||
if (!_clname) return 0;
|
||||
if (!strcmp(_clname, qt_meta_stringdata_DlgConnect))
|
||||
return static_cast<void*>(const_cast< DlgConnect*>(this));
|
||||
return QDialog::qt_metacast(_clname);
|
||||
}
|
||||
|
||||
int DlgConnect::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
_id = QDialog::qt_metacall(_c, _id, _a);
|
||||
if (_id < 0)
|
||||
return _id;
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
switch (_id) {
|
||||
case 0: actOk(); break;
|
||||
default: ;
|
||||
}
|
||||
_id -= 1;
|
||||
}
|
||||
return _id;
|
||||
}
|
||||
QT_END_MOC_NAMESPACE
|
||||
BIN
cockatrice/build/moc_dlg_connect.o
Normal file
BIN
cockatrice/build/moc_dlg_connect.o
Normal file
Binary file not shown.
76
cockatrice/build/moc_dlg_creategame.cpp
Normal file
76
cockatrice/build/moc_dlg_creategame.cpp
Normal file
|
|
@ -0,0 +1,76 @@
|
|||
/****************************************************************************
|
||||
** Meta object code from reading C++ file 'dlg_creategame.h'
|
||||
**
|
||||
** Created: Thu Jul 30 20:38:01 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/dlg_creategame.h"
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'dlg_creategame.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_DlgCreateGame[] = {
|
||||
|
||||
// content:
|
||||
2, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
2, 12, // methods
|
||||
0, 0, // properties
|
||||
0, 0, // enums/sets
|
||||
0, 0, // constructors
|
||||
|
||||
// slots: signature, parameters, type, tag, flags
|
||||
15, 14, 14, 14, 0x08,
|
||||
32, 23, 14, 14, 0x08,
|
||||
|
||||
0 // eod
|
||||
};
|
||||
|
||||
static const char qt_meta_stringdata_DlgCreateGame[] = {
|
||||
"DlgCreateGame\0\0actOK()\0response\0"
|
||||
"checkResponse(ServerResponse)\0"
|
||||
};
|
||||
|
||||
const QMetaObject DlgCreateGame::staticMetaObject = {
|
||||
{ &QDialog::staticMetaObject, qt_meta_stringdata_DlgCreateGame,
|
||||
qt_meta_data_DlgCreateGame, 0 }
|
||||
};
|
||||
|
||||
const QMetaObject *DlgCreateGame::metaObject() const
|
||||
{
|
||||
return &staticMetaObject;
|
||||
}
|
||||
|
||||
void *DlgCreateGame::qt_metacast(const char *_clname)
|
||||
{
|
||||
if (!_clname) return 0;
|
||||
if (!strcmp(_clname, qt_meta_stringdata_DlgCreateGame))
|
||||
return static_cast<void*>(const_cast< DlgCreateGame*>(this));
|
||||
return QDialog::qt_metacast(_clname);
|
||||
}
|
||||
|
||||
int DlgCreateGame::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
_id = QDialog::qt_metacall(_c, _id, _a);
|
||||
if (_id < 0)
|
||||
return _id;
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
switch (_id) {
|
||||
case 0: actOK(); break;
|
||||
case 1: checkResponse((*reinterpret_cast< ServerResponse(*)>(_a[1]))); break;
|
||||
default: ;
|
||||
}
|
||||
_id -= 2;
|
||||
}
|
||||
return _id;
|
||||
}
|
||||
QT_END_MOC_NAMESPACE
|
||||
BIN
cockatrice/build/moc_dlg_creategame.o
Normal file
BIN
cockatrice/build/moc_dlg_creategame.o
Normal file
Binary file not shown.
283
cockatrice/build/moc_dlg_settings.cpp
Normal file
283
cockatrice/build/moc_dlg_settings.cpp
Normal file
|
|
@ -0,0 +1,283 @@
|
|||
/****************************************************************************
|
||||
** Meta object code from reading C++ file 'dlg_settings.h'
|
||||
**
|
||||
** Created: Fri Jul 31 01:27:03 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/dlg_settings.h"
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'dlg_settings.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_GeneralSettingsPage[] = {
|
||||
|
||||
// content:
|
||||
2, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
9, 12, // methods
|
||||
0, 0, // properties
|
||||
0, 0, // enums/sets
|
||||
0, 0, // constructors
|
||||
|
||||
// signals: signature, parameters, type, tag, flags
|
||||
26, 21, 20, 20, 0x05,
|
||||
51, 21, 20, 20, 0x05,
|
||||
84, 21, 20, 20, 0x05,
|
||||
126, 119, 20, 20, 0x05,
|
||||
|
||||
// slots: signature, parameters, type, tag, flags
|
||||
150, 20, 20, 20, 0x08,
|
||||
174, 20, 20, 20, 0x08,
|
||||
198, 20, 20, 20, 0x08,
|
||||
230, 20, 20, 20, 0x08,
|
||||
270, 264, 20, 20, 0x08,
|
||||
|
||||
0 // eod
|
||||
};
|
||||
|
||||
static const char qt_meta_stringdata_GeneralSettingsPage[] = {
|
||||
"GeneralSettingsPage\0\0path\0"
|
||||
"picsPathChanged(QString)\0"
|
||||
"cardDatabasePathChanged(QString)\0"
|
||||
"cardBackgroundPathChanged(QString)\0"
|
||||
"qmFile\0changeLanguage(QString)\0"
|
||||
"deckPathButtonClicked()\0picsPathButtonClicked()\0"
|
||||
"cardDatabasePathButtonClicked()\0"
|
||||
"cardBackgroundPathButtonClicked()\0"
|
||||
"index\0languageBoxChanged(int)\0"
|
||||
};
|
||||
|
||||
const QMetaObject GeneralSettingsPage::staticMetaObject = {
|
||||
{ &AbstractSettingsPage::staticMetaObject, qt_meta_stringdata_GeneralSettingsPage,
|
||||
qt_meta_data_GeneralSettingsPage, 0 }
|
||||
};
|
||||
|
||||
const QMetaObject *GeneralSettingsPage::metaObject() const
|
||||
{
|
||||
return &staticMetaObject;
|
||||
}
|
||||
|
||||
void *GeneralSettingsPage::qt_metacast(const char *_clname)
|
||||
{
|
||||
if (!_clname) return 0;
|
||||
if (!strcmp(_clname, qt_meta_stringdata_GeneralSettingsPage))
|
||||
return static_cast<void*>(const_cast< GeneralSettingsPage*>(this));
|
||||
return AbstractSettingsPage::qt_metacast(_clname);
|
||||
}
|
||||
|
||||
int GeneralSettingsPage::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
_id = AbstractSettingsPage::qt_metacall(_c, _id, _a);
|
||||
if (_id < 0)
|
||||
return _id;
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
switch (_id) {
|
||||
case 0: picsPathChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break;
|
||||
case 1: cardDatabasePathChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break;
|
||||
case 2: cardBackgroundPathChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break;
|
||||
case 3: changeLanguage((*reinterpret_cast< const QString(*)>(_a[1]))); break;
|
||||
case 4: deckPathButtonClicked(); break;
|
||||
case 5: picsPathButtonClicked(); break;
|
||||
case 6: cardDatabasePathButtonClicked(); break;
|
||||
case 7: cardBackgroundPathButtonClicked(); break;
|
||||
case 8: languageBoxChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
|
||||
default: ;
|
||||
}
|
||||
_id -= 9;
|
||||
}
|
||||
return _id;
|
||||
}
|
||||
|
||||
// SIGNAL 0
|
||||
void GeneralSettingsPage::picsPathChanged(const QString & _t1)
|
||||
{
|
||||
void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 0, _a);
|
||||
}
|
||||
|
||||
// SIGNAL 1
|
||||
void GeneralSettingsPage::cardDatabasePathChanged(const QString & _t1)
|
||||
{
|
||||
void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 1, _a);
|
||||
}
|
||||
|
||||
// SIGNAL 2
|
||||
void GeneralSettingsPage::cardBackgroundPathChanged(const QString & _t1)
|
||||
{
|
||||
void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 2, _a);
|
||||
}
|
||||
|
||||
// SIGNAL 3
|
||||
void GeneralSettingsPage::changeLanguage(const QString & _t1)
|
||||
{
|
||||
void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 3, _a);
|
||||
}
|
||||
static const uint qt_meta_data_AppearanceSettingsPage[] = {
|
||||
|
||||
// content:
|
||||
2, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
0, 0, // methods
|
||||
0, 0, // properties
|
||||
0, 0, // enums/sets
|
||||
0, 0, // constructors
|
||||
|
||||
0 // eod
|
||||
};
|
||||
|
||||
static const char qt_meta_stringdata_AppearanceSettingsPage[] = {
|
||||
"AppearanceSettingsPage\0"
|
||||
};
|
||||
|
||||
const QMetaObject AppearanceSettingsPage::staticMetaObject = {
|
||||
{ &AbstractSettingsPage::staticMetaObject, qt_meta_stringdata_AppearanceSettingsPage,
|
||||
qt_meta_data_AppearanceSettingsPage, 0 }
|
||||
};
|
||||
|
||||
const QMetaObject *AppearanceSettingsPage::metaObject() const
|
||||
{
|
||||
return &staticMetaObject;
|
||||
}
|
||||
|
||||
void *AppearanceSettingsPage::qt_metacast(const char *_clname)
|
||||
{
|
||||
if (!_clname) return 0;
|
||||
if (!strcmp(_clname, qt_meta_stringdata_AppearanceSettingsPage))
|
||||
return static_cast<void*>(const_cast< AppearanceSettingsPage*>(this));
|
||||
return AbstractSettingsPage::qt_metacast(_clname);
|
||||
}
|
||||
|
||||
int AppearanceSettingsPage::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
_id = AbstractSettingsPage::qt_metacall(_c, _id, _a);
|
||||
if (_id < 0)
|
||||
return _id;
|
||||
return _id;
|
||||
}
|
||||
static const uint qt_meta_data_MessagesSettingsPage[] = {
|
||||
|
||||
// content:
|
||||
2, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
2, 12, // methods
|
||||
0, 0, // properties
|
||||
0, 0, // enums/sets
|
||||
0, 0, // constructors
|
||||
|
||||
// slots: signature, parameters, type, tag, flags
|
||||
22, 21, 21, 21, 0x08,
|
||||
31, 21, 21, 21, 0x08,
|
||||
|
||||
0 // eod
|
||||
};
|
||||
|
||||
static const char qt_meta_stringdata_MessagesSettingsPage[] = {
|
||||
"MessagesSettingsPage\0\0actAdd()\0"
|
||||
"actRemove()\0"
|
||||
};
|
||||
|
||||
const QMetaObject MessagesSettingsPage::staticMetaObject = {
|
||||
{ &AbstractSettingsPage::staticMetaObject, qt_meta_stringdata_MessagesSettingsPage,
|
||||
qt_meta_data_MessagesSettingsPage, 0 }
|
||||
};
|
||||
|
||||
const QMetaObject *MessagesSettingsPage::metaObject() const
|
||||
{
|
||||
return &staticMetaObject;
|
||||
}
|
||||
|
||||
void *MessagesSettingsPage::qt_metacast(const char *_clname)
|
||||
{
|
||||
if (!_clname) return 0;
|
||||
if (!strcmp(_clname, qt_meta_stringdata_MessagesSettingsPage))
|
||||
return static_cast<void*>(const_cast< MessagesSettingsPage*>(this));
|
||||
return AbstractSettingsPage::qt_metacast(_clname);
|
||||
}
|
||||
|
||||
int MessagesSettingsPage::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
_id = AbstractSettingsPage::qt_metacall(_c, _id, _a);
|
||||
if (_id < 0)
|
||||
return _id;
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
switch (_id) {
|
||||
case 0: actAdd(); break;
|
||||
case 1: actRemove(); break;
|
||||
default: ;
|
||||
}
|
||||
_id -= 2;
|
||||
}
|
||||
return _id;
|
||||
}
|
||||
static const uint qt_meta_data_DlgSettings[] = {
|
||||
|
||||
// content:
|
||||
2, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
2, 12, // methods
|
||||
0, 0, // properties
|
||||
0, 0, // enums/sets
|
||||
0, 0, // constructors
|
||||
|
||||
// slots: signature, parameters, type, tag, flags
|
||||
30, 13, 12, 12, 0x08,
|
||||
83, 76, 12, 12, 0x08,
|
||||
|
||||
0 // eod
|
||||
};
|
||||
|
||||
static const char qt_meta_stringdata_DlgSettings[] = {
|
||||
"DlgSettings\0\0current,previous\0"
|
||||
"changePage(QListWidgetItem*,QListWidgetItem*)\0"
|
||||
"qmFile\0changeLanguage(QString)\0"
|
||||
};
|
||||
|
||||
const QMetaObject DlgSettings::staticMetaObject = {
|
||||
{ &QDialog::staticMetaObject, qt_meta_stringdata_DlgSettings,
|
||||
qt_meta_data_DlgSettings, 0 }
|
||||
};
|
||||
|
||||
const QMetaObject *DlgSettings::metaObject() const
|
||||
{
|
||||
return &staticMetaObject;
|
||||
}
|
||||
|
||||
void *DlgSettings::qt_metacast(const char *_clname)
|
||||
{
|
||||
if (!_clname) return 0;
|
||||
if (!strcmp(_clname, qt_meta_stringdata_DlgSettings))
|
||||
return static_cast<void*>(const_cast< DlgSettings*>(this));
|
||||
return QDialog::qt_metacast(_clname);
|
||||
}
|
||||
|
||||
int DlgSettings::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
_id = QDialog::qt_metacall(_c, _id, _a);
|
||||
if (_id < 0)
|
||||
return _id;
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
switch (_id) {
|
||||
case 0: changePage((*reinterpret_cast< QListWidgetItem*(*)>(_a[1])),(*reinterpret_cast< QListWidgetItem*(*)>(_a[2]))); break;
|
||||
case 1: changeLanguage((*reinterpret_cast< const QString(*)>(_a[1]))); break;
|
||||
default: ;
|
||||
}
|
||||
_id -= 2;
|
||||
}
|
||||
return _id;
|
||||
}
|
||||
QT_END_MOC_NAMESPACE
|
||||
BIN
cockatrice/build/moc_dlg_settings.o
Normal file
BIN
cockatrice/build/moc_dlg_settings.o
Normal file
Binary file not shown.
85
cockatrice/build/moc_dlg_startgame.cpp
Normal file
85
cockatrice/build/moc_dlg_startgame.cpp
Normal file
|
|
@ -0,0 +1,85 @@
|
|||
/****************************************************************************
|
||||
** Meta object code from reading C++ file 'dlg_startgame.h'
|
||||
**
|
||||
** Created: Fri Jul 31 01:20:56 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/dlg_startgame.h"
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'dlg_startgame.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_DlgStartGame[] = {
|
||||
|
||||
// content:
|
||||
2, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
2, 12, // methods
|
||||
0, 0, // properties
|
||||
0, 0, // enums/sets
|
||||
0, 0, // constructors
|
||||
|
||||
// signals: signature, parameters, type, tag, flags
|
||||
20, 14, 13, 13, 0x05,
|
||||
|
||||
// slots: signature, parameters, type, tag, flags
|
||||
47, 13, 13, 13, 0x08,
|
||||
|
||||
0 // eod
|
||||
};
|
||||
|
||||
static const char qt_meta_stringdata_DlgStartGame[] = {
|
||||
"DlgStartGame\0\0cards\0newDeckLoaded(QStringList)\0"
|
||||
"actLoad()\0"
|
||||
};
|
||||
|
||||
const QMetaObject DlgStartGame::staticMetaObject = {
|
||||
{ &QDialog::staticMetaObject, qt_meta_stringdata_DlgStartGame,
|
||||
qt_meta_data_DlgStartGame, 0 }
|
||||
};
|
||||
|
||||
const QMetaObject *DlgStartGame::metaObject() const
|
||||
{
|
||||
return &staticMetaObject;
|
||||
}
|
||||
|
||||
void *DlgStartGame::qt_metacast(const char *_clname)
|
||||
{
|
||||
if (!_clname) return 0;
|
||||
if (!strcmp(_clname, qt_meta_stringdata_DlgStartGame))
|
||||
return static_cast<void*>(const_cast< DlgStartGame*>(this));
|
||||
return QDialog::qt_metacast(_clname);
|
||||
}
|
||||
|
||||
int DlgStartGame::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
_id = QDialog::qt_metacall(_c, _id, _a);
|
||||
if (_id < 0)
|
||||
return _id;
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
switch (_id) {
|
||||
case 0: newDeckLoaded((*reinterpret_cast< const QStringList(*)>(_a[1]))); break;
|
||||
case 1: actLoad(); break;
|
||||
default: ;
|
||||
}
|
||||
_id -= 2;
|
||||
}
|
||||
return _id;
|
||||
}
|
||||
|
||||
// SIGNAL 0
|
||||
void DlgStartGame::newDeckLoaded(const QStringList & _t1)
|
||||
{
|
||||
void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 0, _a);
|
||||
}
|
||||
QT_END_MOC_NAMESPACE
|
||||
BIN
cockatrice/build/moc_dlg_startgame.o
Normal file
BIN
cockatrice/build/moc_dlg_startgame.o
Normal file
Binary file not shown.
325
cockatrice/build/moc_game.cpp
Normal file
325
cockatrice/build/moc_game.cpp
Normal file
|
|
@ -0,0 +1,325 @@
|
|||
/****************************************************************************
|
||||
** Meta object code from reading C++ file 'game.h'
|
||||
**
|
||||
** Created: Thu Jul 30 20:38:07 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/game.h"
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'game.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_Game[] = {
|
||||
|
||||
// content:
|
||||
2, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
41, 12, // methods
|
||||
0, 0, // properties
|
||||
0, 0, // enums/sets
|
||||
0, 0, // constructors
|
||||
|
||||
// signals: signature, parameters, type, tag, flags
|
||||
6, 5, 5, 5, 0x05,
|
||||
28, 23, 5, 5, 0x05,
|
||||
54, 47, 5, 5, 0x05,
|
||||
75, 47, 5, 5, 0x05,
|
||||
106, 98, 5, 5, 0x05,
|
||||
152, 141, 5, 5, 0x05,
|
||||
169, 141, 5, 5, 0x05,
|
||||
187, 141, 5, 5, 0x05,
|
||||
210, 5, 5, 5, 0x05,
|
||||
241, 225, 5, 5, 0x05,
|
||||
265, 141, 5, 5, 0x05,
|
||||
307, 285, 5, 5, 0x05,
|
||||
354, 336, 5, 5, 0x05,
|
||||
416, 375, 5, 5, 0x05,
|
||||
481, 461, 5, 5, 0x05,
|
||||
548, 513, 5, 5, 0x05,
|
||||
619, 592, 5, 5, 0x05,
|
||||
692, 654, 5, 5, 0x05,
|
||||
763, 731, 5, 5, 0x05,
|
||||
845, 803, 5, 5, 0x05,
|
||||
|
||||
// slots: signature, parameters, type, tag, flags
|
||||
886, 5, 5, 5, 0x08,
|
||||
900, 5, 5, 5, 0x08,
|
||||
913, 5, 5, 5, 0x08,
|
||||
926, 5, 5, 5, 0x08,
|
||||
939, 5, 5, 5, 0x08,
|
||||
952, 5, 5, 5, 0x08,
|
||||
966, 5, 5, 5, 0x08,
|
||||
981, 5, 5, 5, 0x08,
|
||||
995, 5, 5, 5, 0x08,
|
||||
1014, 1012, 5, 5, 0x08,
|
||||
1035, 5, 5, 5, 0x08,
|
||||
1052, 5, 5, 5, 0x08,
|
||||
1062, 5, 5, 5, 0x08,
|
||||
1078, 5, 5, 5, 0x08,
|
||||
1097, 5, 5, 5, 0x08,
|
||||
1114, 5, 5, 5, 0x08,
|
||||
1134, 1130, 5, 5, 0x08,
|
||||
1172, 1161, 5, 5, 0x08,
|
||||
1213, 5, 5, 5, 0x08,
|
||||
1226, 5, 5, 5, 0x0a,
|
||||
1235, 5, 5, 5, 0x0a,
|
||||
|
||||
0 // eod
|
||||
};
|
||||
|
||||
static const char qt_meta_stringdata_Game[] = {
|
||||
"Game\0\0submitDecklist()\0name\0"
|
||||
"hoverCard(QString)\0player\0"
|
||||
"playerAdded(Player*)\0playerRemoved(Player*)\0"
|
||||
"players\0logPlayerListReceived(QStringList)\0"
|
||||
"playerName\0logJoin(QString)\0"
|
||||
"logLeave(QString)\0logReadyStart(QString)\0"
|
||||
"logGameStart()\0playerName,text\0"
|
||||
"logSay(QString,QString)\0logShuffle(QString)\0"
|
||||
"playerName,sides,roll\0"
|
||||
"logRollDice(QString,int,int)\0"
|
||||
"playerName,number\0logDraw(QString,int)\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"
|
||||
"playerName,zoneName,zoneOwner,numberCards\0"
|
||||
"logDumpZone(QString,QString,QString,int)\0"
|
||||
"actUntapAll()\0actIncLife()\0actDecLife()\0"
|
||||
"actSetLife()\0actShuffle()\0actDrawCard()\0"
|
||||
"actDrawCards()\0actRollDice()\0"
|
||||
"actCreateToken()\0p\0showCardMenu(QPoint)\0"
|
||||
"actDoesntUntap()\0actFlip()\0actAddCounter()\0"
|
||||
"actRemoveCounter()\0actSetCounters()\0"
|
||||
"actSayMessage()\0msg\0gameEvent(ServerEventData)\0"
|
||||
"playerList\0playerListReceived(QList<ServerPlayer*>)\0"
|
||||
"readyStart()\0actTap()\0actUntap()\0"
|
||||
};
|
||||
|
||||
const QMetaObject Game::staticMetaObject = {
|
||||
{ &QObject::staticMetaObject, qt_meta_stringdata_Game,
|
||||
qt_meta_data_Game, 0 }
|
||||
};
|
||||
|
||||
const QMetaObject *Game::metaObject() const
|
||||
{
|
||||
return &staticMetaObject;
|
||||
}
|
||||
|
||||
void *Game::qt_metacast(const char *_clname)
|
||||
{
|
||||
if (!_clname) return 0;
|
||||
if (!strcmp(_clname, qt_meta_stringdata_Game))
|
||||
return static_cast<void*>(const_cast< Game*>(this));
|
||||
return QObject::qt_metacast(_clname);
|
||||
}
|
||||
|
||||
int Game::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: submitDecklist(); break;
|
||||
case 1: hoverCard((*reinterpret_cast< QString(*)>(_a[1]))); break;
|
||||
case 2: playerAdded((*reinterpret_cast< Player*(*)>(_a[1]))); break;
|
||||
case 3: playerRemoved((*reinterpret_cast< Player*(*)>(_a[1]))); break;
|
||||
case 4: logPlayerListReceived((*reinterpret_cast< QStringList(*)>(_a[1]))); break;
|
||||
case 5: logJoin((*reinterpret_cast< QString(*)>(_a[1]))); break;
|
||||
case 6: logLeave((*reinterpret_cast< QString(*)>(_a[1]))); break;
|
||||
case 7: logReadyStart((*reinterpret_cast< QString(*)>(_a[1]))); break;
|
||||
case 8: logGameStart(); break;
|
||||
case 9: logSay((*reinterpret_cast< QString(*)>(_a[1])),(*reinterpret_cast< QString(*)>(_a[2]))); break;
|
||||
case 10: logShuffle((*reinterpret_cast< QString(*)>(_a[1]))); break;
|
||||
case 11: logRollDice((*reinterpret_cast< QString(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break;
|
||||
case 12: logDraw((*reinterpret_cast< QString(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
|
||||
case 13: logMoveCard((*reinterpret_cast< QString(*)>(_a[1])),(*reinterpret_cast< QString(*)>(_a[2])),(*reinterpret_cast< QString(*)>(_a[3])),(*reinterpret_cast< QString(*)>(_a[4]))); break;
|
||||
case 14: logCreateToken((*reinterpret_cast< QString(*)>(_a[1])),(*reinterpret_cast< QString(*)>(_a[2]))); break;
|
||||
case 15: logSetCardCounters((*reinterpret_cast< QString(*)>(_a[1])),(*reinterpret_cast< QString(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3])),(*reinterpret_cast< int(*)>(_a[4]))); break;
|
||||
case 16: logSetTapped((*reinterpret_cast< QString(*)>(_a[1])),(*reinterpret_cast< QString(*)>(_a[2])),(*reinterpret_cast< bool(*)>(_a[3]))); break;
|
||||
case 17: logSetCounter((*reinterpret_cast< QString(*)>(_a[1])),(*reinterpret_cast< QString(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3])),(*reinterpret_cast< int(*)>(_a[4]))); break;
|
||||
case 18: logSetDoesntUntap((*reinterpret_cast< QString(*)>(_a[1])),(*reinterpret_cast< QString(*)>(_a[2])),(*reinterpret_cast< bool(*)>(_a[3]))); break;
|
||||
case 19: logDumpZone((*reinterpret_cast< QString(*)>(_a[1])),(*reinterpret_cast< QString(*)>(_a[2])),(*reinterpret_cast< QString(*)>(_a[3])),(*reinterpret_cast< int(*)>(_a[4]))); break;
|
||||
case 20: actUntapAll(); break;
|
||||
case 21: actIncLife(); break;
|
||||
case 22: actDecLife(); break;
|
||||
case 23: actSetLife(); break;
|
||||
case 24: actShuffle(); break;
|
||||
case 25: actDrawCard(); break;
|
||||
case 26: actDrawCards(); break;
|
||||
case 27: actRollDice(); break;
|
||||
case 28: actCreateToken(); break;
|
||||
case 29: showCardMenu((*reinterpret_cast< QPoint(*)>(_a[1]))); break;
|
||||
case 30: actDoesntUntap(); break;
|
||||
case 31: actFlip(); break;
|
||||
case 32: actAddCounter(); break;
|
||||
case 33: actRemoveCounter(); break;
|
||||
case 34: actSetCounters(); break;
|
||||
case 35: actSayMessage(); break;
|
||||
case 36: gameEvent((*reinterpret_cast< const ServerEventData(*)>(_a[1]))); break;
|
||||
case 37: playerListReceived((*reinterpret_cast< QList<ServerPlayer*>(*)>(_a[1]))); break;
|
||||
case 38: readyStart(); break;
|
||||
case 39: actTap(); break;
|
||||
case 40: actUntap(); break;
|
||||
default: ;
|
||||
}
|
||||
_id -= 41;
|
||||
}
|
||||
return _id;
|
||||
}
|
||||
|
||||
// SIGNAL 0
|
||||
void Game::submitDecklist()
|
||||
{
|
||||
QMetaObject::activate(this, &staticMetaObject, 0, 0);
|
||||
}
|
||||
|
||||
// SIGNAL 1
|
||||
void Game::hoverCard(QString _t1)
|
||||
{
|
||||
void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 1, _a);
|
||||
}
|
||||
|
||||
// SIGNAL 2
|
||||
void Game::playerAdded(Player * _t1)
|
||||
{
|
||||
void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 2, _a);
|
||||
}
|
||||
|
||||
// SIGNAL 3
|
||||
void Game::playerRemoved(Player * _t1)
|
||||
{
|
||||
void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 3, _a);
|
||||
}
|
||||
|
||||
// SIGNAL 4
|
||||
void Game::logPlayerListReceived(QStringList _t1)
|
||||
{
|
||||
void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 4, _a);
|
||||
}
|
||||
|
||||
// SIGNAL 5
|
||||
void Game::logJoin(QString _t1)
|
||||
{
|
||||
void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 5, _a);
|
||||
}
|
||||
|
||||
// SIGNAL 6
|
||||
void Game::logLeave(QString _t1)
|
||||
{
|
||||
void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 6, _a);
|
||||
}
|
||||
|
||||
// SIGNAL 7
|
||||
void Game::logReadyStart(QString _t1)
|
||||
{
|
||||
void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 7, _a);
|
||||
}
|
||||
|
||||
// SIGNAL 8
|
||||
void Game::logGameStart()
|
||||
{
|
||||
QMetaObject::activate(this, &staticMetaObject, 8, 0);
|
||||
}
|
||||
|
||||
// SIGNAL 9
|
||||
void Game::logSay(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, 9, _a);
|
||||
}
|
||||
|
||||
// SIGNAL 10
|
||||
void Game::logShuffle(QString _t1)
|
||||
{
|
||||
void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 10, _a);
|
||||
}
|
||||
|
||||
// SIGNAL 11
|
||||
void Game::logRollDice(QString _t1, int _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, 11, _a);
|
||||
}
|
||||
|
||||
// SIGNAL 12
|
||||
void Game::logDraw(QString _t1, int _t2)
|
||||
{
|
||||
void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 12, _a);
|
||||
}
|
||||
|
||||
// SIGNAL 13
|
||||
void Game::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, 13, _a);
|
||||
}
|
||||
|
||||
// SIGNAL 14
|
||||
void Game::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, 14, _a);
|
||||
}
|
||||
|
||||
// SIGNAL 15
|
||||
void Game::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, 15, _a);
|
||||
}
|
||||
|
||||
// SIGNAL 16
|
||||
void Game::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, 16, _a);
|
||||
}
|
||||
|
||||
// SIGNAL 17
|
||||
void Game::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, 17, _a);
|
||||
}
|
||||
|
||||
// SIGNAL 18
|
||||
void Game::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, 18, _a);
|
||||
}
|
||||
|
||||
// SIGNAL 19
|
||||
void Game::logDumpZone(QString _t1, QString _t2, QString _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, 19, _a);
|
||||
}
|
||||
QT_END_MOC_NAMESPACE
|
||||
BIN
cockatrice/build/moc_game.o
Normal file
BIN
cockatrice/build/moc_game.o
Normal file
Binary file not shown.
83
cockatrice/build/moc_gameselector.cpp
Normal file
83
cockatrice/build/moc_gameselector.cpp
Normal file
|
|
@ -0,0 +1,83 @@
|
|||
/****************************************************************************
|
||||
** Meta object code from reading C++ file 'gameselector.h'
|
||||
**
|
||||
** Created: Thu Jul 30 20:38:00 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/gameselector.h"
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'gameselector.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_GameSelector[] = {
|
||||
|
||||
// content:
|
||||
2, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
5, 12, // methods
|
||||
0, 0, // properties
|
||||
0, 0, // enums/sets
|
||||
0, 0, // constructors
|
||||
|
||||
// slots: signature, parameters, type, tag, flags
|
||||
14, 13, 13, 13, 0x08,
|
||||
26, 13, 13, 13, 0x08,
|
||||
39, 13, 13, 13, 0x08,
|
||||
58, 49, 13, 13, 0x08,
|
||||
95, 88, 13, 13, 0x08,
|
||||
|
||||
0 // eod
|
||||
};
|
||||
|
||||
static const char qt_meta_stringdata_GameSelector[] = {
|
||||
"GameSelector\0\0actCreate()\0actRefresh()\0"
|
||||
"actJoin()\0response\0checkResponse(ServerResponse)\0"
|
||||
"status\0statusChanged(ProtocolStatus)\0"
|
||||
};
|
||||
|
||||
const QMetaObject GameSelector::staticMetaObject = {
|
||||
{ &QWidget::staticMetaObject, qt_meta_stringdata_GameSelector,
|
||||
qt_meta_data_GameSelector, 0 }
|
||||
};
|
||||
|
||||
const QMetaObject *GameSelector::metaObject() const
|
||||
{
|
||||
return &staticMetaObject;
|
||||
}
|
||||
|
||||
void *GameSelector::qt_metacast(const char *_clname)
|
||||
{
|
||||
if (!_clname) return 0;
|
||||
if (!strcmp(_clname, qt_meta_stringdata_GameSelector))
|
||||
return static_cast<void*>(const_cast< GameSelector*>(this));
|
||||
return QWidget::qt_metacast(_clname);
|
||||
}
|
||||
|
||||
int GameSelector::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
_id = QWidget::qt_metacall(_c, _id, _a);
|
||||
if (_id < 0)
|
||||
return _id;
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
switch (_id) {
|
||||
case 0: actCreate(); break;
|
||||
case 1: actRefresh(); break;
|
||||
case 2: actJoin(); break;
|
||||
case 3: checkResponse((*reinterpret_cast< ServerResponse(*)>(_a[1]))); break;
|
||||
case 4: statusChanged((*reinterpret_cast< ProtocolStatus(*)>(_a[1]))); break;
|
||||
default: ;
|
||||
}
|
||||
_id -= 5;
|
||||
}
|
||||
return _id;
|
||||
}
|
||||
QT_END_MOC_NAMESPACE
|
||||
BIN
cockatrice/build/moc_gameselector.o
Normal file
BIN
cockatrice/build/moc_gameselector.o
Normal file
Binary file not shown.
73
cockatrice/build/moc_gamesmodel.cpp
Normal file
73
cockatrice/build/moc_gamesmodel.cpp
Normal file
|
|
@ -0,0 +1,73 @@
|
|||
/****************************************************************************
|
||||
** Meta object code from reading C++ file 'gamesmodel.h'
|
||||
**
|
||||
** Created: Thu Jul 30 20:38:03 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/gamesmodel.h"
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'gamesmodel.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_GamesModel[] = {
|
||||
|
||||
// content:
|
||||
2, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
1, 12, // methods
|
||||
0, 0, // properties
|
||||
0, 0, // enums/sets
|
||||
0, 0, // constructors
|
||||
|
||||
// slots: signature, parameters, type, tag, flags
|
||||
17, 12, 11, 11, 0x0a,
|
||||
|
||||
0 // eod
|
||||
};
|
||||
|
||||
static const char qt_meta_stringdata_GamesModel[] = {
|
||||
"GamesModel\0\0game\0updateGameList(ServerGame*)\0"
|
||||
};
|
||||
|
||||
const QMetaObject GamesModel::staticMetaObject = {
|
||||
{ &QAbstractTableModel::staticMetaObject, qt_meta_stringdata_GamesModel,
|
||||
qt_meta_data_GamesModel, 0 }
|
||||
};
|
||||
|
||||
const QMetaObject *GamesModel::metaObject() const
|
||||
{
|
||||
return &staticMetaObject;
|
||||
}
|
||||
|
||||
void *GamesModel::qt_metacast(const char *_clname)
|
||||
{
|
||||
if (!_clname) return 0;
|
||||
if (!strcmp(_clname, qt_meta_stringdata_GamesModel))
|
||||
return static_cast<void*>(const_cast< GamesModel*>(this));
|
||||
return QAbstractTableModel::qt_metacast(_clname);
|
||||
}
|
||||
|
||||
int GamesModel::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
_id = QAbstractTableModel::qt_metacall(_c, _id, _a);
|
||||
if (_id < 0)
|
||||
return _id;
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
switch (_id) {
|
||||
case 0: updateGameList((*reinterpret_cast< ServerGame*(*)>(_a[1]))); break;
|
||||
default: ;
|
||||
}
|
||||
_id -= 1;
|
||||
}
|
||||
return _id;
|
||||
}
|
||||
QT_END_MOC_NAMESPACE
|
||||
BIN
cockatrice/build/moc_gamesmodel.o
Normal file
BIN
cockatrice/build/moc_gamesmodel.o
Normal file
Binary file not shown.
138
cockatrice/build/moc_messagelogwidget.cpp
Normal file
138
cockatrice/build/moc_messagelogwidget.cpp
Normal file
|
|
@ -0,0 +1,138 @@
|
|||
/****************************************************************************
|
||||
** Meta object code from reading C++ file 'messagelogwidget.h'
|
||||
**
|
||||
** Created: Thu Jul 30 20:38:12 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/messagelogwidget.h"
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'messagelogwidget.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_MessageLogWidget[] = {
|
||||
|
||||
// content:
|
||||
2, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
21, 12, // methods
|
||||
0, 0, // properties
|
||||
0, 0, // enums/sets
|
||||
0, 0, // constructors
|
||||
|
||||
// slots: signature, parameters, type, tag, flags
|
||||
27, 18, 17, 17, 0x0a,
|
||||
61, 50, 17, 17, 0x0a,
|
||||
87, 17, 17, 17, 0x0a,
|
||||
117, 105, 17, 17, 0x0a,
|
||||
150, 141, 17, 17, 0x0a,
|
||||
189, 181, 17, 17, 0x08,
|
||||
235, 224, 17, 17, 0x08,
|
||||
252, 224, 17, 17, 0x08,
|
||||
270, 224, 17, 17, 0x08,
|
||||
293, 17, 17, 17, 0x08,
|
||||
327, 308, 17, 17, 0x08,
|
||||
351, 224, 17, 17, 0x08,
|
||||
393, 371, 17, 17, 0x08,
|
||||
440, 422, 17, 17, 0x08,
|
||||
502, 461, 17, 17, 0x08,
|
||||
567, 547, 17, 17, 0x08,
|
||||
634, 599, 17, 17, 0x08,
|
||||
705, 678, 17, 17, 0x08,
|
||||
778, 740, 17, 17, 0x08,
|
||||
849, 817, 17, 17, 0x08,
|
||||
931, 889, 17, 17, 0x08,
|
||||
|
||||
0 // eod
|
||||
};
|
||||
|
||||
static const char qt_meta_stringdata_MessageLogWidget[] = {
|
||||
"MessageLogWidget\0\0hostname\0"
|
||||
"logConnecting(QString)\0WelcomeMsg\0"
|
||||
"logConnected(QStringList)\0logDisconnected()\0"
|
||||
"errorString\0logSocketError(QString)\0"
|
||||
"response\0logServerError(ServerResponse)\0"
|
||||
"players\0logPlayerListReceived(QStringList)\0"
|
||||
"playerName\0logJoin(QString)\0"
|
||||
"logLeave(QString)\0logReadyStart(QString)\0"
|
||||
"logGameStart()\0playerName,message\0"
|
||||
"logSay(QString,QString)\0logShuffle(QString)\0"
|
||||
"playerName,sides,roll\0"
|
||||
"logRollDice(QString,int,int)\0"
|
||||
"playerName,number\0logDraw(QString,int)\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"
|
||||
"playerName,zoneName,zoneOwner,numberCards\0"
|
||||
"logDumpZone(QString,QString,QString,int)\0"
|
||||
};
|
||||
|
||||
const QMetaObject MessageLogWidget::staticMetaObject = {
|
||||
{ &QTextEdit::staticMetaObject, qt_meta_stringdata_MessageLogWidget,
|
||||
qt_meta_data_MessageLogWidget, 0 }
|
||||
};
|
||||
|
||||
const QMetaObject *MessageLogWidget::metaObject() const
|
||||
{
|
||||
return &staticMetaObject;
|
||||
}
|
||||
|
||||
void *MessageLogWidget::qt_metacast(const char *_clname)
|
||||
{
|
||||
if (!_clname) return 0;
|
||||
if (!strcmp(_clname, qt_meta_stringdata_MessageLogWidget))
|
||||
return static_cast<void*>(const_cast< MessageLogWidget*>(this));
|
||||
return QTextEdit::qt_metacast(_clname);
|
||||
}
|
||||
|
||||
int MessageLogWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
_id = QTextEdit::qt_metacall(_c, _id, _a);
|
||||
if (_id < 0)
|
||||
return _id;
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
switch (_id) {
|
||||
case 0: logConnecting((*reinterpret_cast< QString(*)>(_a[1]))); break;
|
||||
case 1: logConnected((*reinterpret_cast< const QStringList(*)>(_a[1]))); break;
|
||||
case 2: logDisconnected(); break;
|
||||
case 3: logSocketError((*reinterpret_cast< const QString(*)>(_a[1]))); break;
|
||||
case 4: logServerError((*reinterpret_cast< ServerResponse(*)>(_a[1]))); break;
|
||||
case 5: logPlayerListReceived((*reinterpret_cast< QStringList(*)>(_a[1]))); break;
|
||||
case 6: logJoin((*reinterpret_cast< QString(*)>(_a[1]))); break;
|
||||
case 7: logLeave((*reinterpret_cast< QString(*)>(_a[1]))); break;
|
||||
case 8: logReadyStart((*reinterpret_cast< QString(*)>(_a[1]))); break;
|
||||
case 9: logGameStart(); break;
|
||||
case 10: logSay((*reinterpret_cast< QString(*)>(_a[1])),(*reinterpret_cast< QString(*)>(_a[2]))); break;
|
||||
case 11: logShuffle((*reinterpret_cast< QString(*)>(_a[1]))); break;
|
||||
case 12: logRollDice((*reinterpret_cast< QString(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break;
|
||||
case 13: logDraw((*reinterpret_cast< QString(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
|
||||
case 14: logMoveCard((*reinterpret_cast< QString(*)>(_a[1])),(*reinterpret_cast< QString(*)>(_a[2])),(*reinterpret_cast< QString(*)>(_a[3])),(*reinterpret_cast< QString(*)>(_a[4]))); break;
|
||||
case 15: logCreateToken((*reinterpret_cast< QString(*)>(_a[1])),(*reinterpret_cast< QString(*)>(_a[2]))); break;
|
||||
case 16: logSetCardCounters((*reinterpret_cast< QString(*)>(_a[1])),(*reinterpret_cast< QString(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3])),(*reinterpret_cast< int(*)>(_a[4]))); break;
|
||||
case 17: logSetTapped((*reinterpret_cast< QString(*)>(_a[1])),(*reinterpret_cast< QString(*)>(_a[2])),(*reinterpret_cast< bool(*)>(_a[3]))); break;
|
||||
case 18: logSetCounter((*reinterpret_cast< QString(*)>(_a[1])),(*reinterpret_cast< QString(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3])),(*reinterpret_cast< int(*)>(_a[4]))); break;
|
||||
case 19: logSetDoesntUntap((*reinterpret_cast< QString(*)>(_a[1])),(*reinterpret_cast< QString(*)>(_a[2])),(*reinterpret_cast< bool(*)>(_a[3]))); break;
|
||||
case 20: logDumpZone((*reinterpret_cast< QString(*)>(_a[1])),(*reinterpret_cast< QString(*)>(_a[2])),(*reinterpret_cast< QString(*)>(_a[3])),(*reinterpret_cast< int(*)>(_a[4]))); break;
|
||||
default: ;
|
||||
}
|
||||
_id -= 21;
|
||||
}
|
||||
return _id;
|
||||
}
|
||||
QT_END_MOC_NAMESPACE
|
||||
BIN
cockatrice/build/moc_messagelogwidget.o
Normal file
BIN
cockatrice/build/moc_messagelogwidget.o
Normal file
Binary file not shown.
208
cockatrice/build/moc_player.cpp
Normal file
208
cockatrice/build/moc_player.cpp
Normal file
|
|
@ -0,0 +1,208 @@
|
|||
/****************************************************************************
|
||||
** 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
|
||||
BIN
cockatrice/build/moc_player.o
Normal file
BIN
cockatrice/build/moc_player.o
Normal file
Binary file not shown.
106
cockatrice/build/moc_setsmodel.cpp
Normal file
106
cockatrice/build/moc_setsmodel.cpp
Normal file
|
|
@ -0,0 +1,106 @@
|
|||
/****************************************************************************
|
||||
** Meta object code from reading C++ file 'setsmodel.h'
|
||||
**
|
||||
** Created: Thu Jul 30 20:38:18 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/setsmodel.h"
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'setsmodel.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_SetsMimeData[] = {
|
||||
|
||||
// content:
|
||||
2, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
0, 0, // methods
|
||||
0, 0, // properties
|
||||
0, 0, // enums/sets
|
||||
0, 0, // constructors
|
||||
|
||||
0 // eod
|
||||
};
|
||||
|
||||
static const char qt_meta_stringdata_SetsMimeData[] = {
|
||||
"SetsMimeData\0"
|
||||
};
|
||||
|
||||
const QMetaObject SetsMimeData::staticMetaObject = {
|
||||
{ &QMimeData::staticMetaObject, qt_meta_stringdata_SetsMimeData,
|
||||
qt_meta_data_SetsMimeData, 0 }
|
||||
};
|
||||
|
||||
const QMetaObject *SetsMimeData::metaObject() const
|
||||
{
|
||||
return &staticMetaObject;
|
||||
}
|
||||
|
||||
void *SetsMimeData::qt_metacast(const char *_clname)
|
||||
{
|
||||
if (!_clname) return 0;
|
||||
if (!strcmp(_clname, qt_meta_stringdata_SetsMimeData))
|
||||
return static_cast<void*>(const_cast< SetsMimeData*>(this));
|
||||
return QMimeData::qt_metacast(_clname);
|
||||
}
|
||||
|
||||
int SetsMimeData::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
_id = QMimeData::qt_metacall(_c, _id, _a);
|
||||
if (_id < 0)
|
||||
return _id;
|
||||
return _id;
|
||||
}
|
||||
static const uint qt_meta_data_SetsModel[] = {
|
||||
|
||||
// content:
|
||||
2, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
0, 0, // methods
|
||||
0, 0, // properties
|
||||
0, 0, // enums/sets
|
||||
0, 0, // constructors
|
||||
|
||||
0 // eod
|
||||
};
|
||||
|
||||
static const char qt_meta_stringdata_SetsModel[] = {
|
||||
"SetsModel\0"
|
||||
};
|
||||
|
||||
const QMetaObject SetsModel::staticMetaObject = {
|
||||
{ &QAbstractTableModel::staticMetaObject, qt_meta_stringdata_SetsModel,
|
||||
qt_meta_data_SetsModel, 0 }
|
||||
};
|
||||
|
||||
const QMetaObject *SetsModel::metaObject() const
|
||||
{
|
||||
return &staticMetaObject;
|
||||
}
|
||||
|
||||
void *SetsModel::qt_metacast(const char *_clname)
|
||||
{
|
||||
if (!_clname) return 0;
|
||||
if (!strcmp(_clname, qt_meta_stringdata_SetsModel))
|
||||
return static_cast<void*>(const_cast< SetsModel*>(this));
|
||||
return QAbstractTableModel::qt_metacast(_clname);
|
||||
}
|
||||
|
||||
int SetsModel::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
_id = QAbstractTableModel::qt_metacall(_c, _id, _a);
|
||||
if (_id < 0)
|
||||
return _id;
|
||||
return _id;
|
||||
}
|
||||
QT_END_MOC_NAMESPACE
|
||||
BIN
cockatrice/build/moc_setsmodel.o
Normal file
BIN
cockatrice/build/moc_setsmodel.o
Normal file
Binary file not shown.
114
cockatrice/build/moc_window_deckeditor.cpp
Normal file
114
cockatrice/build/moc_window_deckeditor.cpp
Normal file
|
|
@ -0,0 +1,114 @@
|
|||
/****************************************************************************
|
||||
** Meta object code from reading C++ file 'window_deckeditor.h'
|
||||
**
|
||||
** Created: Thu Jul 30 20:38:16 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/window_deckeditor.h"
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'window_deckeditor.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_WndDeckEditor[] = {
|
||||
|
||||
// content:
|
||||
2, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
16, 12, // methods
|
||||
0, 0, // properties
|
||||
0, 0, // enums/sets
|
||||
0, 0, // constructors
|
||||
|
||||
// slots: signature, parameters, type, tag, flags
|
||||
20, 15, 14, 14, 0x08,
|
||||
40, 14, 14, 14, 0x08,
|
||||
74, 57, 14, 14, 0x08,
|
||||
118, 57, 14, 14, 0x08,
|
||||
170, 163, 14, 14, 0x08,
|
||||
192, 14, 14, 14, 0x08,
|
||||
205, 14, 14, 14, 0x08,
|
||||
224, 14, 219, 14, 0x08,
|
||||
238, 14, 219, 14, 0x08,
|
||||
254, 14, 14, 14, 0x08,
|
||||
269, 14, 14, 14, 0x08,
|
||||
283, 14, 14, 14, 0x08,
|
||||
296, 14, 14, 14, 0x08,
|
||||
320, 14, 14, 14, 0x08,
|
||||
336, 14, 14, 14, 0x08,
|
||||
351, 14, 14, 14, 0x08,
|
||||
|
||||
0 // eod
|
||||
};
|
||||
|
||||
static const char qt_meta_stringdata_WndDeckEditor[] = {
|
||||
"WndDeckEditor\0\0name\0updateName(QString)\0"
|
||||
"updateComments()\0current,previous\0"
|
||||
"updateCardInfoLeft(QModelIndex,QModelIndex)\0"
|
||||
"updateCardInfoRight(QModelIndex,QModelIndex)\0"
|
||||
"search\0updateSearch(QString)\0actNewDeck()\0"
|
||||
"actLoadDeck()\0bool\0actSaveDeck()\0"
|
||||
"actSaveDeckAs()\0actPrintDeck()\0"
|
||||
"actEditSets()\0actAddCard()\0"
|
||||
"actAddCardToSideboard()\0actRemoveCard()\0"
|
||||
"actIncrement()\0actDecrement()\0"
|
||||
};
|
||||
|
||||
const QMetaObject WndDeckEditor::staticMetaObject = {
|
||||
{ &QMainWindow::staticMetaObject, qt_meta_stringdata_WndDeckEditor,
|
||||
qt_meta_data_WndDeckEditor, 0 }
|
||||
};
|
||||
|
||||
const QMetaObject *WndDeckEditor::metaObject() const
|
||||
{
|
||||
return &staticMetaObject;
|
||||
}
|
||||
|
||||
void *WndDeckEditor::qt_metacast(const char *_clname)
|
||||
{
|
||||
if (!_clname) return 0;
|
||||
if (!strcmp(_clname, qt_meta_stringdata_WndDeckEditor))
|
||||
return static_cast<void*>(const_cast< WndDeckEditor*>(this));
|
||||
return QMainWindow::qt_metacast(_clname);
|
||||
}
|
||||
|
||||
int WndDeckEditor::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
_id = QMainWindow::qt_metacall(_c, _id, _a);
|
||||
if (_id < 0)
|
||||
return _id;
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
switch (_id) {
|
||||
case 0: updateName((*reinterpret_cast< const QString(*)>(_a[1]))); break;
|
||||
case 1: updateComments(); break;
|
||||
case 2: updateCardInfoLeft((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< const QModelIndex(*)>(_a[2]))); break;
|
||||
case 3: updateCardInfoRight((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< const QModelIndex(*)>(_a[2]))); break;
|
||||
case 4: updateSearch((*reinterpret_cast< const QString(*)>(_a[1]))); break;
|
||||
case 5: actNewDeck(); break;
|
||||
case 6: actLoadDeck(); break;
|
||||
case 7: { bool _r = actSaveDeck();
|
||||
if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; } break;
|
||||
case 8: { bool _r = actSaveDeckAs();
|
||||
if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; } break;
|
||||
case 9: actPrintDeck(); break;
|
||||
case 10: actEditSets(); break;
|
||||
case 11: actAddCard(); break;
|
||||
case 12: actAddCardToSideboard(); break;
|
||||
case 13: actRemoveCard(); break;
|
||||
case 14: actIncrement(); break;
|
||||
case 15: actDecrement(); break;
|
||||
default: ;
|
||||
}
|
||||
_id -= 16;
|
||||
}
|
||||
return _id;
|
||||
}
|
||||
QT_END_MOC_NAMESPACE
|
||||
BIN
cockatrice/build/moc_window_deckeditor.o
Normal file
BIN
cockatrice/build/moc_window_deckeditor.o
Normal file
Binary file not shown.
132
cockatrice/build/moc_window_main.cpp
Normal file
132
cockatrice/build/moc_window_main.cpp
Normal file
|
|
@ -0,0 +1,132 @@
|
|||
/****************************************************************************
|
||||
** Meta object code from reading C++ file 'window_main.h'
|
||||
**
|
||||
** Created: Thu Jul 30 20:38:05 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/window_main.h"
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'window_main.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_MainWindow[] = {
|
||||
|
||||
// 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
|
||||
21, 12, 11, 11, 0x05,
|
||||
44, 11, 11, 11, 0x05,
|
||||
|
||||
// slots: signature, parameters, type, tag, flags
|
||||
67, 62, 11, 11, 0x08,
|
||||
93, 86, 11, 11, 0x08,
|
||||
114, 86, 11, 11, 0x08,
|
||||
145, 137, 11, 11, 0x08,
|
||||
183, 175, 11, 11, 0x08,
|
||||
213, 11, 11, 11, 0x08,
|
||||
229, 11, 11, 11, 0x08,
|
||||
238, 11, 11, 11, 0x08,
|
||||
251, 11, 11, 11, 0x08,
|
||||
267, 11, 11, 11, 0x08,
|
||||
284, 11, 11, 11, 0x08,
|
||||
299, 11, 11, 11, 0x08,
|
||||
323, 315, 11, 11, 0x08,
|
||||
343, 11, 11, 11, 0x08,
|
||||
357, 11, 11, 11, 0x08,
|
||||
367, 11, 11, 11, 0x08,
|
||||
|
||||
0 // eod
|
||||
};
|
||||
|
||||
static const char qt_meta_stringdata_MainWindow[] = {
|
||||
"MainWindow\0\0hostname\0logConnecting(QString)\0"
|
||||
"logDisconnected()\0name\0hoverCard(QString)\0"
|
||||
"player\0playerAdded(Player*)\0"
|
||||
"playerRemoved(Player*)\0_status\0"
|
||||
"statusChanged(ProtocolStatus)\0id,name\0"
|
||||
"playerIdReceived(int,QString)\0"
|
||||
"serverTimeout()\0actSay()\0actConnect()\0"
|
||||
"actDisconnect()\0actRestartGame()\0"
|
||||
"actLeaveGame()\0actDeckEditor()\0checked\0"
|
||||
"actFullScreen(bool)\0actSettings()\0"
|
||||
"actExit()\0updateSceneSize()\0"
|
||||
};
|
||||
|
||||
const QMetaObject MainWindow::staticMetaObject = {
|
||||
{ &QMainWindow::staticMetaObject, qt_meta_stringdata_MainWindow,
|
||||
qt_meta_data_MainWindow, 0 }
|
||||
};
|
||||
|
||||
const QMetaObject *MainWindow::metaObject() const
|
||||
{
|
||||
return &staticMetaObject;
|
||||
}
|
||||
|
||||
void *MainWindow::qt_metacast(const char *_clname)
|
||||
{
|
||||
if (!_clname) return 0;
|
||||
if (!strcmp(_clname, qt_meta_stringdata_MainWindow))
|
||||
return static_cast<void*>(const_cast< MainWindow*>(this));
|
||||
return QMainWindow::qt_metacast(_clname);
|
||||
}
|
||||
|
||||
int MainWindow::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
_id = QMainWindow::qt_metacall(_c, _id, _a);
|
||||
if (_id < 0)
|
||||
return _id;
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
switch (_id) {
|
||||
case 0: logConnecting((*reinterpret_cast< QString(*)>(_a[1]))); break;
|
||||
case 1: logDisconnected(); break;
|
||||
case 2: hoverCard((*reinterpret_cast< QString(*)>(_a[1]))); break;
|
||||
case 3: playerAdded((*reinterpret_cast< Player*(*)>(_a[1]))); break;
|
||||
case 4: playerRemoved((*reinterpret_cast< Player*(*)>(_a[1]))); break;
|
||||
case 5: statusChanged((*reinterpret_cast< ProtocolStatus(*)>(_a[1]))); break;
|
||||
case 6: playerIdReceived((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< QString(*)>(_a[2]))); break;
|
||||
case 7: serverTimeout(); break;
|
||||
case 8: actSay(); break;
|
||||
case 9: actConnect(); break;
|
||||
case 10: actDisconnect(); break;
|
||||
case 11: actRestartGame(); break;
|
||||
case 12: actLeaveGame(); break;
|
||||
case 13: actDeckEditor(); break;
|
||||
case 14: actFullScreen((*reinterpret_cast< bool(*)>(_a[1]))); break;
|
||||
case 15: actSettings(); break;
|
||||
case 16: actExit(); break;
|
||||
case 17: updateSceneSize(); break;
|
||||
default: ;
|
||||
}
|
||||
_id -= 18;
|
||||
}
|
||||
return _id;
|
||||
}
|
||||
|
||||
// SIGNAL 0
|
||||
void MainWindow::logConnecting(QString _t1)
|
||||
{
|
||||
void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 0, _a);
|
||||
}
|
||||
|
||||
// SIGNAL 1
|
||||
void MainWindow::logDisconnected()
|
||||
{
|
||||
QMetaObject::activate(this, &staticMetaObject, 1, 0);
|
||||
}
|
||||
QT_END_MOC_NAMESPACE
|
||||
BIN
cockatrice/build/moc_window_main.o
Normal file
BIN
cockatrice/build/moc_window_main.o
Normal file
Binary file not shown.
63
cockatrice/build/moc_window_sets.cpp
Normal file
63
cockatrice/build/moc_window_sets.cpp
Normal file
|
|
@ -0,0 +1,63 @@
|
|||
/****************************************************************************
|
||||
** Meta object code from reading C++ file 'window_sets.h'
|
||||
**
|
||||
** Created: Thu Jul 30 20:38:19 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/window_sets.h"
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'window_sets.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_WndSets[] = {
|
||||
|
||||
// content:
|
||||
2, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
0, 0, // methods
|
||||
0, 0, // properties
|
||||
0, 0, // enums/sets
|
||||
0, 0, // constructors
|
||||
|
||||
0 // eod
|
||||
};
|
||||
|
||||
static const char qt_meta_stringdata_WndSets[] = {
|
||||
"WndSets\0"
|
||||
};
|
||||
|
||||
const QMetaObject WndSets::staticMetaObject = {
|
||||
{ &QMainWindow::staticMetaObject, qt_meta_stringdata_WndSets,
|
||||
qt_meta_data_WndSets, 0 }
|
||||
};
|
||||
|
||||
const QMetaObject *WndSets::metaObject() const
|
||||
{
|
||||
return &staticMetaObject;
|
||||
}
|
||||
|
||||
void *WndSets::qt_metacast(const char *_clname)
|
||||
{
|
||||
if (!_clname) return 0;
|
||||
if (!strcmp(_clname, qt_meta_stringdata_WndSets))
|
||||
return static_cast<void*>(const_cast< WndSets*>(this));
|
||||
return QMainWindow::qt_metacast(_clname);
|
||||
}
|
||||
|
||||
int WndSets::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
_id = QMainWindow::qt_metacall(_c, _id, _a);
|
||||
if (_id < 0)
|
||||
return _id;
|
||||
return _id;
|
||||
}
|
||||
QT_END_MOC_NAMESPACE
|
||||
BIN
cockatrice/build/moc_window_sets.o
Normal file
BIN
cockatrice/build/moc_window_sets.o
Normal file
Binary file not shown.
99
cockatrice/build/moc_zoneviewlayout.cpp
Normal file
99
cockatrice/build/moc_zoneviewlayout.cpp
Normal file
|
|
@ -0,0 +1,99 @@
|
|||
/****************************************************************************
|
||||
** Meta object code from reading C++ file 'zoneviewlayout.h'
|
||||
**
|
||||
** Created: Thu Jul 30 20:38:14 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/zoneviewlayout.h"
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'zoneviewlayout.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_ZoneViewLayout[] = {
|
||||
|
||||
// content:
|
||||
2, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
7, 12, // methods
|
||||
0, 0, // properties
|
||||
0, 0, // enums/sets
|
||||
0, 0, // constructors
|
||||
|
||||
// signals: signature, parameters, type, tag, flags
|
||||
16, 15, 15, 15, 0x05,
|
||||
|
||||
// slots: signature, parameters, type, tag, flags
|
||||
58, 30, 15, 15, 0x0a,
|
||||
110, 94, 15, 15, 0x2a,
|
||||
147, 142, 15, 15, 0x0a,
|
||||
175, 142, 15, 15, 0x0a,
|
||||
201, 15, 15, 15, 0x0a,
|
||||
227, 15, 15, 15, 0x0a,
|
||||
|
||||
0 // eod
|
||||
};
|
||||
|
||||
static const char qt_meta_stringdata_ZoneViewLayout[] = {
|
||||
"ZoneViewLayout\0\0sizeChanged()\0"
|
||||
"player,zoneName,numberCards\0"
|
||||
"toggleZoneView(Player*,QString,int)\0"
|
||||
"player,zoneName\0toggleZoneView(Player*,QString)\0"
|
||||
"item\0removeItem(ZoneViewWidget*)\0"
|
||||
"removeItem(ZoneViewZone*)\0"
|
||||
"closeMostRecentZoneView()\0clear()\0"
|
||||
};
|
||||
|
||||
const QMetaObject ZoneViewLayout::staticMetaObject = {
|
||||
{ &QGraphicsWidget::staticMetaObject, qt_meta_stringdata_ZoneViewLayout,
|
||||
qt_meta_data_ZoneViewLayout, 0 }
|
||||
};
|
||||
|
||||
const QMetaObject *ZoneViewLayout::metaObject() const
|
||||
{
|
||||
return &staticMetaObject;
|
||||
}
|
||||
|
||||
void *ZoneViewLayout::qt_metacast(const char *_clname)
|
||||
{
|
||||
if (!_clname) return 0;
|
||||
if (!strcmp(_clname, qt_meta_stringdata_ZoneViewLayout))
|
||||
return static_cast<void*>(const_cast< ZoneViewLayout*>(this));
|
||||
return QGraphicsWidget::qt_metacast(_clname);
|
||||
}
|
||||
|
||||
int ZoneViewLayout::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
_id = QGraphicsWidget::qt_metacall(_c, _id, _a);
|
||||
if (_id < 0)
|
||||
return _id;
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
switch (_id) {
|
||||
case 0: sizeChanged(); break;
|
||||
case 1: toggleZoneView((*reinterpret_cast< Player*(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break;
|
||||
case 2: toggleZoneView((*reinterpret_cast< Player*(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
|
||||
case 3: removeItem((*reinterpret_cast< ZoneViewWidget*(*)>(_a[1]))); break;
|
||||
case 4: removeItem((*reinterpret_cast< ZoneViewZone*(*)>(_a[1]))); break;
|
||||
case 5: closeMostRecentZoneView(); break;
|
||||
case 6: clear(); break;
|
||||
default: ;
|
||||
}
|
||||
_id -= 7;
|
||||
}
|
||||
return _id;
|
||||
}
|
||||
|
||||
// SIGNAL 0
|
||||
void ZoneViewLayout::sizeChanged()
|
||||
{
|
||||
QMetaObject::activate(this, &staticMetaObject, 0, 0);
|
||||
}
|
||||
QT_END_MOC_NAMESPACE
|
||||
BIN
cockatrice/build/moc_zoneviewlayout.o
Normal file
BIN
cockatrice/build/moc_zoneviewlayout.o
Normal file
Binary file not shown.
86
cockatrice/build/moc_zoneviewwidget.cpp
Normal file
86
cockatrice/build/moc_zoneviewwidget.cpp
Normal file
|
|
@ -0,0 +1,86 @@
|
|||
/****************************************************************************
|
||||
** Meta object code from reading C++ file 'zoneviewwidget.h'
|
||||
**
|
||||
** Created: Thu Jul 30 20:38:14 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/zoneviewwidget.h"
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'zoneviewwidget.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_ZoneViewWidget[] = {
|
||||
|
||||
// content:
|
||||
2, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
2, 12, // methods
|
||||
0, 0, // properties
|
||||
0, 0, // enums/sets
|
||||
0, 0, // constructors
|
||||
|
||||
// signals: signature, parameters, type, tag, flags
|
||||
19, 16, 15, 15, 0x05,
|
||||
|
||||
// slots: signature, parameters, type, tag, flags
|
||||
65, 49, 15, 15, 0x08,
|
||||
|
||||
0 // eod
|
||||
};
|
||||
|
||||
static const char qt_meta_stringdata_ZoneViewWidget[] = {
|
||||
"ZoneViewWidget\0\0zv\0closePressed(ZoneViewWidget*)\0"
|
||||
"commandId,cards\0"
|
||||
"zoneDumpReceived(int,QList<ServerZoneCard*>)\0"
|
||||
};
|
||||
|
||||
const QMetaObject ZoneViewWidget::staticMetaObject = {
|
||||
{ &QGraphicsWidget::staticMetaObject, qt_meta_stringdata_ZoneViewWidget,
|
||||
qt_meta_data_ZoneViewWidget, 0 }
|
||||
};
|
||||
|
||||
const QMetaObject *ZoneViewWidget::metaObject() const
|
||||
{
|
||||
return &staticMetaObject;
|
||||
}
|
||||
|
||||
void *ZoneViewWidget::qt_metacast(const char *_clname)
|
||||
{
|
||||
if (!_clname) return 0;
|
||||
if (!strcmp(_clname, qt_meta_stringdata_ZoneViewWidget))
|
||||
return static_cast<void*>(const_cast< ZoneViewWidget*>(this));
|
||||
return QGraphicsWidget::qt_metacast(_clname);
|
||||
}
|
||||
|
||||
int ZoneViewWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
_id = QGraphicsWidget::qt_metacall(_c, _id, _a);
|
||||
if (_id < 0)
|
||||
return _id;
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
switch (_id) {
|
||||
case 0: closePressed((*reinterpret_cast< ZoneViewWidget*(*)>(_a[1]))); break;
|
||||
case 1: zoneDumpReceived((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< QList<ServerZoneCard*>(*)>(_a[2]))); break;
|
||||
default: ;
|
||||
}
|
||||
_id -= 2;
|
||||
}
|
||||
return _id;
|
||||
}
|
||||
|
||||
// SIGNAL 0
|
||||
void ZoneViewWidget::closePressed(ZoneViewWidget * _t1)
|
||||
{
|
||||
void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 0, _a);
|
||||
}
|
||||
QT_END_MOC_NAMESPACE
|
||||
BIN
cockatrice/build/moc_zoneviewwidget.o
Normal file
BIN
cockatrice/build/moc_zoneviewwidget.o
Normal file
Binary file not shown.
BIN
cockatrice/build/pilezone.o
Normal file
BIN
cockatrice/build/pilezone.o
Normal file
Binary file not shown.
BIN
cockatrice/build/player.o
Normal file
BIN
cockatrice/build/player.o
Normal file
Binary file not shown.
BIN
cockatrice/build/playerarea.o
Normal file
BIN
cockatrice/build/playerarea.o
Normal file
Binary file not shown.
BIN
cockatrice/build/playerlist.o
Normal file
BIN
cockatrice/build/playerlist.o
Normal file
Binary file not shown.
BIN
cockatrice/build/qrc_cockatrice.o
Normal file
BIN
cockatrice/build/qrc_cockatrice.o
Normal file
Binary file not shown.
BIN
cockatrice/build/servereventdata.o
Normal file
BIN
cockatrice/build/servereventdata.o
Normal file
Binary file not shown.
BIN
cockatrice/build/setsmodel.o
Normal file
BIN
cockatrice/build/setsmodel.o
Normal file
Binary file not shown.
BIN
cockatrice/build/tablezone.o
Normal file
BIN
cockatrice/build/tablezone.o
Normal file
Binary file not shown.
BIN
cockatrice/build/window_deckeditor.o
Normal file
BIN
cockatrice/build/window_deckeditor.o
Normal file
Binary file not shown.
BIN
cockatrice/build/window_main.o
Normal file
BIN
cockatrice/build/window_main.o
Normal file
Binary file not shown.
BIN
cockatrice/build/window_sets.o
Normal file
BIN
cockatrice/build/window_sets.o
Normal file
Binary file not shown.
BIN
cockatrice/build/zonelist.o
Normal file
BIN
cockatrice/build/zonelist.o
Normal file
Binary file not shown.
BIN
cockatrice/build/zoneviewlayout.o
Normal file
BIN
cockatrice/build/zoneviewlayout.o
Normal file
Binary file not shown.
BIN
cockatrice/build/zoneviewwidget.o
Normal file
BIN
cockatrice/build/zoneviewwidget.o
Normal file
Binary file not shown.
BIN
cockatrice/build/zoneviewzone.o
Normal file
BIN
cockatrice/build/zoneviewzone.o
Normal file
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue