18 #ifndef NCLSAXHANDLER_H
19 #define NCLSAXHANDLER_H
25 #include <QMessageBox>
26 #include <NCLTreeWidget.h>
30 class NCLParser :
public QObject,
public QXmlDefaultHandler {
35 bool startElement(
const QString &namespaceURI,
36 const QString &localName,
38 const QXmlAttributes &attributes);
39 bool endElement(
const QString &namespaceURI,
40 const QString &localName,
41 const QString &qName);
42 bool characters(
const QString &str);
43 bool fatalError(
const QXmlParseException &exception);
44 void setDocumentLocator(QXmlLocator *locator);
48 QTreeWidgetItem *currentItem;
53 void fatalErrorFound ( QString message,