Beispiel #1
0
// Public Slots.
void QWebViewProto::back()
{
  scriptDeprecated("QWebView will not be available in a future version");
  QWebView *item = qscriptvalue_cast<QWebView*>(thisObject());
  if (item)
    return item->back();
}
Beispiel #2
0
void QtMainWindow::GoBack(int index)
{
    QWebView* wv = (index < tabViews.size()) && (index >= 0) ? tabViews[index] : ui->webView;
    if (wv)
        wv->back();
}
void BrowserFrame::browserBack()
{
	QWebView *browser = static_cast<QWebView *>(currentWidget());
	if (browser != 0) browser->back();
}