]> Git trees. - libqmvoc.git/log
libqmvoc.git
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

18 years agosync with bodr, including density
Carsten Niehaus [Sat, 8 Dec 2007 09:35:18 +0000 (09:35 +0000)]
sync with bodr, including density

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

18 years agoAdd isEmpty to KEduVocArticle. v3.97.0
Frederik Gladhorn [Mon, 3 Dec 2007 23:45:26 +0000 (23:45 +0000)]
Add isEmpty to KEduVocArticle.

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

18 years agoblinken does not like the wordwrapping text so make it configurable with a flags...
Albert Astals Cid [Sun, 2 Dec 2007 11:01:33 +0000 (11:01 +0000)]
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

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

18 years agoappend to rc.cpp
Allen Winter [Sat, 1 Dec 2007 16:11:57 +0000 (16:11 +0000)]
append to rc.cpp

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

18 years agouse kdeedu kdebug area and comment out unneccessary kdebug message
Jeremy Paul Whiting [Sat, 1 Dec 2007 14:07:33 +0000 (14:07 +0000)]
use kdeedu kdebug area and comment out unneccessary kdebug message

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

18 years agofix localization - some strings were only in keduvoccompability and not in keduvocwor...
Frederik Gladhorn [Sat, 1 Dec 2007 12:46:12 +0000 (12:46 +0000)]
fix localization - some strings were only in keduvoccompability and not in keduvocwordtype

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

18 years agotranslate name and origin of elements
Albert Astals Cid [Sat, 1 Dec 2007 11:50:34 +0000 (11:50 +0000)]
translate name and origin of elements
Patch by Eloy Cuadra
CCMAIL: ecuadra@eloihr.net

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

18 years agoget rid of KEduVocComparison, a class holding three strings of which one always was...
Frederik Gladhorn [Tue, 27 Nov 2007 22:10:27 +0000 (22:10 +0000)]
get rid of KEduVocComparison, a class holding three strings of which one always was the word itself.

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

18 years agoAdd a word type class derived from container.
Frederik Gladhorn [Tue, 27 Nov 2007 21:33:35 +0000 (21:33 +0000)]
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.

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

18 years agoStart a container class.
Frederik Gladhorn [Tue, 27 Nov 2007 18:01:18 +0000 (18:01 +0000)]
Start a container class.
Move lesson specific stuff out of there.
Next: Start the word type class.

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

18 years agoNo need to write inactive=false for active entries
Frederik Gladhorn [Tue, 27 Nov 2007 16:37:53 +0000 (16:37 +0000)]
No need to write inactive=false for active entries

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

18 years agoMerged revisions 735356-742172 via svnmerge from
Frederik Gladhorn [Tue, 27 Nov 2007 16:10:01 +0000 (16:10 +0000)]
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.

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

18 years agoMerged revisions 735356-742172 via svnmerge from
Frederik Gladhorn [Tue, 27 Nov 2007 11:57:13 +0000 (11:57 +0000)]
Merged revisions 735356-742172 via svnmerge from
svn://anonsvn.kde.org/home/kde/trunk/KDE/kdeedu
for extdate and widgets.

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

18 years agoBegin the port to new kvtml dtd and word type xml
Frederik Gladhorn [Tue, 27 Nov 2007 11:50:41 +0000 (11:50 +0000)]
Begin the port to new kvtml dtd and word type xml

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

18 years agoLast cleanup the definition of KVTML-2 XML for KDE4.
Frederik Gladhorn [Tue, 27 Nov 2007 01:32:29 +0000 (01:32 +0000)]
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

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

18 years agoAdd missing return, fixes crash when saving.
Frederik Gladhorn [Fri, 23 Nov 2007 00:31:16 +0000 (00:31 +0000)]
Add missing return, fixes crash when saving.

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

18 years agoMake that table show selected word types - Yay...
Frederik Gladhorn [Fri, 23 Nov 2007 00:06:30 +0000 (00:06 +0000)]
Make that table show selected word types - Yay...

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

18 years agoAdd words to their word type container when reading them. Not written correctly yet.
Frederik Gladhorn [Thu, 22 Nov 2007 23:53:10 +0000 (23:53 +0000)]
Add words to their word type container when reading them. Not written correctly yet.

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

18 years agoRename wordTypeLesson -> wordTypeContainer in KEduVocDocument.
Frederik Gladhorn [Thu, 22 Nov 2007 23:07:09 +0000 (23:07 +0000)]
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

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

18 years agoChange expression to contain a pointer to its translations and the translations have...
Frederik Gladhorn [Thu, 22 Nov 2007 22:46:07 +0000 (22:46 +0000)]
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.

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

18 years agoReplace the Multiple Choice class by a simple stringlist.
Frederik Gladhorn [Thu, 22 Nov 2007 16:56:00 +0000 (16:56 +0000)]
Replace the Multiple Choice class by a simple stringlist.
Use a stringlistmodel for the mc dock (very improvised still).
Port cvs reader and pauker a little.

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

18 years agofix uninitialized accesses (CID 4230)
Dirk Mueller [Wed, 21 Nov 2007 23:23:19 +0000 (23:23 +0000)]
fix uninitialized accesses (CID 4230)

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

18 years agoset m_wordTypeLesson = 0 in ctor
Frederik Gladhorn [Tue, 20 Nov 2007 10:47:21 +0000 (10:47 +0000)]
set m_wordTypeLesson = 0 in ctor

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

18 years agoTo let pete implement a word type dock I seperated the word type and normal lessons...
Frederik Gladhorn [Mon, 19 Nov 2007 22:44:03 +0000 (22:44 +0000)]
To let pete implement a word type dock I seperated the word type and normal lessons again.

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

18 years agoAdd a root lesson and a word type lesson.
Frederik Gladhorn [Mon, 19 Nov 2007 01:23:25 +0000 (01:23 +0000)]
Add a root lesson and a word type lesson.

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

18 years agoThis is really a work branch now.
Frederik Gladhorn [Sun, 18 Nov 2007 23:30:20 +0000 (23:30 +0000)]
This is really a work branch now.
Start the rewrite of the table model and lesson model.
The table now contains all single line things, the other editing will use dock widgets.
Nothing works.
Both models are not editable yet.
Rewrite of the lesson part of the lib - now there is one root lesson containing the world.
Another time crash and burn...

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

18 years agoallow converter to write csv files, also show usage if no options or --help are specified
Jeremy Paul Whiting [Sat, 17 Nov 2007 15:58:58 +0000 (15:58 +0000)]
allow converter to write csv files, also show usage if no options or --help are specified

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

18 years agomake converter take a -f parameter so it can convert to kvtml1 files (-f kvtml1)
Jeremy Paul Whiting [Sat, 17 Nov 2007 14:07:33 +0000 (14:07 +0000)]
make converter take a -f parameter so it can convert to kvtml1 files (-f kvtml1)

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

18 years agoput kvtml files into locale sub-folder, not language name sub-folder so khangman...
Jeremy Paul Whiting [Wed, 14 Nov 2007 16:14:54 +0000 (16:14 +0000)]
put kvtml files into locale sub-folder, not language name sub-folder so khangman/kanagram can find them

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

18 years agoLet open clean up the old doc properly. Use old way for sharedkvtmlfiles of opening...
Frederik Gladhorn [Wed, 14 Nov 2007 15:35:43 +0000 (15:35 +0000)]
Let open clean up the old doc properly. Use old way for sharedkvtmlfiles of opening docs.

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

18 years agoCreate a new document until KEduVocDocument::open cleans up the old one.
Frederik Gladhorn [Wed, 14 Nov 2007 15:22:03 +0000 (15:22 +0000)]
Create a new document until KEduVocDocument::open cleans up the old one.

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

18 years agono more extdate where extract messages from v3.96.0
Pino Toscano [Sun, 11 Nov 2007 18:34:09 +0000 (18:34 +0000)]
no more extdate where extract messages from

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

18 years agoremove the reference to extdate
Pino Toscano [Sun, 11 Nov 2007 18:31:45 +0000 (18:31 +0000)]
remove the reference to extdate
disable the kdewidgets designer plugin, as it contains no widgets at the moment

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

18 years agoRemove the ExtDate library. It can't remain, because much of it is
Jason Harris [Sun, 11 Nov 2007 16:45:29 +0000 (16:45 +0000)]
Remove the ExtDate library.  It can't remain, because much of it is
based on Qt-3.x code, and therefore licensed under GPL v2 only.  KDE
is migrating to GPL v3, which is not compatible with GPL v2.

KStars is already ported to use the new KDateTime classes.  AFAIK, no
one else is using ExtDate (there is some usage in extragear, but those
programs use their own local fork of extdate).

TODO: After removing extdate, there are no more widgets defined in
libkdeedu/widgets.  We could remove this directory, but I've left it
in for now in case we add widgets at some future date.

CCMAIL: kde-edu@kde.org
CCMAIL: kstars-devel@kde.org

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

18 years agoMerged revisions 730769-735347 via svnmerge
Frederik Gladhorn [Sun, 11 Nov 2007 13:22:08 +0000 (13:22 +0000)]
Merged revisions 730769-735347 via svnmerge

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

18 years agoReverted changes made earlier today - and I added the workaround in the root file...
Patrick Spendrin [Thu, 8 Nov 2007 22:06:59 +0000 (22:06 +0000)]
Reverted changes made earlier today - and I added the workaround in the root file as described in kde-buildsystem - please tell me again if this should go somewhere else 2/3

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

18 years agoWise men told me to use 'em' and there are lesson links now.
Frederik Gladhorn [Tue, 6 Nov 2007 19:37:43 +0000 (19:37 +0000)]
Wise men told me to use 'em' and there are lesson links now.

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

18 years agoshow comments in the output and have them with their own css style
Frederik Gladhorn [Tue, 6 Nov 2007 18:48:56 +0000 (18:48 +0000)]
show comments in the output and have them with their own css style

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

18 years agoMake the whole thing easier and faster by avoiding one xsl:for-each.
Frederik Gladhorn [Tue, 6 Nov 2007 17:10:40 +0000 (17:10 +0000)]
Make the whole thing easier and faster by avoiding one xsl:for-each.

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