diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2022-04-20 10:55:52 +0200 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2022-04-20 18:29:22 +0200 |
commit | 6f5c3727ccbeec0fed45bcb9aef9d0c44340e125 (patch) | |
tree | 152e5e26a47aa67b4ae3e454bb42287c3ea5e68b /sources/shiboken6/ApiExtractor/abstractmetalang.h | |
parent | 51f9351a4f43c2e0b98dcaa98d19b1292e522686 (diff) |
shiboken6: Remove some unused code
Pick-to: 6.3
Change-Id: Ie5dc344b6daf433f6d7522b05e170a0baa848d32
Reviewed-by: Christian Tismer <tismer@stackless.com>
Diffstat (limited to 'sources/shiboken6/ApiExtractor/abstractmetalang.h')
-rw-r--r-- | sources/shiboken6/ApiExtractor/abstractmetalang.h | 21 |
1 files changed, 2 insertions, 19 deletions
diff --git a/sources/shiboken6/ApiExtractor/abstractmetalang.h b/sources/shiboken6/ApiExtractor/abstractmetalang.h index a1709fcd0..7f0de0eea 100644 --- a/sources/shiboken6/ApiExtractor/abstractmetalang.h +++ b/sources/shiboken6/ApiExtractor/abstractmetalang.h @@ -253,23 +253,11 @@ public: bool isPolymorphic() const; /** - * Tells if this class has one or more functions that are protected. - * \return true if the class has protected functions. - */ - bool hasProtectedFunctions() const; - - /** * Tells if this class has one or more fields (member variables) that are protected. * \return true if the class has protected fields. */ bool hasProtectedFields() const; - /** - * Tells if this class has one or more members (functions or fields) that are protected. - * \return true if the class has protected members. - */ - bool hasProtectedMembers() const; - const TypeEntries &templateArguments() const; void setTemplateArguments(const TypeEntries &); @@ -284,13 +272,10 @@ public: void setHasHashFunction(bool on); + /// Returns whether the class has a qHash() overload. Currently unused, + /// specified in type system. bool hasHashFunction() const; - bool hasDefaultToStringFunction() const; - - bool hasEqualsOperator() const; - void setHasEqualsOperator(bool on); - const QList<QPropertySpec> &propertySpecs() const; void addPropertySpec(const QPropertySpec &spec); @@ -361,8 +346,6 @@ public: static std::optional<AbstractMetaEnumValue> findEnumValue(const AbstractMetaClassList &classes, const QString &string); - static std::optional<AbstractMetaEnum> findEnum(const AbstractMetaClassList &classes, - const EnumTypeEntry *entry); SourceLocation sourceLocation() const; void setSourceLocation(const SourceLocation &sourceLocation); |