summaryrefslogtreecommitdiffstats
path: root/generators/boostpython/hppgenerator.cpp
diff options
context:
space:
mode:
authorHugo Lima <hugo.lima@openbossa.org>2009-08-25 23:40:20 -0300
committerHugo Lima <hugo.lima@openbossa.org>2009-08-26 13:32:10 -0300
commit7ab82eea807ed63ef4bf88668f12568e340b6b5c (patch)
tree8c26c1310988109345892772977dbfd740745088 /generators/boostpython/hppgenerator.cpp
parent5255857f84d629241806d883bb23981b49fd4bc8 (diff)
downloadgeneratorrunner-7ab82eea807ed63ef4bf88668f12568e340b6b5c.tar.gz
generatorrunner-7ab82eea807ed63ef4bf88668f12568e340b6b5c.tar.xz
generatorrunner-7ab82eea807ed63ef4bf88668f12568e340b6b5c.zip
Use QFlags instead of an int as parameter type in some methods.
Reviewed by Setanta
Diffstat (limited to 'generators/boostpython/hppgenerator.cpp')
-rw-r--r--generators/boostpython/hppgenerator.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/generators/boostpython/hppgenerator.cpp b/generators/boostpython/hppgenerator.cpp
index f6d576d..2bdfae4 100644
--- a/generators/boostpython/hppgenerator.cpp
+++ b/generators/boostpython/hppgenerator.cpp
@@ -175,10 +175,10 @@ void HppGenerator::writeFunction(QTextStream &s, const AbstractMetaFunction* fun
if (func->isConstructor()) {
s << INDENT << getWrapperName(func->ownerClass()) << "(PyObject *py_self" << (func->arguments().size() ? "," : "");
- writeFunctionArguments(s, func, Generator::OriginalTypeDescription | Generator::SkipName);
+ writeFunctionArguments(s, func, Options(OriginalTypeDescription) | SkipName);
s << ")";
} else {
- s << INDENT << functionSignature(func, "", "", Generator::OriginalTypeDescription | Generator::SkipName);
+ s << INDENT << functionSignature(func, "", "", Options(OriginalTypeDescription) | SkipName);
}
if (func->isModifiedRemoved() && func->isAbstract())