summaryrefslogtreecommitdiff
path: root/noncore
authormickeyl <mickeyl>2006-05-25 22:25:45 (UTC)
committer mickeyl <mickeyl>2006-05-25 22:25:45 (UTC)
commitedc6b08e3914537d6885e3474036ad4924f185f3 (patch) (unidiff)
tree755be9de7fd3ad8a274ec8ac4515c3e92999a4e9 /noncore
parent1004aa580c4f115b9959027deb7f19997adc9df8 (diff)
downloadopie-edc6b08e3914537d6885e3474036ad4924f185f3.zip
opie-edc6b08e3914537d6885e3474036ad4924f185f3.tar.gz
opie-edc6b08e3914537d6885e3474036ad4924f185f3.tar.bz2
g++ 4.1.1 fix
Diffstat (limited to 'noncore') (more/less context) (show whitespace changes)
-rw-r--r--noncore/games/minesweep/minefield.h4
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
75protected slots: 75protected 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
80private: 80private:
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;