forked from qt-creator/qt-creator
Help: Open example documentation in extra window
Also remove the hack that HelpManager::handleHelpRequest looks for ?view=split in the URL and use an enum instead. Change-Id: I4ad74775381cf0b321181358266d8e89c6e277b5 Reviewed-by: Karsten Heimrich <karsten.heimrich@digia.com>
This commit is contained in:
@@ -282,9 +282,14 @@ QByteArray HelpManager::fileData(const QUrl &url)
|
||||
return d->m_helpEngine->fileData(url);
|
||||
}
|
||||
|
||||
void HelpManager::handleHelpRequest(const QString &url)
|
||||
void HelpManager::handleHelpRequest(const QUrl &url, HelpManager::HelpViewerLocation location)
|
||||
{
|
||||
emit m_instance->helpRequested(QUrl(url));
|
||||
emit m_instance->helpRequested(url, location);
|
||||
}
|
||||
|
||||
void HelpManager::handleHelpRequest(const QString &url, HelpViewerLocation location)
|
||||
{
|
||||
handleHelpRequest(QUrl(url), location);
|
||||
}
|
||||
|
||||
QStringList HelpManager::registeredNamespaces()
|
||||
|
||||
Reference in New Issue
Block a user