summaryrefslogtreecommitdiffstats
path: root/generators/qtdoc
diff options
context:
space:
mode:
authorHugo Lima <hugo.lima@openbossa.org>2009-08-21 18:36:37 -0300
committerHugo Lima <hugo.lima@openbossa.org>2009-08-25 16:23:16 -0300
commit2270cb2b4e57b8e3d82dd1cf692eea75a4342c45 (patch)
treec485f506155df3d5ec7a21347b9d1e8d38f85400 /generators/qtdoc
parent55dd77e04a8cef0e14648d6d8fb18cdc18695931 (diff)
downloadgeneratorrunner-2270cb2b4e57b8e3d82dd1cf692eea75a4342c45.tar.gz
generatorrunner-2270cb2b4e57b8e3d82dd1cf692eea75a4342c45.tar.xz
generatorrunner-2270cb2b4e57b8e3d82dd1cf692eea75a4342c45.zip
Removed QtDocGenerator dependence from BoostPythonGenerator, so a lot
of function were moved from BoostPythonGenerator to the Generator class. In other words, QtDocGenerator finally compiles and their unit test pass :-)
Diffstat (limited to 'generators/qtdoc')
-rw-r--r--generators/qtdoc/CMakeLists.txt2
-rw-r--r--generators/qtdoc/qtdocgenerator.h9
2 files changed, 10 insertions, 1 deletions
diff --git a/generators/qtdoc/CMakeLists.txt b/generators/qtdoc/CMakeLists.txt
index 68c92b9..fb71784 100644
--- a/generators/qtdoc/CMakeLists.txt
+++ b/generators/qtdoc/CMakeLists.txt
@@ -5,6 +5,6 @@ qtdocgenerator.cpp
)
add_library(qtdoc_generator SHARED ${qtdoc_generator_SRC})
-target_link_libraries(qtdoc_generator ${APIEXTRACTOR_LIBRARY} ${QT_QTCORE_LIBRARY} generator)
+target_link_libraries(qtdoc_generator ${APIEXTRACTOR_LIBRARY} ${QT_QTCORE_LIBRARY} genrunner)
install(TARGETS qtdoc_generator DESTINATION ${LIB_INSTALL_DIR})
diff --git a/generators/qtdoc/qtdocgenerator.h b/generators/qtdoc/qtdocgenerator.h
index 1d89819..c9b4113 100644
--- a/generators/qtdoc/qtdocgenerator.h
+++ b/generators/qtdoc/qtdocgenerator.h
@@ -180,6 +180,15 @@ protected:
QString fileNameForClass(const AbstractMetaClass* cppClass) const;
void generateClass(QTextStream& s, const AbstractMetaClass* cppClass);
void finishGeneration();
+
+ void writeFunctionArguments(QTextStream&, const AbstractMetaFunction*, uint) const {}
+ void writeArgumentNames(QTextStream&, const AbstractMetaFunction*, uint) const {}
+ QString subDirectoryForClass(const AbstractMetaClass* clazz) const
+ {
+ Q_ASSERT(false);
+ return QString();
+ }
+
private:
void writeEnums(QTextStream& s, const AbstractMetaClass* cppClass);