diff options
| author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2020-02-06 08:32:45 +0100 |
|---|---|---|
| committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2020-02-06 09:04:10 +0100 |
| commit | ba366999c39e864b2999e6df2693ced3dbe34046 (patch) | |
| tree | d4833c55e150e42b5ab926e53fbcc301f06a3c16 /sources/shiboken2/ApiExtractor/messages.cpp | |
| parent | 7d357fc2a3047eb9e2458a293c9fe1b85e8f1772 (diff) | |
shiboken: Remove InterfaceTypeEntry
InterfaceTypeEntry is a relic from Java, which does not have
multiple inheritance. Remove it and handle it as object-type.
Just removing the code breaks tests though, since AbstractMetaClass
only has one pointer to its base class. The other base classes
are added to the interface list.
FAIL! shiboken2:testmultipleinheritance Newly detected Real test failure!
FAIL! shiboken2:sample::ownership_invalidate_after_use Newly detected Real test failure!
FAIL! shiboken2:sample::visibilitychange Newly detected Real test failure!
[ChangeLog][shiboken] interface-type has been deprecated.
object-type should be used instead.
Change-Id: I19e876d82b26c2ef7865e3fafc74503c6cbd5a8b
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Diffstat (limited to 'sources/shiboken2/ApiExtractor/messages.cpp')
| -rw-r--r-- | sources/shiboken2/ApiExtractor/messages.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/sources/shiboken2/ApiExtractor/messages.cpp b/sources/shiboken2/ApiExtractor/messages.cpp index fa83b77db..0c29249d3 100644 --- a/sources/shiboken2/ApiExtractor/messages.cpp +++ b/sources/shiboken2/ApiExtractor/messages.cpp @@ -131,12 +131,6 @@ QString msgNoEnumTypeConflict(const EnumModelItem &enumItem, return result; } -QString msgInterfaceTypeFound(const QString &qualifiedName) -{ - return QLatin1String("Interface type found for \"") + qualifiedName - + QLatin1String("\"."); -} - QString msgAmbiguousVaryingTypesFound(const QString &qualifiedName, const TypeEntries &te) { QString result = QLatin1String("Ambiguous types of varying types found for \"") + qualifiedName |
