diff options
Diffstat (limited to 'src/dotnode.cpp')
-rw-r--r-- | src/dotnode.cpp | 20 |
1 files changed, 16 insertions, 4 deletions
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++; } |