Beispiel #1
0
	void CustomWebView::handleFrameState (QWebFrame*, QWebHistoryItem*)
	{
		const auto& histUrl = page ()->history ()->currentItem ().url ();
		if (histUrl != url ())
			remakeURL (histUrl);
	}
Beispiel #2
0
	void CustomWebView::handleLoadFinished ()
	{
		remakeURL (url ());
	}
Beispiel #3
0
	void CustomWebView::handleLoadFinished (bool ok)
	{
		if (ok)
			remakeURL (url ());
	}