summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Doxyfile1
-rw-r--r--src/config.xml8
-rw-r--r--src/dotnode.cpp20
3 files changed, 25 insertions, 4 deletions
diff --git a/Doxyfile b/Doxyfile
index dbac3e1..44eb5b5 100644
--- a/Doxyfile
+++ b/Doxyfile
@@ -329,3 +329,4 @@ DOT_MULTI_TARGETS = NO
GENERATE_LEGEND = YES
DOT_CLEANUP = NO
DOT_MAX_FOLD = 17
+DOT_UML_DETAILS = NO
diff --git a/src/config.xml b/src/config.xml
index 474993b..14fafca 100644
--- a/src/config.xml
+++ b/src/config.xml
@@ -3668,6 +3668,14 @@ remove the intermediate dot files that are used to generate the various graphs.
]]>
</docs>
</option>
+ <option type='bool' id='DOT_UML_DETAILS' defval='0' depends='HAVE_DOT'>
+ <docs>
+<![CDATA[
+If the \c DOT_UML_DETAILS tag is set to \c YES, doxygen will
+add details in the uml graphs.
+]]>
+ </docs>
+ </option>
<option type='obsolete' id='USE_WINDOWS_ENCODING'/>
<option type='obsolete' id='DETAILS_AT_TOP'/>
<option type='obsolete' id='QTHELP_FILE'/>
diff --git a/src/dotnode.cpp b/src/dotnode.cpp
index 7d71168..89fe9a7 100644
--- a/src/dotnode.cpp
+++ b/src/dotnode.cpp
@@ -148,11 +148,23 @@ static void writeBoxMemberList(FTextStream &t,
else
{
t << prot << " ";
- t << DotNode::convertLabel(mma->typeString());
- t << " ";
+ if(Config_getBool(DOT_UML_DETAILS))
+ {
+ t << DotNode::convertLabel(mma->typeString());
+ t << " ";
+ }
t << DotNode::convertLabel(mma->name());
- if (!mma->isObjCMethod() &&
- (mma->isFunction() || mma->isSlot() || mma->isSignal())) t << DotNode::convertLabel(mma->argsString());
+ if (!mma->isObjCMethod() && (mma->isFunction() || mma->isSlot() || mma->isSignal()))
+ {
+ if(Config_getBool(DOT_UML_DETAILS))
+ {
+ t << DotNode::convertLabel(mma->argsString());
+ }
+ else
+ {
+ t << "()";
+ }
+ }
t << "\\l";
count++;
}