declination -> declension
Better not use german grammar terms ;)
Thank you very much for discovering this so early Yukiko!
CCMAIL: ybando@k6.dion.ne.jp
Make caching of the vocabs of sublessons work, now recursive view of lessons is fast enough.
Still disabled by default as modeltest doesn't like me and asserts when attempting to insert an entry.
Start some feeble attempt to implement Cut for vocabs.
fix the commit from yesterday, with the new INSTALL_TARGETS_DEFAULT_ARGS the argument
DESTINATION is not required anymore, this is already contained in this variable
Change the way grades are handled fundamentally.
Too bad, I didn't have the idea long ago.
Much simpler:
one grade for each word, no longer the fromTranslation.
So whenever the user gets abc right, abc gets it's grade increased.
Translation inherits from the new Text class.
The new class KEduVocText will be used instead of QString in many places
to for ex allow grades for individual conjugation forms etc.
Add initial unittests for translation class.
Cleanup issues with word types - deletion was buggy.
Write UNITTESTS for the same.
Start caching recursive entries, still much to do there.
pino, this is for you ;)
Fix missing copy constructor which resulted in a pointer being copied
for child translations instead of values.
BUG: 155310
Sorry Peter, you were right, my bad :)
Carsten Niehaus [Tue, 22 Jan 2008 18:59:52 +0000 (18:59 +0000)]
This patch adds the 0 to those elements that have been know to ancient cultures. This is not complete, I need to port it to the BLueObelesik first and then resync KDE with it.
The codechanges are complete though. Well, the colour sucks, I need to find a better one
Make use of the new api, displaying the entries of a lesson and its
child lessons is a breeze. Disabled because it's horribly slow.
As soon as lessons keep track of their child lesson entries this will
come at reasonable speed.
Redo of the lib. Merge of the 4.1 branch to trunk.
This is a rather big change, which affects the apps using libkdeedu.
I guess there are quite a few bugs left. So far I know the destructor of
either expression or translation sometimes seems to double delete. Need
to look into that.
Start an experimental new practice app that is independend of the main
app. Still hardly anything implemented there.
FEATURE: Parley: New main window gui using dock windows. The edit entry
dialog does no longer exist. It is much nicer to edit vocabulary now.
Ported KHangMan, KAnagram, KWordQuiz and Parley
Notes:
-Containers: There are two subclasses for KEduVocContainer.
KEduVocLesson and KEduVocWordType. This is very benificial as from now
on, I can use the same models/views for both in parley. Leitner boxes
are also easy to realize subclassing the containers.
-The KEduVocDocument class was huge and contained some functions
specific to expression handling. This redundand api has been removed.
instead the document now contains one root lesson
(KEduVocDocument::lesson()) to manage all entries. This lesson can
contain entries directly as well as child lessons. This makes it easy to
access all vocabulary entries by using doc->lesson()->entriesRecursive()
which collects all entries including those from sublessons.
-Lessons and word types are now able to contain child lessons/word types
to an arbitrary depth.
-Entries can be in multiple lessons.
-Expression->translation() now returns a pointer. This is more
consistent and avoids some reference trouble. In general now everything
is a pointer (containers also).
-KWordQuiz now saves the size hints per document in the kconfig. This
could also be used for cell heights.
-KWordQuiz only edits entries in the top level lesson. I'll change it to
use all entries in the document.
-Statistics in Parley are disabled for now, needs to be rewritten.
-Usages have been removed completely.
-Comparison forms do no longer have a proper class but only two strings.
Eventually it should be considered making them a class to support
male/female again. The base form should always be the adjective/adverb
itself.
I hope everything works, but I must have missed something. Bug me.
Enable the readers including kvtml-1 also in code and finish porting it
to a works somewhat state.
Reading subwordtypes is still not working because they are not created
correctly in the init section of the compability class.
Remove last references to usage stuff (no one will miss it).
Some cleanup of the horrible horrible kvtml-1 reader code.
I will have to drop the kvtml-1 writer. Too much effort and too many
things that cannot be saved in the old format.
Add even more sanity:
- When deleting an entry, let's remove it from the word type lesson.
- Only delete an entry when deleting the last lesson holding it.
Start a drag and drop implemntation for the lesson model/view.
Moving lessons around works, adding them as child has a tendency to add
the first instead of the selected lesson. Probably trivial.
Lots of cleanup.
WordType class has now always WordType as type, the special types are
handled in the class by a function.
Feature: Enable navigation by lesson and word type in the same manner.
When selecting any word in the big table, automatically its word type
and lesson will be selected in the corresponding views. If a word type
is selected, all words of this type end up in the main table.
blinken does not like the wordwrapping text so make it configurable with a flags parameter, this is bic but sc, besides we never guaranteed any kind of bc on libkdeeduui
Add a word type class derived from container.
Make the layout of the word type widget better.
Make the adjective/adverb buttons work.
Save the changes to the comparison forms.
Merged revisions 735356-742172 via svnmerge from
svn://anonsvn.kde.org/home/kde/trunk/KDE/kdeedu
Finally have nice lesson and word type handling.
For now word types still use the unmodified lesson class.
Last cleanup the definition of KVTML-2 XML for KDE4.
Word types were badly defined and multiple strings written in the entries.
- For the next release word types will use the lesson class.
- The container (KEduVocContainer, the current lesson) will be the base for Leitner, Lesson and Word Type.
Rename some writeType to writeWordType.
Update the dtd
Rename wordTypeLesson -> wordTypeContainer in KEduVocDocument.
Add a parameter to the LessonModel constructor to determine its type.
Call WordTypeDockWidget::setDocument from ParleyApp::updateDocument() to display the word types.
CCMAIL:pete@pmurdoch.com
Change expression to contain a pointer to its translations and the translations have a pointer to their parent expression.
Also translation now contain pointers to their word types represented by lessons.