summaryrefslogtreecommitdiffstats
path: root/kpat/clock.h
blob: 8aaead34972d80e6302b89f8c016385d3b98ef48 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#ifndef CLOCK_H
#define CLOCK_H

#include "dealer.h"

class Clock : public Dealer {
    Q_OBJECT
  TQ_OBJECT

public:
    Clock( KMainWindow* tqparent=0, const char* name=0);
    virtual bool checkAdd   ( int checkIndex, const Pile *c1, const CardList& c2) const;
    virtual bool startAutoDrop() { return false; }

public slots:
    void deal();
    virtual void restart();

private:
    Pile* store[8];
    Pile* target[12];
    Deck *deck;
};

#endif