diff options
author | Stijn Buys <ingar@osirion.org> | 2013-07-12 21:08:47 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2013-07-12 21:08:47 +0000 |
commit | 1346537ab4fbd6c9853161c4accc8073a9975372 (patch) | |
tree | 203e1e7763b2cd8682b49631ec1b398359fd2be6 /src/solverwindow.h | |
parent | aa5c080e6d8a5eb3ebdfab72ad268042726aa2bf (diff) |
Cleans up user interface actions and message boxes.
Diffstat (limited to 'src/solverwindow.h')
-rw-r--r-- | src/solverwindow.h | 40 |
1 files changed, 18 insertions, 22 deletions
diff --git a/src/solverwindow.h b/src/solverwindow.h index 4520c9e..dc2e595 100644 --- a/src/solverwindow.h +++ b/src/solverwindow.h @@ -22,41 +22,37 @@ public: public slots: - void load(); - void save(); - void saveas(); - void revert(); + void doNew(); + void doOpen(); + void doSave(); + void doSaveAs(); + void doRevert(); /** - * @brief try to find a solution by using the rules only + * @brief try to solve a single cell by using the rules only * */ - void solve(); - + void doStep(); /** - * @brief try to find a solution by guessing where required + * @brief try to solve a single cell by guessing where required * */ - void search(); - + void doGuess(); /** - * @brief try to solve a single cell by using the rules only + * @brief try to find a solution by using the rules only * */ - void step(); - - void step_constraints(); - void step_coverage(); - + void doSolve(); /** - * @brief try to solve a single cell by guessing where required + * @brief try to find a solution by guessing where required * */ - void guess(); + void doSearch(); - void clear(); - - void validate(); + void doValidate(); private: + void step_constraints(); + void step_coverage(); + void saveToFile(const QString & filename); - void loadFromFile(const QString & filename); + void openFromFile(const QString & filename); SudokuWidget *solverwindow_sudokuwidget; Sudoku solverwindow_revertstate; |