1 // File : QAD_XmlHandler.h
2 // Created : Thu Jun 14 14:02:23 2001
3 // Author : Nicolas REJNERI
6 // Copyright : Open CASCADE
10 #include <qstringlist.h>
16 #include <TColStd_SequenceOfInteger.hxx>
21 class QAD_XmlHandler : public QXmlDefaultHandler
25 virtual ~QAD_XmlHandler();
28 bool startElement( const QString& namespaceURI, const QString& localName,
29 const QString& qName, const QXmlAttributes& atts );
30 bool endElement( const QString& namespaceURI, const QString& localName, const QString& qName );
31 bool characters( const QString& ch );
33 QString errorString();
34 QString errorProtocol();
35 bool fatalError (const QXmlParseException& exception);
36 QString givebib (const int mykey);
38 void setMainWindow(QAD_Desktop*);
39 bool setComponent (const QString& aComponent);
41 QList<QAD_Menus> myMenusList;
42 TColStd_SequenceOfInteger myIdList;
45 static map<int,QString> _bibmap;
49 QString myPathResources;
52 QStack<QPopupMenu> myBackPopupMenus;
54 QAD_Desktop* myDesktop;