aboutsummaryrefslogtreecommitdiffstats
path: root/headergenerator.cpp
diff options
context:
space:
mode:
authorRenato Filho <renato.filho@openbossa.org>2010-07-15 16:30:48 -0300
committerRenato Filho <renato.filho@openbossa.org>2010-07-15 18:41:33 -0300
commitc947f458b3f833135490d8fad8ec6265f6d20c4f (patch)
tree310862bbf4d5884b3cbcee672d47b01a9974a44a /headergenerator.cpp
parentc67bee3be1198fcab90d45c96ff3cdb3d4a7bb2d (diff)
Fixed protected hack generation to work with new libapiextracotr api.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Luciano Wolf <luciano.wolf@openbossa.org>
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 59f3f6e04..d5fab6bd9 100644
--- a/headergenerator.cpp
+++ b/headergenerator.cpp
@@ -159,7 +159,7 @@ void HeaderGenerator::writeFunction(QTextStream& s, const AbstractMetaFunction*
s << func->originalName() << '(';
QStringList args;
foreach (const AbstractMetaArgument* arg, func->arguments()) {
- QString argName = arg->argumentName();
+ QString argName = arg->name();
const TypeEntry* enumTypeEntry = 0;
if (arg->type()->isFlags())
enumTypeEntry = reinterpret_cast<const FlagsTypeEntry*>(arg->type()->typeEntry())->originator();