[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    branches/work/soc-parley/parley/practice
From:       David Capel <wot.narg () gmail ! com>
Date:       2008-05-29 4:47:00
Message-ID: 1212036420.106981.24639.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 814012 by capel:

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 relavent 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.




 M  +8 -3      CMakeLists.txt  
 M  +242 -167  answervalidator.cpp  
 M  +96 -88    answervalidator.h  
 A             entryfilter.cpp   [License: GPL (v2+)]
 A             entryfilter.h   [License: GPL (v2+)]
 M  +11 -6     hint.cpp  
 M  +3 -33     hint.h  
 M  +21 -28    input.cpp  
 M  +9 -75     input.h  
 M  +97 -56    parleypracticemainwindow.cpp  
 M  +11 -0     parleypracticemainwindow.h  
 A             practiceprefs.cpp   [License: GENERATED FILE]
 A             practiceprefs.h   [License: GENERATED FILE]
 A             practiceprefs.kcfgc  
 M  +3 -83     prompt.cpp  
 M  +27 -66    prompt.h  
 D             questiondisplay.cpp  
 D             questiondisplay.h  
 M  +106 -53   statistics.cpp  
 M  +61 -43    statistics.h  
 M  +13 -48    stdbuttons.cpp  
 M  +12 -19    stdbuttons.h  
 A             testentrymanager.cpp   [License: UNKNOWN]
 A             testentrymanager.h   [License: GPL (v2+)]


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic