void WebView::forward() { QWebHistory* history = page()->history(); if (history->canGoForward()) { history->forward(); emit urlChanged(url()); emit iconChanged(); } }
static PyObject *meth_QWebHistory_forward(PyObject *sipSelf, PyObject *sipArgs) { PyObject *sipParseErr = NULL; { QWebHistory *sipCpp; if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWebHistory, &sipCpp)) { sipCpp->forward(); Py_INCREF(Py_None); return Py_None; } } /* Raise an exception if the arguments couldn't be parsed. */ sipNoMethod(sipParseErr, sipName_QWebHistory, sipName_forward, doc_QWebHistory_forward); return NULL; }
void NavigationBar::goForward() { QWebHistory* history = m_window->weView()->page()->history(); history->forward(); }
void NavigationBar::goForward() { QWebHistory* history = p_QupZilla->weView()->page()->history(); history->forward(); }