Remove QWebView::guessUrlFromString() and replace its use
authorkenneth@webkit.org <kenneth@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 29 Oct 2009 14:43:18 +0000 (14:43 +0000)
committerkenneth@webkit.org <kenneth@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 29 Oct 2009 14:43:18 +0000 (14:43 +0000)
commita70192aa92dad186768eb2727136f45598ff8e61
tree3e1053900aa1491ee6e98e76aea6fdac5d4f3264
parent693023467477d6aec3a55df3a986b69f023ab604
Remove QWebView::guessUrlFromString() and replace its use
with the new QUrl::fromUserInput() if using Qt 4.6 or newer.

Patch by Kenneth Rohde Christiansen <kenneth@webkit.org> on 2009-10-29
Reviewed by Tor Arne Vestbø.

* Api/qwebview.cpp:
* Api/qwebview.h:
* QGVLauncher/main.cpp:
(urlFromUserInput):
(WebPage::applyProxy):
(MainWindow::load):
* QtLauncher/main.cpp:
(urlFromUserInput):
(MainWindow::MainWindow):
(MainWindow::changeLocation):
* tests/qwebview/tst_qwebview.cpp:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@50270 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebKit/qt/Api/qwebview.cpp
WebKit/qt/Api/qwebview.h
WebKit/qt/ChangeLog
WebKit/qt/QGVLauncher/main.cpp
WebKit/qt/QtLauncher/main.cpp
WebKit/qt/tests/qwebview/tst_qwebview.cpp