diff --git a/src/qdoc/clangcodeparser.cpp b/src/qdoc/clangcodeparser.cpp index ea4ffb18e2e119de708181d84df353f8183d9e16..9cc3a746673ef3e8c24413255fec94c93b1584c7 100644 --- a/src/qdoc/clangcodeparser.cpp +++ b/src/qdoc/clangcodeparser.cpp @@ -414,8 +414,6 @@ private: Returns true if the symbol should be ignored for the documentation. */ bool ignoredSymbol(const QString &symbolName) { - if (symbolName.startsWith(QLatin1String("qt_"))) - return true; if (symbolName == QLatin1String("QPrivateSignal")) return true; return false; diff --git a/src/qdoc/generator.cpp b/src/qdoc/generator.cpp index 760488bea6a553c202bb5b3c9e5952bf4583f775..746b75b1f89cc435c0ccc36dbcf29d5f4ba63f75 100644 --- a/src/qdoc/generator.cpp +++ b/src/qdoc/generator.cpp @@ -838,15 +838,16 @@ void Generator::generateBody(const Node *node, CodeMarker *marker) else if (!node->isWrapper() && !quiet && !node->isReimplemented()) { bool report = true; /* - These are the member function names added by the macros - Q_OBJECT and Q_DECLARE_PRIVATE. Usually they are not - documented, but they can be documented, so this test - avoids reporting an error if they are not documented. + These are the member function names added by macros. + Usually they are not documented, but they can be + documented, so this test avoids reporting an error + if they are not documented. But maybe we should generate a standard text for each of them? */ - if (node->name() == QLatin1String("metaObject") || + if (node->name().startsWith(QLatin1String("qt_")) || + node->name() == QLatin1String("metaObject") || node->name() == QLatin1String("tr") || node->name() == QLatin1String("trUtf8") || node->name() == QLatin1String("d_func")) {