Exemplo n.º 1
0
void WebView::setHtml ( const QString &html, const QString &baseUrl )
{
  QUrl url( baseUrl.isEmpty() ? QUrl() : urlFromString(baseUrl) );
  QWebView::setHtml( html, url );
}
Exemplo n.º 2
0
void QcHelpBrowser::load( const QString &urlString ) {
    helpFileView->load( urlFromString(urlString) );
}
Exemplo n.º 3
0
void WebView::setUrl( const QString & str )
{
  load( urlFromString(str) );
}
Exemplo n.º 4
0
void QcHelpBrowser::setHome( const QString &homeUrl )
{
    _home = urlFromString(homeUrl);
    goHome();
}