summaryrefslogtreecommitdiffstats
path: root/generators/qtdoc
diff options
context:
space:
mode:
authorHugo Parente Lima <hugo.pl@gmail.com>2010-07-08 16:30:32 -0300
committerHugo Parente Lima <hugo.pl@gmail.com>2010-07-08 16:30:32 -0300
commit0e2f7543d283f37cd5c47028b663b415572f576f (patch)
tree5cd6629f5bfc16bd093536346703b5e17ad4d494 /generators/qtdoc
parentaa333111a036873d2942fa949901d5634c5f44a7 (diff)
downloadgeneratorrunner-0e2f7543d283f37cd5c47028b663b415572f576f.tar.gz
generatorrunner-0e2f7543d283f37cd5c47028b663b415572f576f.tar.xz
generatorrunner-0e2f7543d283f37cd5c47028b663b415572f576f.zip
Adapt to recent changes in ApiExtractor API.
Diffstat (limited to 'generators/qtdoc')
-rw-r--r--generators/qtdoc/qtdocgenerator.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/generators/qtdoc/qtdocgenerator.cpp b/generators/qtdoc/qtdocgenerator.cpp
index 47ab854..4b5e9d4 100644
--- a/generators/qtdoc/qtdocgenerator.cpp
+++ b/generators/qtdoc/qtdocgenerator.cpp
@@ -1085,8 +1085,8 @@ void QtDocGenerator::writeConstructors(QTextStream &s, const AbstractMetaClass *
writeFunction(s, false, cppClass, func);
foreach(AbstractMetaArgument *arg, func->arguments())
{
- if (!arg_map.contains(arg->argumentName())) {
- arg_map.insert(arg->argumentName(), arg);
+ if (!arg_map.contains(arg->name())) {
+ arg_map.insert(arg->name(), arg);
}
}
}
@@ -1123,7 +1123,7 @@ QString QtDocGenerator::parseArgDocStyle(const AbstractMetaClass *cppClass, cons
optional = true;
}
- ret += arg->argumentName();
+ ret += arg->name();
if (optional)
ret += "=" + arg->defaultValueExpression();
@@ -1290,7 +1290,7 @@ QString QtDocGenerator::translateToPythonType(const AbstractMetaType *type, cons
void QtDocGenerator::writeParamerteType(QTextStream &s, const AbstractMetaClass *cppClass, const AbstractMetaArgument *arg)
{
- s << INDENT << ":param " << arg->argumentName() << ": "
+ s << INDENT << ":param " << arg->name() << ": "
<< translateToPythonType(arg->type(), cppClass) << endl;
}