aboutsummaryrefslogtreecommitdiffstats
path: root/sources/shiboken6/ApiExtractor/tests/testaddfunction.cpp
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2020-12-07 14:55:46 +0100
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2020-12-10 13:18:42 +0100
commitfe8959651d8d58c41f65d893f2db3e6c3cc59b00 (patch)
treea6537f4dbbe049d40ae7e1252a4c3d0b0e3581cb /sources/shiboken6/ApiExtractor/tests/testaddfunction.cpp
parent592a716369d2cdacb423b8abc29045b1d1535991 (diff)
shiboken6: Move the function/operator query enumerations out of AbstractMetaClass
This makes it possible to use them in cppgenerator without converting to uint. Pick-to: 6.0 Change-Id: Ice31487d0d053446988f896b4967fa83c656a0d3 Reviewed-by: Christian Tismer <tismer@stackless.com>
Diffstat (limited to 'sources/shiboken6/ApiExtractor/tests/testaddfunction.cpp')
-rw-r--r--sources/shiboken6/ApiExtractor/tests/testaddfunction.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/sources/shiboken6/ApiExtractor/tests/testaddfunction.cpp b/sources/shiboken6/ApiExtractor/tests/testaddfunction.cpp
index 0d05dfb30..e289e590a 100644
--- a/sources/shiboken6/ApiExtractor/tests/testaddfunction.cpp
+++ b/sources/shiboken6/ApiExtractor/tests/testaddfunction.cpp
@@ -470,7 +470,7 @@ void TestAddFunction::testAddFunctionOnTypedef()
AbstractMetaClass* foo = AbstractMetaClass::findClass(classes, QLatin1String("FooInt"));
QVERIFY(foo);
QVERIFY(foo->hasNonPrivateConstructor());
- const auto &lst = foo->queryFunctions(AbstractMetaClass::Constructors);
+ const auto &lst = foo->queryFunctions(FunctionQueryOption::Constructors);
for (const auto &f : lst)
QVERIFY(f->signature().startsWith(f->name()));
QCOMPARE(lst.size(), 2);