Changeset View
Changeset View
Standalone View
Standalone View
yukon.h
Show First 20 Lines • Show All 41 Lines • ▼ Show 20 Line(s) | |||||
42 | class Yukon : public DealerScene | 42 | class Yukon : public DealerScene | ||
43 | { | 43 | { | ||
44 | friend class YukonSolver; | 44 | friend class YukonSolver; | ||
45 | 45 | | |||
46 | Q_OBJECT | 46 | Q_OBJECT | ||
47 | 47 | | |||
48 | public: | 48 | public: | ||
49 | explicit Yukon( const DealerInfo * di ); | 49 | explicit Yukon( const DealerInfo * di ); | ||
50 | void initialize() Q_DECL_OVERRIDE; | 50 | void initialize() override; | ||
51 | 51 | | |||
52 | public slots: | 52 | public slots: | ||
53 | void restart( const QList<KCard*> & cards ) Q_DECL_OVERRIDE; | 53 | void restart( const QList<KCard*> & cards ) override; | ||
54 | 54 | | |||
55 | protected: | 55 | protected: | ||
56 | bool checkAdd(const PatPile * pile, const QList<KCard*> & oldCards, const QList<KCard*> & newCards) const Q_DECL_OVERRIDE; | 56 | bool checkAdd(const PatPile * pile, const QList<KCard*> & oldCards, const QList<KCard*> & newCards) const override; | ||
57 | bool checkRemove(const PatPile * pile, const QList<KCard*> & cards) const Q_DECL_OVERRIDE; | 57 | bool checkRemove(const PatPile * pile, const QList<KCard*> & cards) const override; | ||
58 | 58 | | |||
59 | private: | 59 | private: | ||
60 | PatPile* store[7]; | 60 | PatPile* store[7]; | ||
61 | PatPile* target[4]; | 61 | PatPile* target[4]; | ||
62 | }; | 62 | }; | ||
63 | 63 | | |||
64 | #endif | 64 | #endif |