summaryrefslogtreecommitdiffstats
path: root/generators/qtdoc
diff options
context:
space:
mode:
authorRenato Araujo Oliveira Filho <renato.filho@openbossa.org>2009-08-26 14:54:30 -0300
committerRenato Araujo Oliveira Filho <renato.filho@openbossa.org>2009-08-26 14:54:30 -0300
commitab4a6ce8f5249240275c5d7bc3e136bdf33d2c19 (patch)
tree056c72ef989853fb76cef8c0e061f87d7868ba57 /generators/qtdoc
parent2a81b249a8098f04aaee89842b90bf53318d61a3 (diff)
parent7ab82eea807ed63ef4bf88668f12568e340b6b5c (diff)
downloadgeneratorrunner-ab4a6ce8f5249240275c5d7bc3e136bdf33d2c19.tar.gz
generatorrunner-ab4a6ce8f5249240275c5d7bc3e136bdf33d2c19.tar.xz
generatorrunner-ab4a6ce8f5249240275c5d7bc3e136bdf33d2c19.zip
Merge commit 'hugo/smallfixes'
Diffstat (limited to 'generators/qtdoc')
-rw-r--r--generators/qtdoc/qtdocgenerator.cpp2
-rw-r--r--generators/qtdoc/qtdocgenerator.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/generators/qtdoc/qtdocgenerator.cpp b/generators/qtdoc/qtdocgenerator.cpp
index 931a84a..a5a1a52 100644
--- a/generators/qtdoc/qtdocgenerator.cpp
+++ b/generators/qtdoc/qtdocgenerator.cpp
@@ -1239,7 +1239,7 @@ void QtDocGenerator::writeFunctionSignature(QTextStream& s, const AbstractMetaCl
QString QtDocGenerator::translateToPythonType(const AbstractMetaType *type, const AbstractMetaClass *cppClass)
{
- QString originalType = translateType(type, cppClass, Generator::ExcludeConst | Generator::ExcludeReference);
+ QString originalType = translateType(type, cppClass, Options(ExcludeConst) | ExcludeReference);
QString strType = originalType;
//remove "*"
diff --git a/generators/qtdoc/qtdocgenerator.h b/generators/qtdoc/qtdocgenerator.h
index b312d44..8f39e72 100644
--- a/generators/qtdoc/qtdocgenerator.h
+++ b/generators/qtdoc/qtdocgenerator.h
@@ -182,8 +182,8 @@ protected:
void generateClass(QTextStream& s, const AbstractMetaClass* cppClass);
void finishGeneration();
- void writeFunctionArguments(QTextStream&, const AbstractMetaFunction*, uint) const {}
- void writeArgumentNames(QTextStream&, const AbstractMetaFunction*, uint) const {}
+ void writeFunctionArguments(QTextStream&, const AbstractMetaFunction*, Options) const {}
+ void writeArgumentNames(QTextStream&, const AbstractMetaFunction*, Options) const {}
QString subDirectoryForClass(const AbstractMetaClass* clazz) const
{
Q_ASSERT(false);