diff options
| author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2020-03-06 18:10:17 +0100 |
|---|---|---|
| committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2020-03-06 18:10:17 +0100 |
| commit | b94112ea6c60ed9a4990bcfe4a8ad0a96e90aecd (patch) | |
| tree | 60417ebf06b1e4ec63fb8fccac2ac0e4070917f0 /sources/shiboken2/ApiExtractor/parser/codemodel.cpp | |
| parent | a7d32524b22fd8ac491d0624d91d828593936d6e (diff) | |
| parent | 6baf94735ff683adb4233825a8b0adbd68e9ed8a (diff) | |
Merge remote-tracking branch 'origin/5.14' into 5.15
Change-Id: I116f2abfda7263fac8a31ffbe8fc82bfa0cbc618
Diffstat (limited to 'sources/shiboken2/ApiExtractor/parser/codemodel.cpp')
| -rw-r--r-- | sources/shiboken2/ApiExtractor/parser/codemodel.cpp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/sources/shiboken2/ApiExtractor/parser/codemodel.cpp b/sources/shiboken2/ApiExtractor/parser/codemodel.cpp index 892a20bb7..c87dd0174 100644 --- a/sources/shiboken2/ApiExtractor/parser/codemodel.cpp +++ b/sources/shiboken2/ApiExtractor/parser/codemodel.cpp @@ -1137,6 +1137,20 @@ void _FunctionModelItem::setInvokable(bool isInvokable) m_isInvokable = isInvokable; } +QString _FunctionModelItem::typeSystemSignature() const // For dumping out type system files +{ + QString result; + QTextStream str(&result); + str << name() << '('; + for (int a = 0, size = m_arguments.size(); a < size; ++a) { + if (a) + str << ','; + str << m_arguments.at(a)->type().qualifiedName().join(QLatin1String("::")); + } + str << ')'; + return result; +} + #ifndef QT_NO_DEBUG_STREAM void _FunctionModelItem::formatDebug(QDebug &d) const { |
