Sophie

Sophie

distrib > Mandriva > 2007.1 > x86_64 > by-pkgid > 39815cfb0428fd9d1c438b6b3c91a209 > files > 1352

qt3-example-3.3.8-4.2mdv2007.1.x86_64.rpm

/*
$Id: qt/structureparser.h   3.3.8   edited May 27 2003 $
*/

#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