diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2022-04-06 12:49:17 +0200 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2022-04-07 20:32:11 +0200 |
commit | 89180881559f89dc1c932794348b3e9f36986638 (patch) | |
tree | cdee2ff737b0ec2ff9500866a2e4211c3f9f1317 /sources/shiboken6/ApiExtractor/abstractmetalang_enums.h | |
parent | 9f9026e16295b58d5b6d00cf8624c598e1090a0f (diff) |
shiboken6: Refactor the class function queries
Change the meaning of FunctionQueryOption::Constructors to
"constructor except move/copy" since that is what is desired in most
cases. Add FunctionQueryOption::AnyConstructor for the old purpose.
Pick-to: 6.2
Change-Id: I600b02513b9b9e72d7cbd60e22cda7549133ab39
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Diffstat (limited to 'sources/shiboken6/ApiExtractor/abstractmetalang_enums.h')
-rw-r--r-- | sources/shiboken6/ApiExtractor/abstractmetalang_enums.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sources/shiboken6/ApiExtractor/abstractmetalang_enums.h b/sources/shiboken6/ApiExtractor/abstractmetalang_enums.h index dbe9972a8..d5abb029d 100644 --- a/sources/shiboken6/ApiExtractor/abstractmetalang_enums.h +++ b/sources/shiboken6/ApiExtractor/abstractmetalang_enums.h @@ -32,8 +32,9 @@ #include <QtCore/QFlags> enum class FunctionQueryOption { - Constructors = 0x0000001, // Only constructors - CopyConstructor = 0x0000002, // Only copy constructors + AnyConstructor = 0x0000001, // Any constructor (copy/move) + Constructors = 0x0000002, // Constructors except copy/move + CopyConstructor = 0x0000004, // Only copy constructors //Destructors = 0x0000002, // Only destructors. Not included in class. FinalInTargetLangFunctions = 0x0000008, // Only functions that are non-virtual in TargetLang ClassImplements = 0x0000020, // Only functions implemented by the current class |