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

18 years agoport kdeedu to kconfig changes upstream/kde4_kconfig
Bernhard Loos [Wed, 3 Oct 2007 23:35:57 +0000 (23:35 +0000)]
port kdeedu to kconfig changes

svn path=/branches/work/kde4_kconfig/kconfig/port_trunk/kdeedu/libkdeedu/; revision=720895

18 years agoCode adaptation because of changes on libraries related to revision 719630
Rafael Fernández López [Mon, 1 Oct 2007 15:10:24 +0000 (15:10 +0000)]
Code adaptation because of changes on libraries related to revision 719630

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

18 years agoDon't try to set empty dates. Thanks Johannes.
Frederik Gladhorn [Sun, 30 Sep 2007 02:47:13 +0000 (02:47 +0000)]
Don't try to set empty dates. Thanks Johannes.

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

18 years agoUse Neutral everywhere instead of Neuter.
Frederik Gladhorn [Sat, 29 Sep 2007 12:49:14 +0000 (12:49 +0000)]
Use Neutral everywhere instead of Neuter.
Make localization for special types work.

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

18 years agoAdd combobox to select special types (like noun) for a work type.
Frederik Gladhorn [Sat, 29 Sep 2007 11:33:53 +0000 (11:33 +0000)]
Add combobox to select special types (like noun) for a work type.
This empowers the mighty user to have even multiple noun types, each with subtypes.
Localization of the specialtypes is not implemented yet.
This breaks ABI since I removed an old debug call from the lib.
Added setSpecialType calls.

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

18 years agowarning: statement has no effect
André Wöbbeking [Wed, 26 Sep 2007 13:02:59 +0000 (13:02 +0000)]
warning: statement has no effect

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

18 years agoprevent grade underflow
Frederik Gladhorn [Tue, 25 Sep 2007 14:03:01 +0000 (14:03 +0000)]
prevent grade underflow

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

18 years agoput *.txt khangman files in khangman/data where they belong after kns download
Jeremy Paul Whiting [Tue, 25 Sep 2007 13:17:38 +0000 (13:17 +0000)]
put *.txt khangman files in khangman/data where they belong after kns download

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

18 years agoWhen writing conjugations use the right number.
Frederik Gladhorn [Mon, 24 Sep 2007 23:19:19 +0000 (23:19 +0000)]
When writing conjugations use the right number.
Save conjugation entries in entry dialog.

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

18 years agoread write dual tag for pronouns, add bool dualExists to pronoun class, make visibili...
Frederik Gladhorn [Mon, 24 Sep 2007 22:45:17 +0000 (22:45 +0000)]
read write dual tag for pronouns, add bool dualExists to pronoun class, make visibility for dual conjugation entris box depend on that.

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

18 years agoWrite tags for male/female have different conjugations and also interpret them correc...
Frederik Gladhorn [Mon, 24 Sep 2007 21:59:57 +0000 (21:59 +0000)]
Write tags for male/female have different conjugations and also interpret them correctly in the pronouns page.

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

18 years agowrite grammatical number for personal pronouns correctly, not always singular.
Frederik Gladhorn [Mon, 24 Sep 2007 21:48:16 +0000 (21:48 +0000)]
write grammatical number for personal pronouns correctly, not always singular.

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

18 years agoAdd a real personal pronoun class. It contains if male/female/neuter conjugations...
Frederik Gladhorn [Mon, 24 Sep 2007 17:06:43 +0000 (17:06 +0000)]
Add a real personal pronoun class. It contains if male/female/neuter conjugations exist.
Add methods to read/write personal ps.
Rewrite conjugation to use enums.
Redo the dialogs for entry conjugation and articles. Much simpler and nicer now.
Conjugation practice does not work yet.
Make declination class compile, not used still.
Don't pass the domDoc countless times in the kvtml-1 writer, it's a member now.
Adapt readers/writers, the kvtml-1 writer needs care, it will not work correctly.
Rewrite of the article class with enums.
Port parley.

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

18 years agoAdapt CMakeLists.txt as discussed with Alex.
Laurent Montel [Mon, 24 Sep 2007 06:26:23 +0000 (06:26 +0000)]
Adapt CMakeLists.txt as discussed with Alex.
KDE4_ADD_TEST_EXECUTABLE is deprecated now use KDE4_ADD_EXECUTABLE(<target> TEST <files>) instead
QT4_ADD_DBUS_INTERFACE_NO_NAMESPACE and QT4_ADD_DBUS_INTERFACES_NO_NAMESPACE are deprecated too
used SET_SOURCE_FILES_PROPERTIES(<files> PROPERTIES NO_NAMESPACE TRUE) QT4_ADD_DBUS_INTERFACES(<srcList> <files>)
set( EXECUTABLE_OUTPUT_PATH ${CMAKE_CURRENT_BINARY_DIR} ) is put in each CMakeLists.txt where
KDE4_ADD_EXECUTABLE(<target> TEST <files>) and KDE4_ADD_UNIT_TEST were used.

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

18 years agoFix: When removing a language translations were not moved. Thanks ingwa
Frederik Gladhorn [Sun, 23 Sep 2007 14:31:21 +0000 (14:31 +0000)]
Fix: When removing a language translations were not moved. Thanks ingwa

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

18 years agoUse Iso date in file instead of unix time. Breaks kvtml2 compability again.
Frederik Gladhorn [Sun, 23 Sep 2007 01:07:00 +0000 (01:07 +0000)]
Use Iso date in file instead of unix time. Breaks kvtml2 compability again.

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