void WebWidget::openUrl(const QUrl &url, OpenHints hints)
{
	WebWidget *widget = clone(false, (hints & PrivateOpen));
	widget->setRequestedUrl(url, false);

	emit requestedNewWindow(widget, hints);
}
示例#2
0
void WebWidget::openUrl(const QUrl &url, WindowsManager::OpenHints hints)
{
    WebWidget *widget = clone(false, hints.testFlag(WindowsManager::PrivateOpen));
    widget->setRequestedUrl(url, false);

    emit requestedNewWindow(widget, hints);
}