summaryrefslogtreecommitdiffstats
path: root/addon/xmlparse/memberhandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'addon/xmlparse/memberhandler.cpp')
-rw-r--r--addon/xmlparse/memberhandler.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/addon/xmlparse/memberhandler.cpp b/addon/xmlparse/memberhandler.cpp
index 3198676..cf29e05 100644
--- a/addon/xmlparse/memberhandler.cpp
+++ b/addon/xmlparse/memberhandler.cpp
@@ -34,6 +34,9 @@ MemberHandler::MemberHandler(IBaseHandler *parent)
addStartHandler("detaileddescription",this,&MemberHandler::startDetailedDesc);
+ addStartHandler("location",this,&MemberHandler::startLocation);
+ addEndHandler("location");
+
m_params.setAutoDelete(TRUE);
}
@@ -69,6 +72,12 @@ void MemberHandler::startDetailedDesc(const QXmlAttributes& attrib)
m_detailed = docHandler;
}
+void MemberHandler::startLocation(const QXmlAttributes& attrib)
+{
+ m_defFile = attrib.value("file");
+ m_defLine = attrib.value("line").toInt();
+}
+
void MemberHandler::endMember()
{
m_parent->setDelegate(0);