aboutsummaryrefslogtreecommitdiffstats
path: root/sources/shiboken6/ApiExtractor/abstractmetaargument.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'sources/shiboken6/ApiExtractor/abstractmetaargument.cpp')
-rw-r--r--sources/shiboken6/ApiExtractor/abstractmetaargument.cpp14
1 files changed, 13 insertions, 1 deletions
diff --git a/sources/shiboken6/ApiExtractor/abstractmetaargument.cpp b/sources/shiboken6/ApiExtractor/abstractmetaargument.cpp
index 366fc00a1..539234249 100644
--- a/sources/shiboken6/ApiExtractor/abstractmetaargument.cpp
+++ b/sources/shiboken6/ApiExtractor/abstractmetaargument.cpp
@@ -39,6 +39,7 @@ public:
QString m_name;
AbstractMetaType m_type;
+ AbstractMetaType m_modifiedType;
bool m_hasName = false;
Documentation m_doc;
QString m_expression;
@@ -68,7 +69,18 @@ const AbstractMetaType &AbstractMetaArgument::type() const
void AbstractMetaArgument::setType(const AbstractMetaType &type)
{
if (d->m_type != type)
- d->m_type = type;
+ d->m_type = d->m_modifiedType = type;
+}
+
+const AbstractMetaType &AbstractMetaArgument::modifiedType() const
+{
+ return d->m_modifiedType;
+}
+
+void AbstractMetaArgument::setModifiedType(const AbstractMetaType &type)
+{
+ if (d->m_modifiedType != type)
+ d->m_modifiedType = type;
}
QString AbstractMetaArgument::name() const