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.
tqt3/examples/xml/tagreader-with-features/structureparser.h

30 lines
580 B

/*
*/
#ifndef STRUCTUREPARSER_H
#define STRUCTUREPARSER_H
#include <ntqxml.h>
#include <ntqptrstack.h>
class TQListView;
class TQListViewItem;
class TQString;
class StructureParser: public TQXmlDefaultHandler
{
public:
StructureParser( TQListView * );
bool startElement( const TQString&, const TQString&, const TQString& ,
const TQXmlAttributes& );
bool endElement( const TQString&, const TQString&, const TQString& );
void setListView( TQListView * );
private:
TQPtrStack<TQListViewItem> stack;
TQListView * table;
};
#endif