diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2009-01-29 20:13:23 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2009-01-29 20:13:23 (GMT) |
commit | 5f3d8499c05e9eb512b72d296073041ac4da6f4d (patch) | |
tree | 0653bda058f25d9420dd6ddcaf4edc28781a8aa4 /src/classdef.cpp | |
parent | a0924f7d469a42ab962763ce34ea5fabc73da9d7 (diff) | |
download | Doxygen-5f3d8499c05e9eb512b72d296073041ac4da6f4d.zip Doxygen-5f3d8499c05e9eb512b72d296073041ac4da6f4d.tar.gz Doxygen-5f3d8499c05e9eb512b72d296073041ac4da6f4d.tar.bz2 |
Release-1.5.8-20090129
Diffstat (limited to 'src/classdef.cpp')
-rw-r--r-- | src/classdef.cpp | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/src/classdef.cpp b/src/classdef.cpp index c62a7de..b20a222 100644 --- a/src/classdef.cpp +++ b/src/classdef.cpp @@ -133,7 +133,7 @@ class ClassDefImpl /*! The class this class is an instance of. */ ClassDef *templateMaster; - /*! class name with outer class scope, but without namespace scope. */ + /*! local class name which could be a typedef'ed alias name. */ QCString className; /*! If this class is a Objective-C category, then this points to the @@ -209,8 +209,8 @@ void ClassDefImpl::init(const char *defFileName, const char *name, membersMerged = FALSE; categoryOf = 0; usedOnly = FALSE; - QCString ns; - extractNamespaceName(name,className,ns); + //QCString ns; + //extractNamespaceName(name,className,ns); //printf("m_name=%s m_className=%s ns=%s\n",m_name.data(),m_className.data(),ns.data()); if (((QCString)defFileName).right(5)!=".java" && @@ -3025,7 +3025,7 @@ QCString ClassDef::qualifiedNameWithTemplateParameters( if (!scName.isEmpty()) scName+=scopeSeparator; } - scName+=m_impl->className; + scName+=className(); ArgumentList *al=0; bool isSpecialization = localName().find('<')!=-1; if (templateArguments()) @@ -3052,7 +3052,14 @@ QCString ClassDef::qualifiedNameWithTemplateParameters( QCString ClassDef::className() const { - return m_impl->className; + if (m_impl->className.isEmpty()) + { + return localName(); + } + else + { + return m_impl->className; + } }; void ClassDef::setClassName(const char *name) |