Changeset View
Changeset View
Standalone View
Standalone View
clock.h
Show All 39 Lines | |||||
40 | 40 | | |||
41 | 41 | | |||
42 | class Clock : public DealerScene | 42 | class Clock : public DealerScene | ||
43 | { | 43 | { | ||
44 | Q_OBJECT | 44 | Q_OBJECT | ||
45 | 45 | | |||
46 | public: | 46 | public: | ||
47 | explicit Clock( const DealerInfo * di ); | 47 | explicit Clock( const DealerInfo * di ); | ||
48 | void initialize() Q_DECL_OVERRIDE; | 48 | void initialize() override; | ||
49 | 49 | | |||
50 | protected: | 50 | protected: | ||
51 | bool checkAdd(const PatPile * pile, const QList<KCard*> & oldCards, const QList<KCard*> & newCards) const Q_DECL_OVERRIDE; | 51 | bool checkAdd(const PatPile * pile, const QList<KCard*> & oldCards, const QList<KCard*> & newCards) const override; | ||
52 | bool checkRemove(const PatPile* pile, const QList<KCard*> & cards) const Q_DECL_OVERRIDE; | 52 | bool checkRemove(const PatPile* pile, const QList<KCard*> & cards) const override; | ||
53 | void restart( const QList<KCard*> & cards ) Q_DECL_OVERRIDE; | 53 | void restart( const QList<KCard*> & cards ) override; | ||
54 | 54 | | |||
55 | protected slots: | 55 | protected slots: | ||
56 | bool drop() Q_DECL_OVERRIDE; | 56 | bool drop() override; | ||
57 | 57 | | |||
58 | private: | 58 | private: | ||
59 | PatPile* store[8]; | 59 | PatPile* store[8]; | ||
60 | PatPile* target[12]; | 60 | PatPile* target[12]; | ||
61 | 61 | | |||
62 | friend class ClockSolver; | 62 | friend class ClockSolver; | ||
63 | }; | 63 | }; | ||
64 | 64 | | |||
65 | #endif | 65 | #endif |