示例#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();
}
示例#2
0
void QtMainWindow::GoBack(int index)
{
    QWebView* wv = (index < tabViews.size()) && (index >= 0) ? tabViews[index] : ui->webView;
    if (wv)
        wv->back();
}
示例#3
0
void BrowserFrame::browserBack()
{
	QWebView *browser = static_cast<QWebView *>(currentWidget());
	if (browser != 0) browser->back();
}