summaryrefslogtreecommitdiffstats
path: root/generator/headergenerator.cpp
diff options
context:
space:
mode:
authorHugo Parente Lima <hugo.pl@gmail.com>2011-02-15 16:35:01 -0200
committerHugo Parente Lima <hugo.pl@gmail.com>2011-02-15 19:04:04 -0200
commit938c2e314c94acf9ab24999e79464e58d8e8371d (patch)
tree298e0faeadbb6f7501b629ff70e87f3ce5df3c17 /generator/headergenerator.cpp
parent7901c69c9e404e460aee9b35d0a50f24681c9152 (diff)
downloadshiboken-938c2e314c94acf9ab24999e79464e58d8e8371d.tar.gz
shiboken-938c2e314c94acf9ab24999e79464e58d8e8371d.tar.xz
shiboken-938c2e314c94acf9ab24999e79464e58d8e8371d.zip
Fix bug 684 - "New-style signals does not accept signals with enums as arguments."
Diffstat (limited to 'generator/headergenerator.cpp')
-rw-r--r--generator/headergenerator.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/generator/headergenerator.cpp b/generator/headergenerator.cpp
index b7e2bbdc..b52bf7c9 100644
--- a/generator/headergenerator.cpp
+++ b/generator/headergenerator.cpp
@@ -149,6 +149,9 @@ void HeaderGenerator::generateClass(QTextStream& s, const AbstractMetaClass* met
writeInheritedOverloads(s);
}
+ if (usePySideExtensions())
+ s << INDENT << "static void pysideInitQtMetaTypes();" << endl;
+
s << "};" << endl << endl;
}