Diffstat (limited to 'noncore/games/minesweep/minefield.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/games/minesweep/minefield.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/noncore/games/minesweep/minefield.h b/noncore/games/minesweep/minefield.h index e243d77..8d0f754 100644 --- a/noncore/games/minesweep/minefield.h +++ b/noncore/games/minesweep/minefield.h | |||
@@ -73,26 +73,26 @@ protected: | |||
73 | const Mine *mine( int row, int col ) const { return onBoard(row, col ) ? mines[row+numCols*col] : 0; } | 73 | const Mine *mine( int row, int col ) const { return onBoard(row, col ) ? mines[row+numCols*col] : 0; } |
74 | 74 | ||
75 | protected slots: | 75 | protected slots: |
76 | void cellPressed( int row, int col ); | 76 | void cellPressed( int row, int col ); |
77 | void cellClicked( int row, int col ); | 77 | void cellClicked( int row, int col ); |
78 | void held(); | 78 | void held(); |
79 | 79 | ||
80 | private: | 80 | private: |
81 | int findCellSize(); | 81 | int findCellSize(); |
82 | void setCellSize( int ); | 82 | void setCellSize( int ); |
83 | 83 | ||
84 | State stat; | 84 | State stat; |
85 | void MineField::setState( State st ); | 85 | void setState( State st ); |
86 | void MineField::placeMines(); | 86 | void placeMines(); |
87 | enum FlagAction { NoAction, FlagOn, FlagNext }; | 87 | enum FlagAction { NoAction, FlagOn, FlagNext }; |
88 | FlagAction flagAction; | 88 | FlagAction flagAction; |
89 | bool ignoreClick; | 89 | bool ignoreClick; |
90 | int currRow; | 90 | int currRow; |
91 | int currCol; | 91 | int currCol; |
92 | int numRows, numCols; | 92 | int numRows, numCols; |
93 | 93 | ||
94 | int minecount; | 94 | int minecount; |
95 | int mineguess; | 95 | int mineguess; |
96 | int nonminecount; | 96 | int nonminecount; |
97 | int lev; | 97 | int lev; |
98 | QRect availableRect; | 98 | QRect availableRect; |