Diffstat (limited to 'noncore/games/solitaire/card.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/games/solitaire/card.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/noncore/games/solitaire/card.cpp b/noncore/games/solitaire/card.cpp index 609e280..52e38ac 100644 --- a/noncore/games/solitaire/card.cpp +++ b/noncore/games/solitaire/card.cpp | |||
@@ -11,28 +11,25 @@ | |||
11 | ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE | 11 | ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE |
12 | ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. | 12 | ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. |
13 | ** | 13 | ** |
14 | ** See http://www.trolltech.com/gpl/ for GPL licensing information. | 14 | ** See http://www.trolltech.com/gpl/ for GPL licensing information. |
15 | ** | 15 | ** |
16 | ** Contact info@trolltech.com if any conditions of this licensing are | 16 | ** Contact info@trolltech.com if any conditions of this licensing are |
17 | ** not clear to you. | 17 | ** not clear to you. |
18 | ** | 18 | ** |
19 | **********************************************************************/ | 19 | **********************************************************************/ |
20 | 20 | ||
21 | #include "card.h" | 21 | #include "card.h" |
22 | 22 | ||
23 | #include <qpe/config.h> | ||
24 | 23 | ||
25 | #include <qpoint.h> | ||
26 | #include <qlist.h> | ||
27 | 24 | ||
28 | /* | 25 | /* |
29 | Card( eValue v, eSuit s, bool f ) : | 26 | Card( eValue v, eSuit s, bool f ) : |
30 | val(v), suit(s), faceUp(f), showing(FALSE), ix(0), iy(0), iz(0), cardPile(NULL) { } | 27 | val(v), suit(s), faceUp(f), showing(FALSE), ix(0), iy(0), iz(0), cardPile(NULL) { } |
31 | virtual ~Card() { } | 28 | virtual ~Card() { } |
32 | eValue getValue() { return val; } | 29 | eValue getValue() { return val; } |
33 | eSuit getSuit() { return suit; } | 30 | eSuit getSuit() { return suit; } |
34 | CardPile *getCardPile() { return cardPile; } | 31 | CardPile *getCardPile() { return cardPile; } |
35 | bool isFacing() { return faceUp; } | 32 | bool isFacing() { return faceUp; } |
36 | bool isShowing() { return showing; } | 33 | bool isShowing() { return showing; } |
37 | bool isRed() { return ((suit == diamonds) || (suit == hearts)); } | 34 | bool isRed() { return ((suit == diamonds) || (suit == hearts)); } |
38 | int getX(void) { return ix; } | 35 | int getX(void) { return ix; } |