Changeset View
Changeset View
Standalone View
Standalone View
spider.cpp
Show First 20 Lines • Show All 51 Lines • ▼ Show 20 Line(s) | |||||
52 | { | 52 | { | ||
53 | public: | 53 | public: | ||
54 | InvisiblePile( DealerScene * scene, int index, const QString & objectName = QString() ) | 54 | InvisiblePile( DealerScene * scene, int index, const QString & objectName = QString() ) | ||
55 | : PatPile( scene, index, objectName ) | 55 | : PatPile( scene, index, objectName ) | ||
56 | { | 56 | { | ||
57 | }; | 57 | }; | ||
58 | 58 | | |||
59 | protected: | 59 | protected: | ||
60 | void paintGraphic( QPainter * painter, qreal highlightedness ) Q_DECL_OVERRIDE | 60 | void paintGraphic( QPainter * painter, qreal highlightedness ) override | ||
61 | { | 61 | { | ||
62 | Q_UNUSED( painter ); | 62 | Q_UNUSED( painter ); | ||
63 | Q_UNUSED( highlightedness ); | 63 | Q_UNUSED( highlightedness ); | ||
64 | }; | 64 | }; | ||
65 | }; | 65 | }; | ||
66 | 66 | | |||
67 | 67 | | |||
68 | Spider::Spider( const DealerInfo * di ) | 68 | Spider::Spider( const DealerInfo * di ) | ||
▲ Show 20 Lines • Show All 427 Lines • ▼ Show 20 Line(s) | 495 | public: | |||
496 | SpideDealerInfo() | 496 | SpideDealerInfo() | ||
497 | : DealerInfo(I18N_NOOP("Spider"), SpiderGeneralId) | 497 | : DealerInfo(I18N_NOOP("Spider"), SpiderGeneralId) | ||
498 | { | 498 | { | ||
499 | addSubtype( SpiderOneSuitId, I18N_NOOP( "Spider (1 Suit)" ) ); | 499 | addSubtype( SpiderOneSuitId, I18N_NOOP( "Spider (1 Suit)" ) ); | ||
500 | addSubtype( SpiderTwoSuitId, I18N_NOOP( "Spider (2 Suit)" ) ); | 500 | addSubtype( SpiderTwoSuitId, I18N_NOOP( "Spider (2 Suit)" ) ); | ||
501 | addSubtype( SpiderFourSuitId, I18N_NOOP( "Spider (4 Suit)" ) ); | 501 | addSubtype( SpiderFourSuitId, I18N_NOOP( "Spider (4 Suit)" ) ); | ||
502 | } | 502 | } | ||
503 | 503 | | |||
504 | DealerScene *createGame() const Q_DECL_OVERRIDE | 504 | DealerScene *createGame() const override | ||
505 | { | 505 | { | ||
506 | return new Spider( this ); | 506 | return new Spider( this ); | ||
507 | } | 507 | } | ||
508 | } spideDealerInfo; | 508 | } spideDealerInfo; | ||
509 | 509 | | |||
510 | 510 | | |||
511 | 511 | |