summaryrefslogtreecommitdiffstats
path: root/headergenerator.cpp
diff options
context:
space:
mode:
authorHugo Lima <hugo.lima@openbossa.org>2009-09-10 10:24:07 -0300
committerHugo Lima <hugo.lima@openbossa.org>2009-09-10 10:36:12 -0300
commitf6192d44c56f76749f8140a81fd0f10bde74ee9a (patch)
tree441e26a67825efe146a3e00b4d1689bb1b57c959 /headergenerator.cpp
parent705549f07ee4366ef20f4918e376edd510cb3495 (diff)
downloadshiboken-f6192d44c56f76749f8140a81fd0f10bde74ee9a.tar.gz
shiboken-f6192d44c56f76749f8140a81fd0f10bde74ee9a.tar.xz
shiboken-f6192d44c56f76749f8140a81fd0f10bde74ee9a.zip
Fix file name of class wrappers for inner classes.
Diffstat (limited to 'headergenerator.cpp')
-rw-r--r--headergenerator.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/headergenerator.cpp b/headergenerator.cpp
index 35d021c8..14f282dd 100644
--- a/headergenerator.cpp
+++ b/headergenerator.cpp
@@ -34,7 +34,7 @@ static Indentor INDENT;
QString HeaderGenerator::fileNameForClass(const AbstractMetaClass* metaClass) const
{
- return metaClass->qualifiedCppName().toLower() + QLatin1String("_wrapper.h");
+ return metaClass->qualifiedCppName().toLower().replace("::", "_") + QLatin1String("_wrapper.h");
}
void HeaderGenerator::writeCopyCtor(QTextStream& s, const AbstractMetaClass* metaClass) const