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

18 years agoFix extra ;
Frederik Gladhorn [Sat, 22 Sep 2007 00:50:39 +0000 (00:50 +0000)]
Fix extra ;

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

18 years agoadd missing lesson(2).name()
Frederik Gladhorn [Fri, 21 Sep 2007 23:40:37 +0000 (23:40 +0000)]
add missing lesson(2).name()

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

18 years agoInitial lesson unit test.
Frederik Gladhorn [Fri, 21 Sep 2007 23:31:54 +0000 (23:31 +0000)]
Initial lesson unit test.

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

18 years agoFixed infinite loop.
Johannes Simon [Fri, 21 Sep 2007 23:09:19 +0000 (23:09 +0000)]
Fixed infinite loop.

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

18 years agotake out entryid if its in this lesson
Jeremy Paul Whiting [Fri, 21 Sep 2007 22:31:11 +0000 (22:31 +0000)]
take out entryid if its in this lesson

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

18 years agoRewrite the article class using enums, only one get/set function is needed now.
Frederik Gladhorn [Fri, 21 Sep 2007 22:10:44 +0000 (22:10 +0000)]
Rewrite the article class using enums, only one get/set function is needed now.
So far we only read/write singular. But support is there for plural and dual.
Deprecated old constructor with arguments, but leave it for now, since porting will take some time.
This breaks compability with articles in kvtml2 docs!
Port parley to use that stuff.

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

18 years agodont sort fils with more than 1 identifier(language)
Jeremy Paul Whiting [Fri, 21 Sep 2007 22:07:19 +0000 (22:07 +0000)]
dont sort fils with more than 1 identifier(language)

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

18 years agoadd return *this to operator=
Frederik Gladhorn [Fri, 21 Sep 2007 08:16:21 +0000 (08:16 +0000)]
add return *this to operator=

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

18 years agoMake declinations usable.
Frederik Gladhorn [Fri, 21 Sep 2007 08:05:40 +0000 (08:05 +0000)]
Make declinations usable.

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

18 years agoBetter url handling for sound/image.
Frederik Gladhorn [Fri, 21 Sep 2007 07:29:54 +0000 (07:29 +0000)]
Better url handling for sound/image.
Use KUrl internally, only save as relative path, when the sound/image is in the same or a subdir of the document.
Move handling of relative urls into the lib.

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

18 years agoAdd functions to declination class.
Frederik Gladhorn [Fri, 21 Sep 2007 07:19:47 +0000 (07:19 +0000)]
Add functions to declination class.

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

18 years agofix build error
Jeremy Paul Whiting [Thu, 20 Sep 2007 18:41:41 +0000 (18:41 +0000)]
fix build error

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

18 years agoCompile.
Peter Hedlund [Thu, 20 Sep 2007 17:16:50 +0000 (17:16 +0000)]
Compile.

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

18 years agoRemove irregular plural tags in favour of a real declination class (not used currentl...
Frederik Gladhorn [Thu, 20 Sep 2007 12:15:35 +0000 (12:15 +0000)]
Remove irregular plural tags in favour of a real declination class (not used currently). This will also allow support for plurals and dual forms correctly.

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

18 years agoMake wordTypes() a normal member using references.
Frederik Gladhorn [Thu, 20 Sep 2007 00:46:11 +0000 (00:46 +0000)]
Make wordTypes() a normal member using references.

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

18 years agoThe article class still had get/set natural instead of neutral as functions.
Frederik Gladhorn [Wed, 19 Sep 2007 00:01:56 +0000 (00:01 +0000)]
The article class still had get/set natural instead of neutral as functions.
Make the article test work so far.
Only wrong answers don't count as wrong right now. (Before the dialog showed up and was completely disabled).

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

18 years agoclean up file writing.
Frederik Gladhorn [Tue, 18 Sep 2007 23:30:50 +0000 (23:30 +0000)]
clean up file writing.

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

18 years agoForward port of fix for remote files.
Peter Hedlund [Tue, 18 Sep 2007 22:27:45 +0000 (22:27 +0000)]
Forward port of fix for remote files.

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

18 years agoOnly have all supported documents, when reading.
Frederik Gladhorn [Tue, 18 Sep 2007 18:03:04 +0000 (18:03 +0000)]
Only have all supported documents, when reading.
BUG: 149943

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

18 years agoRename Text to Comma Separated Values (CSV).
Frederik Gladhorn [Tue, 18 Sep 2007 17:44:52 +0000 (17:44 +0000)]
Rename Text to Comma Separated Values (CSV).
CCBUG: 149943

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

18 years agoAvoid adding empty strings to the multiple choice class.
Frederik Gladhorn [Tue, 18 Sep 2007 17:30:48 +0000 (17:30 +0000)]
Avoid adding empty strings to the multiple choice class.
Please report if this is working.
Thanks to Johannes Simon.
CCMAIL: johannes.simon@gmail.com

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

18 years agoMake the grammar practice selection much better.
Frederik Gladhorn [Tue, 18 Sep 2007 16:31:15 +0000 (16:31 +0000)]
Make the grammar practice selection much better.
In the config dialog one can check the grammar tests to use now. This also allows for adverb (mixed with adjective or alone) tests.
Give the doc default grammar when using the wizard.
Rewrite the type for test selection funtion as checkType.
Deprecate a function that probably doesn't work, esp if multiple word types are allowed to share a special type.
BUG: 106451

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

18 years agoMake the reader detection code a little cleaner.
Frederik Gladhorn [Tue, 18 Sep 2007 13:21:08 +0000 (13:21 +0000)]
Make the reader detection code a little cleaner.

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

18 years agoAdd kDebug messages telling which reader is used.
Frederik Gladhorn [Tue, 18 Sep 2007 12:21:44 +0000 (12:21 +0000)]
Add kDebug messages telling which reader is used.

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

18 years agoUse QCOMPARE, add generator test.
Frederik Gladhorn [Mon, 17 Sep 2007 23:07:31 +0000 (23:07 +0000)]
Use QCOMPARE, add generator test.

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

18 years agoDon't leak a doc in the test.
Frederik Gladhorn [Mon, 17 Sep 2007 22:55:31 +0000 (22:55 +0000)]
Don't leak a doc in the test.

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

18 years agoBetter error message.
Frederik Gladhorn [Mon, 17 Sep 2007 22:54:51 +0000 (22:54 +0000)]
Better error message.

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

18 years agoAdd the first real unit test:
Frederik Gladhorn [Mon, 17 Sep 2007 22:38:39 +0000 (22:38 +0000)]
Add the first real unit test:
  Create a doc, write it to a temp file and read it again. Tests for the easy tags: author, title, comment, license and category.
Remove all gui elements from keduvocdocument.
This means that when opening a document fails, the apps have to check for the return value of doc->open().
Added an enum for the errors.
With KEduVocDocument::errorDescription a message can be generated to display to the user.
CCMAIL: peter@peterandlinda.com

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

18 years agoAdd a 1==1 test for keduvocdocument to expand upon.
Frederik Gladhorn [Mon, 17 Sep 2007 18:33:07 +0000 (18:33 +0000)]
Add a 1==1 test for keduvocdocument to expand upon.

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

18 years agoAlso add entries to lesson 0. (> has to be >=)
Frederik Gladhorn [Mon, 17 Sep 2007 14:46:20 +0000 (14:46 +0000)]
Also add entries to lesson 0. (> has to be >=)

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

18 years agoFix adding vocabulary to wrong lessons when reading old documents.
Frederik Gladhorn [Mon, 17 Sep 2007 14:11:24 +0000 (14:11 +0000)]
Fix adding vocabulary to wrong lessons when reading old documents.

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

18 years agofix missing return value
Bernhard Loos [Sun, 16 Sep 2007 01:00:29 +0000 (01:00 +0000)]
fix missing return value

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

18 years agoWhen adding entries with a lesson set, add them to that lesson automatically.
Frederik Gladhorn [Fri, 14 Sep 2007 22:43:26 +0000 (22:43 +0000)]
When adding entries with a lesson set, add them to that lesson automatically.

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

18 years agoDeprecate old lessonNames() call.
Frederik Gladhorn [Fri, 14 Sep 2007 09:18:24 +0000 (09:18 +0000)]
Deprecate old lessonNames() call.

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

18 years agoAdd functions to get subtype of nouns.
Frederik Gladhorn [Thu, 13 Sep 2007 13:11:14 +0000 (13:11 +0000)]
Add functions to get subtype of nouns.

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

18 years agofixing last error today
Patrick Spendrin [Wed, 12 Sep 2007 23:21:05 +0000 (23:21 +0000)]
fixing last error today

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

18 years agofixing errors: ok, every kvtml file version 2.0 should be able to pass the test at...
Patrick Spendrin [Wed, 12 Sep 2007 23:13:59 +0000 (23:13 +0000)]
fixing errors: ok, every kvtml file version 2.0 should be able to pass the test at validome.org now.

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

18 years agoadded XML Schema Definition file to give annma and jpwhiting something to work on...
Patrick Spendrin [Wed, 12 Sep 2007 22:56:27 +0000 (22:56 +0000)]
added XML Schema Definition file to give annma and jpwhiting something to work on (might replace kvtml2.dtd)

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

18 years agoGet rid of the m_inQuery for KEduVocExpression.
Frederik Gladhorn [Wed, 12 Sep 2007 19:22:48 +0000 (19:22 +0000)]
Get rid of the m_inQuery for KEduVocExpression.
Only KVoc used to use it and it will just no longer be used.
It had no meaning for quite a while in parley, only confusing things.
The main table now only shows (in)active for the words.
(the chainsaw was here...)

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

18 years agomaking the dtd working with the current state of fregl s testing kvtml files
Patrick Spendrin [Wed, 12 Sep 2007 13:59:44 +0000 (13:59 +0000)]
making the dtd working with the current state of fregl s testing kvtml files

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

18 years agosecond falsefriend error
Patrick Spendrin [Wed, 12 Sep 2007 12:43:18 +0000 (12:43 +0000)]
second falsefriend error

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

18 years agofor usabilities sake, changed some lines, and fixed one falsefriend error
Patrick Spendrin [Wed, 12 Sep 2007 12:40:25 +0000 (12:40 +0000)]
for usabilities sake, changed some lines, and fixed one falsefriend error

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

18 years agodeleteLesson fix and optimization
Jeremy Paul Whiting [Wed, 12 Sep 2007 03:45:52 +0000 (03:45 +0000)]
deleteLesson fix and optimization

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

18 years agofix removeEntry and insertEntry so they update all lessons entry ids that are affecte...
Jeremy Paul Whiting [Wed, 12 Sep 2007 03:23:35 +0000 (03:23 +0000)]
fix removeEntry and insertEntry so they update all lessons entry ids that are affected by insertion/removal

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

18 years agoadded entryCount method to lesson class
Jeremy Paul Whiting [Wed, 12 Sep 2007 02:21:48 +0000 (02:21 +0000)]
added entryCount method to lesson class

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

18 years agoMake sure new translations are appended with the right type. Move from parley to...
Frederik Gladhorn [Mon, 10 Sep 2007 13:35:55 +0000 (13:35 +0000)]
Make sure new translations are appended with the right type. Move from parley to lib.

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

18 years agomove incomplete kvtml-1 dtd to lib
Frederik Gladhorn [Sun, 9 Sep 2007 10:25:17 +0000 (10:25 +0000)]
move incomplete kvtml-1 dtd to lib

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

18 years agoMove some documentation of file formats from parley to libkdeedu.
Frederik Gladhorn [Sun, 9 Sep 2007 10:14:02 +0000 (10:14 +0000)]
Move some documentation of file formats from parley to libkdeedu.

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

18 years agoRename kvoctrain base directory to parley.
Frederik Gladhorn [Sun, 9 Sep 2007 08:21:24 +0000 (08:21 +0000)]
Rename kvoctrain base directory to parley.

svn path=/trunk/KDE/kdeedu/kvoctrain/src/docs/; revision=710186

18 years agoChange the subdir kvoctrain to src.
Frederik Gladhorn [Sun, 9 Sep 2007 07:34:47 +0000 (07:34 +0000)]
Change the subdir kvoctrain to src.

svn path=/trunk/KDE/kdeedu/kvoctrain/kvoctrain/docs/; revision=710174

18 years agoAdd i18nc comments for word types.
Frederik Gladhorn [Fri, 7 Sep 2007 15:15:32 +0000 (15:15 +0000)]
Add i18nc comments for word types.

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

18 years agoRemove ! from title/author strings. I could not find a special meaning for it in...
Frederik Gladhorn [Fri, 7 Sep 2007 14:46:30 +0000 (14:46 +0000)]
Remove ! from title/author strings. I could not find a special meaning for it in csv. If I'm wrong, change it again, but add to the context message.

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

18 years agoFix bugs when reading the inQuery attribute (no default value).
Frederik Gladhorn [Thu, 6 Sep 2007 13:42:06 +0000 (13:42 +0000)]
Fix bugs when reading the inQuery attribute (no default value).
Make copy ctor, operator=/== complete for the lesson class.

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

18 years agoRemove inQuery methods.
Frederik Gladhorn [Thu, 6 Sep 2007 13:27:56 +0000 (13:27 +0000)]
Remove inQuery methods.

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

18 years agoMark a few lib lesson methods deprecated. Use a int list for the lesson filter. Break...
Frederik Gladhorn [Thu, 6 Sep 2007 12:41:30 +0000 (12:41 +0000)]
Mark a few lib lesson methods deprecated. Use a int list for the lesson filter. Breaks inQuery in the lesson view.

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

18 years agoMake lessons a list again.
Frederik Gladhorn [Thu, 6 Sep 2007 11:49:44 +0000 (11:49 +0000)]
Make lessons a list again.
QMap is too flexible. Users will kill us for changing lesson order. The flexibility of the map makes the lesson model in KVocTrain much harder to implement.
Moved the inQuery flag into the lesson class.
Fixed readers and writers. I could not verify if the keduvocvokabelnreader.cpp works.
The first lesson has 0 as index now.
A default lesson is created according to Jeremys plans, but within the document class itself, after reading the doc, so all readers profit from it.
KEduVocExpression is not initialized to lesson=-1 as default.
The old reader maps lesson 1 to 0.
Splitting and deleting lessons seems to work.
Moving lessons is not implemented (this will become interesting, when drag and drop for the lesson model is enabled).
TODO: When adding an expression, the document can automatically add it to the lesson.
  Right now we call doc->lesson.add(Exp) and doc->addExp(lesson). The later should suffice.
Fixes in KVocTrain (many +-1 are no longer needed).
CCMAIL:jeremy@scitools.com
CCMAIL:peter@peterandlinda.com

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

18 years agostore/read/write image and sound tags per translation
Jeremy Paul Whiting [Thu, 6 Sep 2007 00:50:28 +0000 (00:50 +0000)]
store/read/write image and sound tags per translation

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

18 years agoRemove unused private vars.
Frederik Gladhorn [Thu, 6 Sep 2007 00:03:46 +0000 (00:03 +0000)]
Remove unused private vars.

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

18 years agoGet rid of an ugly ctor for KEduVocExpression. Instead of QString and separator,...
Frederik Gladhorn [Wed, 5 Sep 2007 23:14:28 +0000 (23:14 +0000)]
Get rid of an ugly ctor for KEduVocExpression. Instead of QString and separator, use QStringList.

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

18 years agoRemove usages form type list. Thanks to Markus Büchele.
Frederik Gladhorn [Wed, 5 Sep 2007 19:50:44 +0000 (19:50 +0000)]
Remove usages form type list. Thanks to Markus Büchele.

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

18 years agoRemove invalid copyright lines ((C) 2001 The KDE-EDU team).
Frederik Gladhorn [Wed, 5 Sep 2007 16:59:33 +0000 (16:59 +0000)]
Remove invalid copyright lines ((C) 2001 The KDE-EDU team).

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

18 years agotry to extract the element data (name and origin) from the element.xml, using a trick
Pino Toscano [Tue, 4 Sep 2007 17:50:57 +0000 (17:50 +0000)]
try to extract the element data (name and origin) from the element.xml, using a trick

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