diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2002-01-22 17:56:24 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2002-01-22 17:56:24 (GMT) |
commit | 61e51f0c7b139596e54aaea4c4d684b59cbfae57 (patch) | |
tree | d15a4da33ccd88d9f7ebd50a6090a12c90ccbae4 /src/code.l | |
parent | 9d4d8095cd70a06a3536eea20c32ca7bbddd9f3a (diff) | |
download | Doxygen-61e51f0c7b139596e54aaea4c4d684b59cbfae57.zip Doxygen-61e51f0c7b139596e54aaea4c4d684b59cbfae57.tar.gz Doxygen-61e51f0c7b139596e54aaea4c4d684b59cbfae57.tar.bz2 |
Doxygen-1.2.13-20020122
Diffstat (limited to 'src/code.l')
-rw-r--r-- | src/code.l | 18 |
1 files changed, 13 insertions, 5 deletions
@@ -2,7 +2,7 @@ * * * - * Copyright (C) 1997-2001 by Dimitri van Heesch. + * Copyright (C) 1997-2002 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby @@ -646,11 +646,15 @@ static void generateClassOrGlobalLink(OutputDocInterface &ol,char *clName,int *c writeMultiLineCodeLink(ol,d->getReference(),d->getOutputFileBase(),md->getBodyAnchor(),clName); if (g_currentMemberDef) { - if (Config_getBool("REFERENCED_BY_RELATION") && g_currentMemberDef->isFunction()) + if (Config_getBool("REFERENCED_BY_RELATION") && + (g_currentMemberDef->isFunction() || g_currentMemberDef->isSlot()) + ) { md->addSourceReferencedBy(g_currentMemberDef); } - if (Config_getBool("REFERENCES_RELATION") && g_currentMemberDef->isFunction()) + if (Config_getBool("REFERENCES_RELATION") && + (g_currentMemberDef->isFunction() || g_currentMemberDef->isSlot()) + ) { g_currentMemberDef->addSourceReferences(md); } @@ -710,11 +714,15 @@ static bool getLink(const char *className, if (g_currentDefinition && g_currentMemberDef && md!=g_currentMemberDef && g_insideBody) { - if (Config_getBool("REFERENCED_BY_RELATION") && g_currentMemberDef->isFunction()) + if (Config_getBool("REFERENCED_BY_RELATION") && + (g_currentMemberDef->isFunction() || g_currentMemberDef->isSlot()) + ) { md->addSourceReferencedBy(g_currentMemberDef); } - if (Config_getBool("REFERENCES_RELATION") && g_currentMemberDef->isFunction()) + if (Config_getBool("REFERENCES_RELATION") && + (g_currentMemberDef->isFunction() || g_currentMemberDef->isSlot()) + ) { g_currentMemberDef->addSourceReferences(md); } |