You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
qt3/examples/xml/tagreader-with-features/structureparser.h

30 lines
560 B

/*
*/
#ifndef STRUCTUREPARSER_H
#define STRUCTUREPARSER_H
#include <qxml.h>
#include <qptrstack.h>
class QListView;
class QListViewItem;
class QString;
class StructureParser: public QXmlDefaultHandler
{
public:
StructureParser( QListView * );
bool startElement( const QString&, const QString&, const QString& ,
const QXmlAttributes& );
bool endElement( const QString&, const QString&, const QString& );
void setListView( QListView * );
private:
QPtrStack<QListViewItem> stack;
QListView * table;
};
#endif