diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2022-01-24 13:52:27 +0100 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2022-01-26 16:47:19 +0000 |
commit | 72c78023aac12c19f7cee166cdd3e1bd16e1b410 (patch) | |
tree | 54c1b633b5cf8502b4cf079d57604b6b906a0e23 | |
parent | 1b38a61ebb5617a341039c0bb9b7695194f5a2c5 (diff) |
shiboken6: Output class name in AbstractMetaFunction::debugSignature()
Change-Id: I62baa8100f3f5176f2f65c2c101be25ee5650733
Reviewed-by: Christian Tismer <tismer@stackless.com>
(cherry picked from commit a2700ad6f4222bbf1a302dca777f4bce986d27e7)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r-- | sources/shiboken6/ApiExtractor/abstractmetafunction.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sources/shiboken6/ApiExtractor/abstractmetafunction.cpp b/sources/shiboken6/ApiExtractor/abstractmetafunction.cpp index fc79a8c2a..8b2d2b484 100644 --- a/sources/shiboken6/ApiExtractor/abstractmetafunction.cpp +++ b/sources/shiboken6/ApiExtractor/abstractmetafunction.cpp @@ -882,6 +882,8 @@ QString AbstractMetaFunction::debugSignature() const const bool isFinal = attributes() & AbstractMetaFunction::FinalCppMethod; if (!isOverride && !isFinal && (attributes() & AbstractMetaFunction::VirtualCppMethod)) result += QLatin1String("virtual "); + if (d->m_implementingClass) + result += d->m_implementingClass->qualifiedCppName() + u"::"_qs; result += minimalSignature(); if (isOverride) result += QLatin1String(" override"); |