]> Git trees. - libqmvoc.git/log
libqmvoc.git
17 years agoFix reading of some kde3 kvtml1 docs.
Frederik Gladhorn [Sun, 23 Mar 2008 14:58:58 +0000 (14:58 +0000)]
Fix reading of some kde3 kvtml1 docs.

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=789195

17 years agoAlso show the new docks in the menu.
Frederik Gladhorn [Sun, 23 Mar 2008 11:02:35 +0000 (11:02 +0000)]
Also show the new docks in the menu.

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=789135

17 years agoParley now supports Synonyms, Antonyms and False Friends that are connections to...
Frederik Gladhorn [Sun, 23 Mar 2008 11:02:30 +0000 (11:02 +0000)]
Parley now supports Synonyms, Antonyms and False Friends that are connections to other words.
FEATURE: 151382
Write not always synonyms but also antonyms and false friends

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=789134

17 years agoGet synonym/antonym/false friend right in the gui.
Frederik Gladhorn [Sun, 23 Mar 2008 11:02:27 +0000 (11:02 +0000)]
Get synonym/antonym/false friend right in the gui.

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=789133

17 years agoImplement removal of synonyms.
Frederik Gladhorn [Sun, 23 Mar 2008 11:02:22 +0000 (11:02 +0000)]
Implement removal of synonyms.
Getting there :)

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=789132

17 years agoRead also false friend and antonym.
Frederik Gladhorn [Sun, 23 Mar 2008 03:27:05 +0000 (03:27 +0000)]
Read also false friend and antonym.

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=789091

17 years agoRead those little synonym-beastys.
Frederik Gladhorn [Sun, 23 Mar 2008 03:27:02 +0000 (03:27 +0000)]
Read those little synonym-beastys.

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=789090

17 years agoEnable writing of synonym pairs.
Frederik Gladhorn [Sun, 23 Mar 2008 03:26:57 +0000 (03:26 +0000)]
Enable writing of synonym pairs.

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=789088

17 years agoRemove synonyms, antonyms and false friends completely.
Frederik Gladhorn [Sun, 23 Mar 2008 03:26:46 +0000 (03:26 +0000)]
Remove synonyms, antonyms and false friends completely.
Add lists of pointers to keduvoctranslation to the translation class for them instead.

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=789084

17 years agoRename keduvocgrammar to keduvocarticle as it only contains that class.
Frederik Gladhorn [Tue, 18 Mar 2008 20:07:47 +0000 (20:07 +0000)]
Rename keduvocgrammar to keduvocarticle as it only contains that class.

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=787221

17 years agoAllow individual grades for each conjugation form.
Frederik Gladhorn [Mon, 17 Mar 2008 20:55:16 +0000 (20:55 +0000)]
Allow individual grades for each conjugation form.
Make reading and writing of conjugations much more elegant by using keduvoctext.

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=786741

17 years agoSyncing with BODR again
Carsten Niehaus [Mon, 17 Mar 2008 18:15:54 +0000 (18:15 +0000)]
Syncing with BODR again

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=786681

17 years agoNow the units of the isotope-halflifes work
Carsten Niehaus [Mon, 17 Mar 2008 13:37:23 +0000 (13:37 +0000)]
Now the units of the isotope-halflifes work

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=786620

17 years agoSyncing with BlueObelisk Data Repository
Carsten Niehaus [Mon, 17 Mar 2008 13:37:15 +0000 (13:37 +0000)]
Syncing with BlueObelisk Data Repository

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=786619

17 years agoremove one extra eka- and fix element name
Albert Astals Cid [Sun, 9 Mar 2008 14:22:43 +0000 (14:22 +0000)]
remove one extra eka- and fix element name

Cartsen please check if that has to be fixed too on blueobelisk, i went to http://wiki.cubic.uni-koeln.de/repos/blueobelisk/trunk/bodr/elements/ but did not find element 118 there

CCMAIL: cniehaus@gmx.de

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=783755

17 years agoadd note - need to fix recursion problems in wortypes
Frederik Gladhorn [Thu, 6 Mar 2008 13:41:33 +0000 (13:41 +0000)]
add note - need to fix recursion problems in wortypes

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=782917

17 years ago* I removed the density from the database. After a long discussion we (BlueObelisk...
Carsten Niehaus [Wed, 5 Mar 2008 20:01:24 +0000 (20:01 +0000)]
* I removed the density from the database. After a long discussion we (BlueObelisk) agreed that it is a compound property and thus does not belong into Kalzium.

Example: Carbon exists at least in three forms: graphite, diamond and buckyballs (Fullerene). This means I need at least three (3) values for the density as all three forms of carbon are "carbon". The same applies for S, P and many many other elements.

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=782700

17 years agoSyning with BODR
Carsten Niehaus [Wed, 5 Mar 2008 20:01:15 +0000 (20:01 +0000)]
Syning with BODR

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=782699

17 years agoCommit just to be able to resync
Carsten Niehaus [Tue, 4 Mar 2008 16:01:50 +0000 (16:01 +0000)]
Commit just to be able to resync

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=782222

17 years agoNow the halflife is displayed. Only the unit remains to be fixed
Carsten Niehaus [Tue, 4 Mar 2008 16:01:44 +0000 (16:01 +0000)]
Now the halflife is displayed. Only the unit remains to be fixed

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=782221

17 years agoadd a simple average grade function
Frederik Gladhorn [Sun, 2 Mar 2008 21:09:20 +0000 (21:09 +0000)]
add a simple average grade function

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=781434

17 years agonot only pretend to read grades but do it ;)
Frederik Gladhorn [Sun, 2 Mar 2008 21:08:56 +0000 (21:08 +0000)]
not only pretend to read grades but do it ;)

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=781433

17 years agotypo
Frederik Gladhorn [Sun, 2 Mar 2008 19:46:24 +0000 (19:46 +0000)]
typo

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=781399

17 years agoport 780834 to trunk - When changing the text of a translation, only change the text...
Frederik Gladhorn [Sat, 1 Mar 2008 10:27:06 +0000 (10:27 +0000)]
port 780834 to trunk - When changing the text of a translation, only change the text, not reset all it's other properties like conjugations.

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=780836

17 years agoread declensions
Frederik Gladhorn [Sun, 24 Feb 2008 20:54:34 +0000 (20:54 +0000)]
read declensions

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=778902

17 years agomore reader/writer cleanup
Frederik Gladhorn [Sun, 24 Feb 2008 20:34:05 +0000 (20:34 +0000)]
more reader/writer cleanup

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=778893

17 years agomove more into the translation class
Frederik Gladhorn [Sun, 24 Feb 2008 20:06:02 +0000 (20:06 +0000)]
move more into the translation class

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=778877

17 years agomove xml reading/writing into the individual classes
Frederik Gladhorn [Sun, 24 Feb 2008 19:45:58 +0000 (19:45 +0000)]
move xml reading/writing into the individual classes

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=778866

17 years agoenable writing of declensions
Frederik Gladhorn [Sun, 24 Feb 2008 19:28:56 +0000 (19:28 +0000)]
enable writing of declensions

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=778861

17 years agofix comparison operator
Frederik Gladhorn [Sun, 24 Feb 2008 18:48:18 +0000 (18:48 +0000)]
fix comparison operator

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=778844

17 years agodeclinations gui basically works, beware, sofar declinations are neither read nor...
Frederik Gladhorn [Sun, 24 Feb 2008 18:46:24 +0000 (18:46 +0000)]
declinations gui basically works, beware, sofar declinations are neither read nor written from/to xml

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=778843

17 years agouse the export macro... ouch
Frederik Gladhorn [Sun, 24 Feb 2008 16:46:51 +0000 (16:46 +0000)]
use the export macro... ouch

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=778806

17 years agoadd declension to translation class
Frederik Gladhorn [Sun, 24 Feb 2008 16:35:54 +0000 (16:35 +0000)]
add declension to translation class

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=778794

17 years agoadd declension
Frederik Gladhorn [Sun, 24 Feb 2008 16:33:45 +0000 (16:33 +0000)]
add declension

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=778793

17 years agoadd lib export and xml function
Frederik Gladhorn [Sun, 24 Feb 2008 16:28:55 +0000 (16:28 +0000)]
add lib export and xml function

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=778790

17 years agoadd declension unittest
Frederik Gladhorn [Sun, 24 Feb 2008 16:16:24 +0000 (16:16 +0000)]
add declension unittest

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=778784

17 years agoMove xml creation for text+grades into keduvoctext - have data and its serialization...
Frederik Gladhorn [Sun, 24 Feb 2008 14:52:34 +0000 (14:52 +0000)]
Move xml creation for text+grades into keduvoctext - have data and its serialization together...

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=778755

17 years agouse text class instead of qstring, so we have grades everywhere
Frederik Gladhorn [Sun, 24 Feb 2008 14:10:42 +0000 (14:10 +0000)]
use text class instead of qstring, so we have grades everywhere

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=778742

17 years agostart gui for denclensions, nothing working so far :)
Frederik Gladhorn [Sun, 24 Feb 2008 13:55:55 +0000 (13:55 +0000)]
start gui for denclensions, nothing working so far :)

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=778739

17 years agodeclination -> declension
Frederik Gladhorn [Sun, 24 Feb 2008 13:17:39 +0000 (13:17 +0000)]
declination -> declension
Better not use german grammar terms ;)
Thank you very much for discovering this so early Yukiko!
CCMAIL: ybando@k6.dion.ne.jp

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=778727

17 years agoMake caching of the vocabs of sublessons work, now recursive view of lessons is fast...
Frederik Gladhorn [Sat, 23 Feb 2008 17:08:14 +0000 (17:08 +0000)]
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.

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=778458

17 years agofix the commit from yesterday, with the new INSTALL_TARGETS_DEFAULT_ARGS the argument
Alexander Neundorf [Tue, 19 Feb 2008 19:46:06 +0000 (19:46 +0000)]
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

Alex

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=777121

17 years agoLIB_INSTALL_DIR -> INSTALL_TARGETS_DEFAULT_ARGS
Christian Ehrlicher [Mon, 18 Feb 2008 21:42:27 +0000 (21:42 +0000)]
LIB_INSTALL_DIR -> INSTALL_TARGETS_DEFAULT_ARGS

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=776843

17 years agoGive the wql reader some love
Peter Hedlund [Tue, 12 Feb 2008 22:56:38 +0000 (22:56 +0000)]
Give the wql reader some love

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=774289

17 years ago* Make use of the SpectrumParser
Carsten Niehaus [Sun, 10 Feb 2008 16:43:19 +0000 (16:43 +0000)]
* Make use of the SpectrumParser

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=773252

17 years agoFirst steps to make use of the spectrumparser
Carsten Niehaus [Sun, 10 Feb 2008 16:43:11 +0000 (16:43 +0000)]
First steps to make use of the spectrumparser

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=773251

17 years agoCompile++
Laurent Montel [Fri, 8 Feb 2008 07:44:23 +0000 (07:44 +0000)]
Compile++

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=772257

17 years agoadd mini unittest for grades
Frederik Gladhorn [Wed, 6 Feb 2008 22:12:56 +0000 (22:12 +0000)]
add mini unittest for grades
(seems like writing tests need some thought too...)

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=771792

17 years agorename keduvocgrade.* -> keduvoctext.*
Frederik Gladhorn [Mon, 4 Feb 2008 21:32:01 +0000 (21:32 +0000)]
rename keduvocgrade.* -> keduvoctext.*

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=770975

17 years agoChange the way grades are handled fundamentally.
Frederik Gladhorn [Mon, 4 Feb 2008 21:20:42 +0000 (21:20 +0000)]
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.

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=770972

17 years agoNow the date is displayed. Seems the parser is working (tm)
Carsten Niehaus [Sun, 3 Feb 2008 20:07:06 +0000 (20:07 +0000)]
Now the date is displayed. Seems the parser is working (tm)

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=770462

17 years agoAn important change: Now the values are read in, so this is the commit which makes...
Carsten Niehaus [Sun, 3 Feb 2008 20:07:02 +0000 (20:07 +0000)]
An important change: Now the values are read in, so this is the commit which makes the parser at least semi-functional

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=770461

17 years agoUse the new stuff in the test
Carsten Niehaus [Sun, 3 Feb 2008 15:52:24 +0000 (15:52 +0000)]
Use the new stuff in the test

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=770393

17 years agoImproved (d-pointer) the parser
Carsten Niehaus [Sun, 3 Feb 2008 15:52:20 +0000 (15:52 +0000)]
Improved (d-pointer) the parser

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=770392

17 years agoAdding changes to the Spectrum-class
Carsten Niehaus [Sun, 3 Feb 2008 15:45:54 +0000 (15:45 +0000)]
Adding changes to the Spectrum-class

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=770387

17 years agoAdding a new test
Carsten Niehaus [Sun, 3 Feb 2008 15:06:09 +0000 (15:06 +0000)]
Adding a new test

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=770370

17 years agoFixing the unittests, thanks Apol
Carsten Niehaus [Sun, 3 Feb 2008 14:54:21 +0000 (14:54 +0000)]
Fixing the unittests, thanks Apol

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=770368

17 years agoinstall headers
Frederik Gladhorn [Sat, 2 Feb 2008 15:08:59 +0000 (15:08 +0000)]
install headers

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=769992

17 years agoinstall missing public header
Frederik Gladhorn [Sat, 2 Feb 2008 14:19:25 +0000 (14:19 +0000)]
install missing public header

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=769970

17 years agocleanup
Frederik Gladhorn [Fri, 1 Feb 2008 14:36:49 +0000 (14:36 +0000)]
cleanup

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=769474

17 years agoSome more lesson tests.
Frederik Gladhorn [Fri, 1 Feb 2008 14:36:18 +0000 (14:36 +0000)]
Some more lesson tests.

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=769473

17 years agoFix CID 4475
Albert Astals Cid [Wed, 30 Jan 2008 21:23:53 +0000 (21:23 +0000)]
Fix CID 4475

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=768894

17 years agoSync with BODR after I fixed several bugs there
Carsten Niehaus [Wed, 30 Jan 2008 12:08:44 +0000 (12:08 +0000)]
Sync with BODR after I fixed several bugs there

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=768583

17 years agofix memory leak (CID 4470)
Dirk Mueller [Mon, 28 Jan 2008 05:46:13 +0000 (05:46 +0000)]
fix memory leak (CID 4470)

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=767478

17 years agoCleanup issues with word types - deletion was buggy.
Frederik Gladhorn [Sun, 27 Jan 2008 22:37:58 +0000 (22:37 +0000)]
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 ;)

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=767390

17 years agoFix missing copy constructor which resulted in a pointer being copied
Frederik Gladhorn [Wed, 23 Jan 2008 20:28:25 +0000 (20:28 +0000)]
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 :)

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=765304

17 years agoThis patch adds the 0 to those elements that have been know to ancient cultures....
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

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=764872

17 years ago-1 will from now on used to say 'this element is not yet official'.
Carsten Niehaus [Tue, 22 Jan 2008 18:59:39 +0000 (18:59 +0000)]
-1 will from now on used to say 'this element is not yet official'.

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=764870

17 years agoupdate the dtd to at least include the important tags and work somewhat with the...
Frederik Gladhorn [Sun, 20 Jan 2008 15:24:21 +0000 (15:24 +0000)]
update the dtd to at least include the important tags and work somewhat with the current files...

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=763898

17 years agoupdate dtd
Frederik Gladhorn [Sun, 20 Jan 2008 13:59:21 +0000 (13:59 +0000)]
update dtd

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=763867

17 years agono need to copy references around
Frederik Gladhorn [Sun, 13 Jan 2008 14:07:07 +0000 (14:07 +0000)]
no need to copy references around

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=760821

17 years agoMake use of the new api, displaying the entries of a lesson and its
Frederik Gladhorn [Sat, 12 Jan 2008 15:22:11 +0000 (15:22 +0000)]
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.

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=760410

17 years agoImprove api: no longer container->entriesRecursive, but
Frederik Gladhorn [Sat, 12 Jan 2008 13:05:43 +0000 (13:05 +0000)]
Improve api: no longer container->entriesRecursive, but
container->entries(Recursive) with enum, same for entryCount.

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=760343

17 years agoUsages begone.
Frederik Gladhorn [Sun, 6 Jan 2008 22:03:59 +0000 (22:03 +0000)]
Usages begone.
Also some cleanup.

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=758101

17 years agomicrooptimization
Albert Astals Cid [Sun, 6 Jan 2008 21:45:23 +0000 (21:45 +0000)]
microoptimization
use const & for foreach "iterators" when the "iterator" is an object to avoid a call to the copy-constructor

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=758094

17 years agofix another merge bug
Frederik Gladhorn [Sun, 6 Jan 2008 20:45:08 +0000 (20:45 +0000)]
fix another merge bug

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=758069

17 years agoSVN_SILENT: formatting
Frederik Gladhorn [Sun, 6 Jan 2008 20:44:42 +0000 (20:44 +0000)]
SVN_SILENT: formatting

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=758068

17 years agostupid merging mistake - check an unused member element for its contents...
Frederik Gladhorn [Sun, 6 Jan 2008 20:28:48 +0000 (20:28 +0000)]
stupid merging mistake - check an unused member element for its contents...

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=758059

17 years agoallow set conjugation by int index. minor cleanup.
Frederik Gladhorn [Sun, 6 Jan 2008 19:07:28 +0000 (19:07 +0000)]
allow set conjugation by int index. minor cleanup.

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=758023

17 years agoAdd funtion to retrieve existing conjugations.
Frederik Gladhorn [Sun, 6 Jan 2008 15:29:26 +0000 (15:29 +0000)]
Add funtion to retrieve existing conjugations.

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=757943

17 years agoSet meta word types when reading kvtml-1
Frederik Gladhorn [Sat, 5 Jan 2008 22:39:20 +0000 (22:39 +0000)]
Set meta word types when reading kvtml-1

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=757801

17 years agoRedo of the lib. Merge of the 4.1 branch to trunk.
Frederik Gladhorn [Sat, 5 Jan 2008 22:21:09 +0000 (22:21 +0000)]
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.

CCMAIL: peter@peterandlinda.com

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=757794

17 years agoSub word types from kvtml-1 work. upstream/parley_work
Frederik Gladhorn [Sat, 5 Jan 2008 14:45:28 +0000 (14:45 +0000)]
Sub word types from kvtml-1 work.
Seems like the worst porting is over.

svn path=/branches/work/kdeedu_parley/libkdeedu/; revision=757622

17 years agoEnable the readers including kvtml-1 also in code and finish porting it
Frederik Gladhorn [Sat, 5 Jan 2008 14:29:58 +0000 (14:29 +0000)]
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.

svn path=/branches/work/kdeedu_parley/libkdeedu/; revision=757614

17 years agoEnable the readers again.
Frederik Gladhorn [Sat, 5 Jan 2008 12:11:36 +0000 (12:11 +0000)]
Enable the readers again.
Now only the kvtml-1 reader/writer need to be ported.

svn path=/branches/work/kdeedu_parley/libkdeedu/; revision=757569

17 years agoEnable word type finding code again (only within word type container class). Make...
Frederik Gladhorn [Fri, 4 Jan 2008 23:11:36 +0000 (23:11 +0000)]
Enable word type finding code again (only within word type container class). Make use of it for comparison forms.

svn path=/branches/work/kdeedu_parley/libkdeedu/; revision=757439

17 years agoUse the document title for the root lesson.
Frederik Gladhorn [Thu, 3 Jan 2008 14:09:28 +0000 (14:09 +0000)]
Use the document title for the root lesson.
Do not allow editing/dnd for the root element in a container model.

svn path=/branches/work/kdeedu_parley/libkdeedu/; revision=756644

17 years agoslightly better name for root lesson
Frederik Gladhorn [Thu, 3 Jan 2008 14:00:41 +0000 (14:00 +0000)]
slightly better name for root lesson

svn path=/branches/work/kdeedu_parley/libkdeedu/; revision=756638

17 years agomissing return value
Frederik Gladhorn [Sun, 16 Dec 2007 21:06:53 +0000 (21:06 +0000)]
missing return value

svn path=/branches/work/kdeedu_parley/libkdeedu/; revision=749231

17 years agoAdd even more sanity:
Frederik Gladhorn [Sun, 16 Dec 2007 00:47:19 +0000 (00:47 +0000)]
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.

svn path=/branches/work/kdeedu_parley/libkdeedu/; revision=748955

17 years agomake it possible to drop vocabulary into lessons
Frederik Gladhorn [Sat, 15 Dec 2007 19:43:31 +0000 (19:43 +0000)]
make it possible to drop vocabulary into lessons

svn path=/branches/work/kdeedu_parley/libkdeedu/; revision=748871

17 years agoDrag and drop of lessons should work now.
Frederik Gladhorn [Sat, 15 Dec 2007 16:14:30 +0000 (16:14 +0000)]
Drag and drop of lessons should work now.

svn path=/branches/work/kdeedu_parley/libkdeedu/; revision=748816

17 years agoStart a drag and drop implemntation for the lesson model/view.
Frederik Gladhorn [Sat, 15 Dec 2007 14:19:40 +0000 (14:19 +0000)]
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.

svn path=/branches/work/kdeedu_parley/libkdeedu/; revision=748787

18 years agoimplement splitting of lesson and let it create child lessons
Frederik Gladhorn [Thu, 13 Dec 2007 22:47:09 +0000 (22:47 +0000)]
implement splitting of lesson and let it create child lessons

svn path=/branches/work/kdeedu_parley/libkdeedu/; revision=748250

18 years agoFeature: Enable navigation by lesson and word type in the same manner.
Frederik Gladhorn [Thu, 13 Dec 2007 21:49:27 +0000 (21:49 +0000)]
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.

svn path=/branches/work/kdeedu_parley/libkdeedu/; revision=748222

18 years agodo not allow two subtypes to have the same name v4.0.0
Frederik Gladhorn [Thu, 13 Dec 2007 16:23:56 +0000 (16:23 +0000)]
do not allow two subtypes to have the same name

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=748101

18 years agoimplement delete lessons
Frederik Gladhorn [Wed, 12 Dec 2007 23:32:26 +0000 (23:32 +0000)]
implement delete lessons

svn path=/branches/work/kdeedu_parley/libkdeedu/; revision=747801

18 years agomerge trunk into branch - now passing the app name here as well.
Frederik Gladhorn [Wed, 12 Dec 2007 12:11:17 +0000 (12:11 +0000)]
merge trunk into branch - now passing the app name here as well.

svn path=/branches/work/kdeedu_parley/libkdeedu/; revision=747580

18 years agobetter header resize
Frederik Gladhorn [Wed, 12 Dec 2007 11:21:00 +0000 (11:21 +0000)]
better header resize

svn path=/branches/work/kdeedu_parley/libkdeedu/; revision=747571

18 years agoReset grades would now work when passed -1 (for all translations).
Frederik Gladhorn [Tue, 11 Dec 2007 17:20:22 +0000 (17:20 +0000)]
Reset grades would now work when passed -1 (for all translations).
BUG:153826
Thanks, Falk
:)

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=747308