4 /* This file is part of the KDE Edu Library
5 Copyright (C) 2002 Scott Wheeler <wheeler@kde.org>
7 This library is free software; you can redistribute it and/or
8 modify it under the terms of the GNU Library General Public
9 License version 2 as published by the Free Software Foundation.
11 This library is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 Library General Public License for more details.
16 You should have received a copy of the GNU Library General Public License
17 along with this library; see the file COPYING.LIB. If not, write to
18 the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
19 Boston, MA 02111-1307, USA.
23 #include <qvaluelist.h>
29 KEduVocDataItem(QDomElement
&entry
);
30 virtual ~KEduVocDataItem();
32 QString
originalText() const;
33 QString
translatedText() const;
36 QString
getText(const QString
&tagName
) const;
39 QDomElement domElement
;
42 typedef QValueList
<KEduVocDataItem
> KEduVocDataItemList
;
48 KEduVocDataItemList
parse(const QString
&fileName
);
49 int colWidth(int col
);
51 QString
language(int col
);
55 QDomDocument
* document
;