blob: e1aa815931815e92c43dfdbb201adc2273618f72 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
/*
*/
#ifndef STRUCTUREPARSER_H
#define STRUCTUREPARSER_H
#include <tqxml.h>
#include <tqptrstack.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
|