summaryrefslogtreecommitdiffstats
path: root/src/definition.cpp
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2008-02-10 12:31:40 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2008-02-10 12:31:40 (GMT)
commit95fd5f1c991ee66f7122801276a133ebfce86aaa (patch)
treeb6882cdef0c60182168c8c11e298dcd76cc02bbc /src/definition.cpp
parent38c6a14b15d87348076be142abea8663009ace82 (diff)
downloadDoxygen-95fd5f1c991ee66f7122801276a133ebfce86aaa.zip
Doxygen-95fd5f1c991ee66f7122801276a133ebfce86aaa.tar.gz
Doxygen-95fd5f1c991ee66f7122801276a133ebfce86aaa.tar.bz2
Release-1.5.5
Diffstat (limited to 'src/definition.cpp')
-rw-r--r--src/definition.cpp29
1 files changed, 27 insertions, 2 deletions
diff --git a/src/definition.cpp b/src/definition.cpp
index 3d742ef..2eab6a9 100644
--- a/src/definition.cpp
+++ b/src/definition.cpp
@@ -301,6 +301,32 @@ Definition::~Definition()
}
}
+void Definition::setName(const char *name)
+{
+ if (name==0) return;
+ m_name = name;
+#if 0
+ makeResident();
+ if (m_isSymbol)
+ {
+ removeFromMap(this);
+ }
+ if (m_name!="<globalScope>")
+ {
+ //extractNamespaceName(m_name,m_localName,ns);
+ m_impl->localName=stripScope(m_name);
+ }
+ else
+ {
+ m_impl->localName=m_name;
+ }
+ if (m_isSymbol)
+ {
+ addToMap(m_name,this);
+ }
+#endif
+}
+
void Definition::addSectionsToDefinition(QList<SectionInfo> *anchorList)
{
if (!anchorList) return;
@@ -765,7 +791,7 @@ void Definition::_writeSourceRefList(OutputList &ol,const char *scopeName,
const QCString &text,MemberSDict *members,bool /*funcOnly*/)
{
ol.pushGeneratorState();
- if (Config_getBool("SOURCE_BROWSER") && members)
+ if (/*Config_getBool("SOURCE_BROWSER") &&*/ members)
{
ol.startParagraph();
ol.parseText(text);
@@ -938,7 +964,6 @@ void Definition::addSourceReferences(MemberDef *md)
}
if (m_impl->sourceRefsDict->find(name)==0)
{
- //printf("Adding reference %s->%s\n",md->name().data(),name.data());
m_impl->sourceRefsDict->inSort(name,md);
}
}