diff options
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; |