Added function specifier info to dumper.

This commit is contained in:
Erik Verbruggen
2010-08-24 12:14:30 +02:00
parent 49296ae135
commit 7b3f80e6eb

View File

@@ -277,6 +277,19 @@ protected:
out << qPrintable(o(symbol->type()));
if (symbol->isDeprecated())
out << "\\n(deprecated)";
if (Function *funTy = symbol->type()->asFunctionType()) {
if (funTy->isPureVirtual())
out << "\\n(pure virtual)";
else if (funTy->isVirtual())
out << "\\n(virtual)";
if (funTy->isSignal())
out << "\\n(signal)";
if (funTy->isSlot())
out << "\\n(slot)";
if (funTy->isInvokable())
out << "\\n(invokable)";
}
out << "\"];" << std::endl;
return true;