renamed playerzone to cardzone

This commit is contained in:
Max-Wilhelm Bruker 2009-03-25 15:08:36 +01:00
parent 141b116528
commit 8782438fcc
28 changed files with 106 additions and 106 deletions

View file

@ -1,20 +1,20 @@
#ifndef ZONEVIEWERZONE_H
#define ZONEVIEWERZONE_H
#include "playerzone.h"
#include "cardzone.h"
#include "serverzonecard.h"
class ZoneViewWidget;
class ZoneViewZone : public PlayerZone {
class ZoneViewZone : public CardZone {
private:
int numberCards;
void handleDropEvent(int cardId, PlayerZone *startZone, const QPoint &dropPoint);
PlayerZone *origZone;
void handleDropEvent(int cardId, CardZone *startZone, const QPoint &dropPoint);
CardZone *origZone;
signals:
void removeZoneViewWidget(ZoneViewWidget *zv);
public:
ZoneViewZone(Player *_p, PlayerZone *_origZone, int _numberCards = 0, QGraphicsItem *parent = 0);
ZoneViewZone(Player *_p, CardZone *_origZone, int _numberCards = 0, QGraphicsItem *parent = 0);
~ZoneViewZone();
QRectF boundingRect() const;
void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget);