Help: Rename handleHelpRequest to showHelpUrl

Since that is what it does.

Change-Id: I13ffe21cdb625a0df1313f2ff09bf84196f08768
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
This commit is contained in:
Eike Ziller
2019-01-24 10:42:24 +01:00
parent bbe0cd68fa
commit 0345bcb7cc
12 changed files with 17 additions and 17 deletions

View File

@@ -96,15 +96,15 @@ QByteArray fileData(const QUrl &url)
return checkInstance() ? m_instance->fileData(url) : QByteArray();
}
void handleHelpRequest(const QUrl &url, HelpManager::HelpViewerLocation location)
void showHelpUrl(const QUrl &url, HelpManager::HelpViewerLocation location)
{
if (checkInstance())
m_instance->handleHelpRequest(url, location);
m_instance->showHelpUrl(url, location);
}
void handleHelpRequest(const QString &url, HelpViewerLocation location)
void showHelpUrl(const QString &url, HelpViewerLocation location)
{
handleHelpRequest(QUrl(url), location);
showHelpUrl(QUrl(url), location);
}
} // HelpManager