diff options
author | Jarek Kobus <jaroslaw.kobus@qt.io> | 2019-02-18 12:30:31 +0100 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2019-02-26 08:12:50 +0000 |
commit | 8626e491825a04df817998c8089d56a7b0ba5d96 (patch) | |
tree | 32e5ae79743a0f6bd5839da779e2c9058ae21aee /src/assistant | |
parent | 54df8b58fd1285ee94e5f3c7e7d354f5df15d2e8 (diff) | |
download | qttools-8626e491825a04df817998c8089d56a7b0ba5d96.tar.gz |
Rename helpDetails to fromCompressedHelpFile
Task-number: QTBUG-73738
Change-Id: Id5ecec6fba37127032bf3f002a720615ccc18288
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Reviewed-by: Kai Koehne <kai.koehne@qt.io>
Diffstat (limited to 'src/assistant')
-rw-r--r-- | src/assistant/assistant/preferencesdialog.cpp | 2 | ||||
-rw-r--r-- | src/assistant/help/qhelpcollectiondetails.cpp | 2 | ||||
-rw-r--r-- | src/assistant/help/qhelpcollectiondetails.h | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/assistant/assistant/preferencesdialog.cpp b/src/assistant/assistant/preferencesdialog.cpp index 6c9affb0b..803bc61ed 100644 --- a/src/assistant/assistant/preferencesdialog.cpp +++ b/src/assistant/assistant/preferencesdialog.cpp @@ -351,7 +351,7 @@ void PreferencesDialog::addDocumentation() bool added = false; for (const QString &fileName : fileNames) { - const QHelpCollectionDetails details = QHelpCollectionDetails::helpDetails(fileName); + const QHelpCollectionDetails details = QHelpCollectionDetails::fromCompressedHelpFile(fileName); const QString namespaceName = details.namespaceName(); if (m_currentSetup.m_namespaceToFileName.contains(namespaceName)) diff --git a/src/assistant/help/qhelpcollectiondetails.cpp b/src/assistant/help/qhelpcollectiondetails.cpp index f36512b3e..76d52c2ea 100644 --- a/src/assistant/help/qhelpcollectiondetails.cpp +++ b/src/assistant/help/qhelpcollectiondetails.cpp @@ -112,7 +112,7 @@ QString QHelpCollectionDetails::version() const return d->m_version; } -QHelpCollectionDetails QHelpCollectionDetails::helpDetails(const QString &documentationFileName) +QHelpCollectionDetails QHelpCollectionDetails::fromCompressedHelpFile(const QString &documentationFileName) { QHelpDBReader reader(documentationFileName, QHelpGlobal::uniquifyConnectionName(QLatin1String("GetHelpDetails"), diff --git a/src/assistant/help/qhelpcollectiondetails.h b/src/assistant/help/qhelpcollectiondetails.h index a4114658b..af95a73d7 100644 --- a/src/assistant/help/qhelpcollectiondetails.h +++ b/src/assistant/help/qhelpcollectiondetails.h @@ -65,7 +65,7 @@ public: QString component() const; QString version() const; - static QHelpCollectionDetails helpDetails(const QString &documentationFileName); + static QHelpCollectionDetails fromCompressedHelpFile(const QString &documentationFileName); private: QSharedDataPointer<QHelpCollectionDetailsPrivate> d; |