removed some unneeded code, counter appearance changed

This commit is contained in:
Max-Wilhelm Bruker 2009-09-25 12:56:11 +02:00
parent a543c9b90c
commit 29699418d2
20 changed files with 293 additions and 242 deletions

View file

@ -29,6 +29,8 @@ protected:
virtual void addCardImpl(CardItem *card, int x, int y) = 0;
signals:
void contentsChanged();
public slots:
void moveAllToZone();
public:
enum { Type = typeZone };
int type() const { return Type; }
@ -52,9 +54,8 @@ public:
virtual CardItem *takeCard(int position, int cardId, const QString &cardName, bool canResize = true);
void setCardAttr(int cardId, const QString &aname, const QString &avalue);
ZoneViewZone *getView() const { return view; }
void setView(ZoneViewZone *_view);
void setView(ZoneViewZone *_view) { view = _view; }
virtual void reorganizeCards() = 0;
void moveAllToZone(const QString &targetZone, int targetX);
virtual QPointF closestGridPoint(const QPointF &point);
};