diff --git a/src/tools/qdoc/doc.cpp b/src/tools/qdoc/doc.cpp index f322bd9360..4ed5894543 100644 --- a/src/tools/qdoc/doc.cpp +++ b/src/tools/qdoc/doc.cpp @@ -308,7 +308,7 @@ public: Doc::Sections granularity_; Doc::Sections section_; // ### QList tableOfContents_; - QList tableOfContentsLevels_; + QVector tableOfContentsLevels_; QList keywords_; QList targets_; QStringMultiMap metaMap_; @@ -3087,7 +3087,7 @@ const QList &Doc::tableOfContents() const return priv->extra->tableOfContents_; } -const QList &Doc::tableOfContentsLevels() const +const QVector &Doc::tableOfContentsLevels() const { priv->constructExtra(); return priv->extra->tableOfContentsLevels_; diff --git a/src/tools/qdoc/doc.h b/src/tools/qdoc/doc.h index dd14e73e91..b064b5878e 100644 --- a/src/tools/qdoc/doc.h +++ b/src/tools/qdoc/doc.h @@ -168,7 +168,7 @@ public: bool hasKeywords() const; bool hasTargets() const; const QList &tableOfContents() const; - const QList &tableOfContentsLevels() const; + const QVector &tableOfContentsLevels() const; const QList &keywords() const; const QList &targets() const; const QStringMultiMap &metaTagMap() const; diff --git a/src/tools/qdoc/qdocindexfiles.h b/src/tools/qdoc/qdocindexfiles.h index 9a18639251..03f5a369c7 100644 --- a/src/tools/qdoc/qdocindexfiles.h +++ b/src/tools/qdoc/qdocindexfiles.h @@ -74,8 +74,8 @@ class QDocIndexFiles QDocDatabase* qdb_; Generator* gen_; QString project_; - QList > basesList_; - QList > relatedList_; + QVector > basesList_; + QVector > relatedList_; }; QT_END_NAMESPACE diff --git a/src/tools/qdoc/qmlmarkupvisitor.h b/src/tools/qdoc/qmlmarkupvisitor.h index e336f32929..ddd16209ab 100644 --- a/src/tools/qdoc/qmlmarkupvisitor.h +++ b/src/tools/qdoc/qmlmarkupvisitor.h @@ -157,7 +157,7 @@ private: QString sourceText(QQmlJS::AST::SourceLocation &location); QQmlJS::Engine *engine; - QList extraTypes; + QVector extraTypes; QVector extraLocations; QString source; QString output;