4 /* This file is part of KWordQuiz
5 Copyright (C) 2004 Peter Hedlund <peter@peterandlinda.com>
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 PaukerDataItem(QDomElement
&entry
);
30 virtual ~PaukerDataItem();
32 QString
frontSide() const;
33 QString
backSide() const;
36 QString
getText(const QString
&tagName
) const;
39 QDomElement domElement
;
42 typedef QValueList
<PaukerDataItem
> PaukerDataItemList
;
48 PaukerDataItemList
parse(const QString
&fileName
);
49 int colWidth(int col
);
51 QString
language(int col
);
54 QDomDocument
* document
;