summaryrefslogtreecommitdiffstats
path: root/src/definition.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2008-02-10 12:31:40 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2008-02-10 12:31:40 (GMT)
commitb8ff687873e37d7cf0f4e7df0fd7da3660f1999c (patch)
treeb6882cdef0c60182168c8c11e298dcd76cc02bbc /src/definition.cpp
parent0e922bf35ccff96ec03f22df607f3b44303206eb (diff)
downloadDoxygen-b8ff687873e37d7cf0f4e7df0fd7da3660f1999c.zip
Doxygen-b8ff687873e37d7cf0f4e7df0fd7da3660f1999c.tar.gz
Doxygen-b8ff687873e37d7cf0f4e7df0fd7da3660f1999c.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);
}
}