summaryrefslogtreecommitdiffstats
path: root/addon/xmlparse/sectionhandler.h
diff options
context:
space:
mode:
Diffstat (limited to 'addon/xmlparse/sectionhandler.h')
-rw-r--r--addon/xmlparse/sectionhandler.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/addon/xmlparse/sectionhandler.h b/addon/xmlparse/sectionhandler.h
new file mode 100644
index 0000000..b2d1ce1
--- /dev/null
+++ b/addon/xmlparse/sectionhandler.h
@@ -0,0 +1,26 @@
+#ifndef _SECTIONHANDLER_H
+#define _SECTIONHANDLER_H
+
+#include <qstring.h>
+#include <qlist.h>
+#include <qxml.h>
+
+#include "basehandler.h"
+#include "memberhandler.h"
+
+class SectionHandler : public BaseHandler<SectionHandler>
+{
+ public:
+ virtual void startMember(const QXmlAttributes& attrib);
+ virtual void startSection(const QXmlAttributes& attrib);
+ virtual void endSection();
+
+ SectionHandler(IBaseHandler *parent);
+ virtual ~SectionHandler();
+ private:
+ IBaseHandler *m_parent;
+ QString m_kind;
+ QList<MemberHandler> m_members;
+};
+
+#endif