diff options
author | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2005-08-06 11:48:27 (GMT) |
---|---|---|
committer | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2005-08-06 11:48:27 (GMT) |
commit | 624a187c926b69bdfc11fca8e929b71938b28eff (patch) | |
tree | 340cca67808f566b0c458391835834e717e26a61 /addon/doxmlparser/src/sectionhandler.cpp | |
parent | e2bafacf8c0f6ef0dd7f9f4958a125761bda31ec (diff) | |
download | Doxygen-624a187c926b69bdfc11fca8e929b71938b28eff.zip Doxygen-624a187c926b69bdfc11fca8e929b71938b28eff.tar.gz Doxygen-624a187c926b69bdfc11fca8e929b71938b28eff.tar.bz2 |
Release-1.4.4-20050806
Diffstat (limited to 'addon/doxmlparser/src/sectionhandler.cpp')
-rw-r--r-- | addon/doxmlparser/src/sectionhandler.cpp | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/addon/doxmlparser/src/sectionhandler.cpp b/addon/doxmlparser/src/sectionhandler.cpp index 18d6b19..973d990 100644 --- a/addon/doxmlparser/src/sectionhandler.cpp +++ b/addon/doxmlparser/src/sectionhandler.cpp @@ -17,6 +17,7 @@ #include "compoundhandler.h" #include "sectionhandler.h" #include "memberhandler.h" +#include "dochandler.h" #include "debug.h" class SectionTypeMap @@ -33,6 +34,7 @@ class SectionTypeMap m_map.insert("signal",new int(ISection::Signals)); m_map.insert("dcop-func",new int(ISection::DCOPFuncs)); m_map.insert("property",new int(ISection::Properties)); + m_map.insert("event",new int(ISection::Events)); m_map.insert("public-static-func",new int(ISection::PubStatFuncs)); m_map.insert("public-static-attrib",new int(ISection::PubStatAttribs)); m_map.insert("protected-type",new int(ISection::ProTypes)); @@ -95,6 +97,7 @@ SectionHandler::SectionHandler(IBaseHandler *parent) : m_parent(parent) addStartHandler("memberdef",this,&SectionHandler::startMember); addStartHandler("header",this,&SectionHandler::startHeader); addEndHandler("header",this,&SectionHandler::endHeader); + addStartHandler("description",this,&SectionHandler::startDescription); } SectionHandler::~SectionHandler() @@ -110,6 +113,13 @@ void SectionHandler::startSection(const QXmlAttributes& attrib) debug(2,"section kind=`%s'\n",m_kindString.data()); } +void SectionHandler::startDescription(const QXmlAttributes& attrib) +{ + DocHandler *docHandler = new DocHandler(this); + docHandler->startDoc(attrib); + m_description = docHandler; +} + void SectionHandler::endSection() { m_parent->setDelegate(0); @@ -146,6 +156,11 @@ void SectionHandler::initialize(CompoundHandler *ch) } } +IDocRoot *SectionHandler::description() const +{ + return m_description; +} + IMemberIterator *SectionHandler::members() const { return new MemberIterator(m_members); |