diff options
author | Hugo Lima <hugo.lima@openbossa.org> | 2010-01-11 13:55:56 -0200 |
---|---|---|
committer | Hugo Lima <hugo.lima@openbossa.org> | 2010-01-11 14:02:32 -0200 |
commit | ef6fff7e7cacd4bee51afe64d4301e228ab2eade (patch) | |
tree | 66d865c614b3a691bac2e5a012a68da56bed1f40 /shibokengenerator.cpp | |
parent | cdb91dc7438da10abe071eb852dc0db00ad90695 (diff) |
Use the package name instead of the module name to generate the "global" header file name.
Diffstat (limited to 'shibokengenerator.cpp')
-rw-r--r-- | shibokengenerator.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/shibokengenerator.cpp b/shibokengenerator.cpp index 975ed6c71..9a72b2ee0 100644 --- a/shibokengenerator.cpp +++ b/shibokengenerator.cpp @@ -1119,7 +1119,8 @@ QString ShibokenGenerator::getApiExportMacro() const QString ShibokenGenerator::getModuleHeaderFileName(QString modName) const { if (modName.isEmpty()) - modName = moduleName(); + modName = packageName(); + modName.replace(".", "_"); return QString("%1_python.h").arg(modName.toLower()); } |