Changeset View
Changeset View
Standalone View
Standalone View
src/gui/ksudokugame.h
Show First 20 Lines • Show All 212 Lines • ▼ Show 20 Line(s) | 116 | public: | |||
---|---|---|---|---|---|
213 | 213 | | |||
214 | /** | 214 | /** | ||
215 | * Returns whether the user requested some hint. | 215 | * Returns whether the user requested some hint. | ||
216 | * @see giveHint(), autoSolve() | 216 | * @see giveHint(), autoSolve() | ||
217 | */ | 217 | */ | ||
218 | bool userHadHelp() const; | 218 | bool userHadHelp() const; | ||
219 | 219 | | |||
220 | /** | 220 | /** | ||
221 | * Returns whether the game was allready solved. | 221 | * Returns whether the game was already solved. | ||
222 | */ | 222 | */ | ||
223 | bool wasFinished() const; | 223 | bool wasFinished() const; | ||
224 | 224 | | |||
225 | /** | 225 | /** | ||
226 | * Sets whether the user had requested some hint. | 226 | * Sets whether the user had requested some hint. | ||
227 | * @note This method is for loading/saving only | 227 | * @note This method is for loading/saving only | ||
228 | * @see userHadHelp(), giveHint(), autoSolve() | 228 | * @see userHadHelp(), giveHint(), autoSolve() | ||
229 | */ | 229 | */ | ||
Show All 20 Lines | |||||
250 | HistoryEvent historyEvent(int i) const; | 250 | HistoryEvent historyEvent(int i) const; | ||
251 | 251 | | |||
252 | /** | 252 | /** | ||
253 | * Set the parent of message-box dialogs (used in data-entry of cages). | 253 | * Set the parent of message-box dialogs (used in data-entry of cages). | ||
254 | */ | 254 | */ | ||
255 | void setMessageParent (QWidget * messageParent); | 255 | void setMessageParent (QWidget * messageParent); | ||
256 | QWidget * messageParent(); | 256 | QWidget * messageParent(); | ||
257 | 257 | | |||
258 | /* | ||||
259 | * Returns true if all values are filled in (not empty) | ||||
260 | * and in usable areas (as in Samurai); false otherwise | ||||
261 | */ | ||||
262 | bool allValuesSetAndUsable() const; | ||||
aacid: this looks like it could be const | |||||
263 | | ||||
258 | private: | 264 | private: | ||
259 | /** | 265 | /** | ||
260 | * When the game was finished this function emits a @c completed() | 266 | * When the game was finished this function emits a @c completed() | ||
261 | */ | 267 | */ | ||
262 | void checkCompleted(); | 268 | void checkCompleted(); | ||
263 | 269 | | |||
264 | void finishCurrentCage (SKGraph * graph); | 270 | void finishCurrentCage (SKGraph * graph); | ||
265 | void deleteCageAt (int pos, SKGraph * graph); | 271 | void deleteCageAt (int pos, SKGraph * graph); | ||
Show All 15 Lines |
this looks like it could be const