Revision 814012

Go back to digest for 1st June 2008

Other in Educational

David Capel committed changes in /branches/work/soc-parley/parley/practice:

This commit is a major redesign that was suggested by fregl. The entry-related logic has been taken out of the Input and Prompt classes and moved into the TestEntryManager and AnswerValidator classes. Additionally, some files from the old practice directory have been moved here and subsumed into this project.

Notable changes from the previous TestEntryManager and AnswerValidator classes are the elimination of the TestEntry class (it is redundant in my design and will only get in the way) and the use of signals instead of return values, which fits my design of very loosely-fitting practice elements.

Additionally, most common actions have been changed into KActions and the prefs.h in from the parley src has been copied and changed to practiceprefs.h (and reduced to only relevant config options).

This commit compiles but crashes on startup.

I'll hunt down the crash bug later, but I want to get this change commited.

File Changes

Added 7 files
  • /branches/work/soc-parley/parley/practice
  •   /entryfilter.cpp
  •   /entryfilter.h
  •   /practiceprefs.cpp
  •   /practiceprefs.h
  •   /practiceprefs.kcfgc
  •   /testentrymanager.cpp
  •   /testentrymanager.h
Deleted 2 files
  • /branches/work/soc-parley/parley/practice
  •   /questiondisplay.cpp
  •   /questiondisplay.h
Modified 15 files
  • /branches/work/soc-parley/parley/practice
  •   /answervalidator.cpp
  •   /answervalidator.h
  •   /CMakeLists.txt
  •   /hint.cpp
  •   /hint.h
  •   /input.cpp
  •   /input.h
  •   /parleypracticemainwindow.cpp
  •   /parleypracticemainwindow.h
  •   /prompt.cpp
  •   /prompt.h
  •   /statistics.cpp
  •   /statistics.h
  •   /stdbuttons.cpp
  •   /stdbuttons.h
24 files changed in total