From kde-edu-devel Sat Jul 09 09:39:36 2005 From: Eric Pignet Date: Sat, 09 Jul 2005 09:39:36 +0000 To: kde-edu-devel Subject: Re: [kde-edu]: KVTML Message-Id: <1d833d07050709023928d8f853 () mail ! gmail ! com> X-MARC-Message: https://marc.info/?l=kde-edu-devel&m=112090201420335 Hi Joshua, Le Friday 08 July 2005 21:56, Joshua Keel a écrit : > current kvtml libs. These features would be: > 1. parse the header (get the remark attribute and the title, store > them as members?) > 2. allow getting and settings of the word and its associated > translation in a KEduVocDataItem These features are already available, but in /branches/work/kwordquiz, not in trunk. It's useless trying to improve the old classes (KEduVocDataItem, KVTMLWriter) because they will be removed soon. The problem is that the new classes aren't finished right now. If you can, the best is to wait about one month, so that you can use the definitive classes which will be available in libkdeedu. If you can't wait, you can try to import classes from /branches/work/kwordquiz. I can help you if needed. > I think that's about all I need. I had basically decided to come up > with my own plaintext format when annma and pinotree > stopped me and Thank you Annma and Pinotree :) > especially wondering about parsing the header. Should we go ahead and > create another parse() method, named parseHeader() (or something more > relevant) instead? And should the KEduVocDataItem store its word and > translation in QStrings, or in the currently used QDomElement? KEduVocDocument can parse the header. Just call KEduVocDocument::open() KEduVocExpression store original and translations in QStrings. Eric _______________________________________________ kde-edu mailing list kde-edu@mail.kde.org https://mail.kde.org/mailman/listinfo/kde-edu