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

18 years agoUse some voodoo to make the table columns with (100/number of columns)%.
Frederik Gladhorn [Tue, 6 Nov 2007 17:06:44 +0000 (17:06 +0000)]
Use some voodoo to make the table columns with (100/number of columns)%.

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

18 years agomake all tables the same width
Jeremy Paul Whiting [Tue, 6 Nov 2007 15:18:20 +0000 (15:18 +0000)]
make all tables the same width

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

18 years agomake example smaller
Frederik Gladhorn [Tue, 6 Nov 2007 14:46:18 +0000 (14:46 +0000)]
make example smaller

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

18 years agoAdd a sample file for the style sheet and make lesson titles bigger.
Frederik Gladhorn [Tue, 6 Nov 2007 14:14:31 +0000 (14:14 +0000)]
Add a sample file for the style sheet and make lesson titles bigger.

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

18 years agoNow the resulting file is sorted by lesson. I learned more xslt/xpath now than I...
Frederik Gladhorn [Tue, 6 Nov 2007 13:55:50 +0000 (13:55 +0000)]
Now the resulting file is sorted by lesson. I learned more xslt/xpath now than I ever intended.

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

18 years agobetter modularisation
Frederik Gladhorn [Tue, 6 Nov 2007 12:15:21 +0000 (12:15 +0000)]
better modularisation

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

18 years agoAdd a xsl/xslt stylesheet that can be used to transform kvtml-xml to html.
Frederik Gladhorn [Tue, 6 Nov 2007 12:03:21 +0000 (12:03 +0000)]
Add a xsl/xslt stylesheet that can be used to transform kvtml-xml to html.
So far it only creates a simple table with all vocabulary entries.
This will hopefully be a nice comfortable solution for printing some day.

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

18 years agoFixing bug #151302. Our implementation of weekNumber() was far too
Jason Harris [Tue, 30 Oct 2007 06:13:14 +0000 (06:13 +0000)]
Fixing bug #151302.  Our implementation of weekNumber() was far too
simplistic.  It now conforms to ISO 8601.  Thank you for discovering
the problem!  Also applied to the 3.5 branch.

BUG: 151302
CCMAIL: kstars-devel@kde.org

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

18 years agoWhen adding a language translations with invalid ids were created.
Frederik Gladhorn [Mon, 29 Oct 2007 22:59:05 +0000 (22:59 +0000)]
When adding a language translations with invalid ids were created.
Two variables i in the same scope? and even mixed :(
BUG: 151385

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

18 years agoMerged revisions 730077-730768 via svnmerge.
Frederik Gladhorn [Mon, 29 Oct 2007 15:07:35 +0000 (15:07 +0000)]
Merged revisions 730077-730768 via svnmerge.

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

18 years agoMake ExtDateTable highlight the correct date in its calendar grid.
Jason Harris [Mon, 29 Oct 2007 04:07:07 +0000 (04:07 +0000)]
Make ExtDateTable highlight the correct date in its calendar grid.

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

18 years agoswitch instead of ifs
Frederik Gladhorn [Sat, 27 Oct 2007 22:55:17 +0000 (22:55 +0000)]
switch instead of ifs
Patch by Pavi

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

18 years agoWrite dual and plural articles.
Frederik Gladhorn [Sat, 27 Oct 2007 21:51:31 +0000 (21:51 +0000)]
Write dual and plural articles.
Patch by pavithran s
CCMAIL: pavithran@gmx.de

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

18 years agorenamed files and make them install/build
Jeremy Paul Whiting [Fri, 26 Oct 2007 21:14:21 +0000 (21:14 +0000)]
renamed files and make them install/build

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

18 years agomoved fontutils.h from kanagram/src into here so both kanagram and blinken can use...
Jeremy Paul Whiting [Fri, 26 Oct 2007 21:11:20 +0000 (21:11 +0000)]
moved fontutils.h from kanagram/src into here so both kanagram and blinken can use the same copy

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

18 years agofix test after change 728174 v3.95.0
Anne-Marie Mahfouf [Mon, 22 Oct 2007 19:28:27 +0000 (19:28 +0000)]
fix test after change 728174

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

18 years agoRename KEduVocLesson::inQuery to inPractice
Frederik Gladhorn [Mon, 22 Oct 2007 16:21:16 +0000 (16:21 +0000)]
Rename KEduVocLesson::inQuery to inPractice
and setInQuery to setInPractice

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

18 years agoicon renaming:
Pino Toscano [Sun, 21 Oct 2007 23:28:31 +0000 (23:28 +0000)]
icon renaming:
- calendar-today -> go-jump-today

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

18 years agoclean up conjugation and add a grade to it
Frederik Gladhorn [Sun, 21 Oct 2007 19:00:37 +0000 (19:00 +0000)]
clean up conjugation and add a grade to it

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

18 years agoGive slightly more sane names to the grade class function.
Frederik Gladhorn [Sun, 21 Oct 2007 18:42:42 +0000 (18:42 +0000)]
Give slightly more sane names to the grade class function.
--query

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

18 years agoonly needs kdeui to link upstream/kconfig_new
Dirk Mueller [Sat, 20 Oct 2007 15:08:37 +0000 (15:08 +0000)]
only needs kdeui to link

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

18 years agoIn agreement with Peter I removed the leitner system implementation from libkdeedu.
Frederik Gladhorn [Fri, 19 Oct 2007 12:50:33 +0000 (12:50 +0000)]
In agreement with Peter I removed the leitner system implementation from libkdeedu.
 - It was never completed
 - It was used in none of our apps, only KWQ had some unfinished functions for it

This does not solve the Leitner implementation problem.
My current plan:
 * Have a Leitner implementation in KDE 4.1
 * Use the lesson class as leitner boxes
   - since kvtml2 entries can be in multiple lessons, no need to reinvent the wheel
   - have svg boxes to display the current state if possible
Details are still to be decided and this is just an idea.
KWordQuiz and Parley should share the implementation.

CCMAIL: peter@peterandlinda.com

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

18 years agomaking all shared libraries go to their default place: this is /bin on windows -...
Patrick Spendrin [Wed, 17 Oct 2007 22:29:28 +0000 (22:29 +0000)]
making all shared libraries go to their default place: this is /bin on windows - nothing should change on linux.

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

18 years agoOnly write comment tag when not empty.
Frederik Gladhorn [Wed, 17 Oct 2007 13:13:27 +0000 (13:13 +0000)]
Only write comment tag when not empty.

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

18 years agoCleanup conjugations.
Frederik Gladhorn [Thu, 11 Oct 2007 20:50:29 +0000 (20:50 +0000)]
Cleanup conjugations.
Verify for conjugations is much improved and basically works.
Problems:
 - you have to get all conjugations in all selected tenses right at the same time to have it count as correct.
 - statistics are not considered when selecting the verbs (need grades for conjugations I guess)
 - line edits that stay empty are now hidden, their labels not

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

18 years agoUse the index from the Conjugation class in the conjugation practice for the line...
Frederik Gladhorn [Thu, 11 Oct 2007 18:27:03 +0000 (18:27 +0000)]
Use the index from the Conjugation class in the conjugation practice for the line edits.
Much cleaner less redundant code.
Change from totaly unusable to actually somewhat working.
Askes the tenses chosen in the config and actually should even ask one tense after the other.

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

18 years agoMake the conjugation index function public to use it in the conjugation practice...
Frederik Gladhorn [Thu, 11 Oct 2007 18:27:01 +0000 (18:27 +0000)]
Make the conjugation index function public to use it in the conjugation practice in parley.

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

18 years agoAdd isArticle() to quickly check if a word is an article.
Frederik Gladhorn [Thu, 11 Oct 2007 01:30:40 +0000 (01:30 +0000)]
Add isArticle() to quickly check if a word is an article.

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

18 years agoplug memleak from QIODevice * f
Frederik Gladhorn [Wed, 10 Oct 2007 00:03:52 +0000 (00:03 +0000)]
plug memleak from QIODevice * f

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

18 years agoCleanup and improve the vokabeln reader.
Frederik Gladhorn [Tue, 9 Oct 2007 22:43:08 +0000 (22:43 +0000)]
Cleanup and improve the vokabeln reader.
Original patch by Ilja.
> This patch should make possible to open .voc with longer header. (e.g.
> http://www.vokabeln.de/v1/download/GB_Technik.zip).
> KEduVocDocument::setDocumentComment changed to allow to insert
> multiline file comments from .voc files.
CCMAIL: iljuss@gmail.com

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

18 years agoPrevent crash when converter tries to access KGlobal::locale().
Frederik Gladhorn [Tue, 9 Oct 2007 15:15:18 +0000 (15:15 +0000)]
Prevent crash when converter tries to access KGlobal::locale().

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

18 years agoImprove reading of vokabeln.de files: correct lesson numbering and codec. v3.94.0
Frederik Gladhorn [Mon, 8 Oct 2007 13:37:44 +0000 (13:37 +0000)]
Improve reading of vokabeln.de files: correct lesson numbering and codec.
Patch by Ilja
CCMAIL: iljuss@gmail.com

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

18 years agoSome cleanup, spelling, i18nc++. Fix i18nc for lesson default name. Explicit for...
Frederik Gladhorn [Sun, 7 Oct 2007 21:14:26 +0000 (21:14 +0000)]
Some cleanup, spelling, i18nc++. Fix i18nc for lesson default name. Explicit for KEduVocExpression( const QStringList & translations, int lesson = -1 );

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

18 years agoRead plural pronouns correctly from old docs.
Frederik Gladhorn [Sun, 7 Oct 2007 14:42:07 +0000 (14:42 +0000)]
Read plural pronouns correctly from old docs.
Add isEmpty() to conjugations.
Attempt to make conjugations a little less broken:
  - empty conjugations are ignored
  - a stringlist contains possible tenses to practice
  - for now only the first not empty tense is practiced

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

18 years agoMerge KConfig Branch changes
Andreas Pakulat [Fri, 5 Oct 2007 22:43:59 +0000 (22:43 +0000)]
Merge KConfig Branch changes

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

18 years agomsvc compile++ - why does mingw not complain about such kind of errors?
Christian Ehrlicher [Thu, 4 Oct 2007 20:50:07 +0000 (20:50 +0000)]
msvc compile++ - why does mingw not complain about such kind of errors?

extdate/extdatetbl.cpp: removed unused vars

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