summaryrefslogtreecommitdiffstats
path: root/src/docsets.cpp
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2010-11-18 21:50:39 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2010-11-18 21:50:39 (GMT)
commit0014470c309dccbc2ac72c527391039900b8cf3d (patch)
treea6d2454b4e6d53003fa829bb7134fe373461ed97 /src/docsets.cpp
parent01f41c40b8505c8f197ef1e5bf7e3a3bc777dc0e (diff)
downloadDoxygen-0014470c309dccbc2ac72c527391039900b8cf3d.zip
Doxygen-0014470c309dccbc2ac72c527391039900b8cf3d.tar.gz
Doxygen-0014470c309dccbc2ac72c527391039900b8cf3d.tar.bz2
Release-1.7.2-20101118
Diffstat (limited to 'src/docsets.cpp')
-rw-r--r--src/docsets.cpp12
1 files changed, 11 insertions, 1 deletions
diff --git a/src/docsets.cpp b/src/docsets.cpp
index fa14cfa..17fbd7d 100644
--- a/src/docsets.cpp
+++ b/src/docsets.cpp
@@ -343,6 +343,16 @@ void DocSets::addIndexItem(Definition *context,MemberDef *md,const char *)
case MemberDef::Event:
type="event"; break;
}
+ cd = md->getClassDef();
+ nd = md->getNamespaceDef();
+ if (cd)
+ {
+ scope = cd->qualifiedName();
+ }
+ else if (nd)
+ {
+ scope = nd->name();
+ }
writeToken(m_tts,md,type,lang,scope,md->anchor());
}
else if (context && context->isLinkable())
@@ -404,7 +414,7 @@ void DocSets::addIndexItem(Definition *context,MemberDef *md,const char *)
}
if (m_scopes.find(context->getOutputFileBase())==0)
{
- writeToken(m_tts,context,type,lang,0,0,decl);
+ writeToken(m_tts,context,type,lang,scope,0,decl);
m_scopes.append(context->getOutputFileBase(),(void*)0x8);
}
}