aboutsummaryrefslogtreecommitdiffstats
path: root/generators/boostpython/boostpythongenerator.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'generators/boostpython/boostpythongenerator.cpp')
-rw-r--r--generators/boostpython/boostpythongenerator.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/generators/boostpython/boostpythongenerator.cpp b/generators/boostpython/boostpythongenerator.cpp
index c62b876d8..8930c40cf 100644
--- a/generators/boostpython/boostpythongenerator.cpp
+++ b/generators/boostpython/boostpythongenerator.cpp
@@ -36,9 +36,9 @@
static Indentor INDENT;
static void dump_function(AbstractMetaFunctionList lst);
-QString BoostPythonGenerator::getWrapperName(const AbstractMetaClass* clazz)
+QString BoostPythonGenerator::getWrapperName(const AbstractMetaClass* metaClass)
{
- QString result = clazz->name().toLower();
+ QString result = metaClass->typeEntry()->qualifiedCppName().toLower();
result.replace("::", "_");
result += "_wrapper";
return result;