MCPcopy Create free account
hub / github.com/OpenBoard-org/OpenBoard / loadUrl

Method loadUrl

src/web/UBWebController.cpp:700–712  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

698
699
700void UBWebController::loadUrl(const QUrl& url)
701{
702 UBApplication::applicationController->showInternet();
703 if (UBSettings::settings()->webUseExternalBrowser->get().toBool())
704 {
705 QDesktopServices::openUrl(url);
706 }
707 else
708 {
709 WebView* view = mCurrentWebBrowser->tabWidget()->createTab();
710 view->load(url);
711 }
712}
713
714
715WebView* UBWebController::createNewTab()

Callers 5

linkClickedMethod · 0.80
purchaseLinkActivatedMethod · 0.80
gotoContentSourceMethod · 0.80
playMethod · 0.80
openURLMethod · 0.80

Calls 5

createTabMethod · 0.80
tabWidgetMethod · 0.80
showInternetMethod · 0.45
getMethod · 0.45
loadMethod · 0.45

Tested by

no test coverage detected