aboutsummaryrefslogtreecommitdiffstats
path: root/sources/shiboken6/ApiExtractor/abstractmetalang.h
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2020-12-21 17:26:40 +0100
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2020-12-22 15:32:37 +0100
commit6d25758babd8ccad4fbc7effe561c29cbd692434 (patch)
treec6107500600cfd273960c62d7d59c353b19073b7 /sources/shiboken6/ApiExtractor/abstractmetalang.h
parentb9286bd08a4e7bf8f603e274c80cbd86cb9c1a4a (diff)
shiboken6/ApiExtractorResult: Use const AbstractMetaClass * for the class list
Add the missing overloads of AbstractMetaClass::findClass() and adapt some types. Pick-to: 6.0 Change-Id: I65851248b4b6a2e1d4f57fc58ecaf75fb4c00b29 Reviewed-by: Christian Tismer <tismer@stackless.com> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Diffstat (limited to 'sources/shiboken6/ApiExtractor/abstractmetalang.h')
-rw-r--r--sources/shiboken6/ApiExtractor/abstractmetalang.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sources/shiboken6/ApiExtractor/abstractmetalang.h b/sources/shiboken6/ApiExtractor/abstractmetalang.h
index 61b5a092c..3626ba469 100644
--- a/sources/shiboken6/ApiExtractor/abstractmetalang.h
+++ b/sources/shiboken6/ApiExtractor/abstractmetalang.h
@@ -293,8 +293,12 @@ public:
static AbstractMetaClass *findClass(const AbstractMetaClassList &classes,
const QString &name);
+ static const AbstractMetaClass *findClass(const AbstractMetaClassCList &classes,
+ const QString &name);
static AbstractMetaClass *findClass(const AbstractMetaClassList &classes,
const TypeEntry* typeEntry);
+ static const AbstractMetaClass *findClass(const AbstractMetaClassCList &classes,
+ const TypeEntry* typeEntry);
static std::optional<AbstractMetaEnumValue> findEnumValue(const AbstractMetaClassList &classes,
const QString &string);
static std::optional<AbstractMetaEnum> findEnum(const AbstractMetaClassList &classes,