summaryrefslogtreecommitdiffstats
path: root/demos/browser/browsermainwindow.h
diff options
context:
space:
mode:
authorJocelyn Turcotte <jocelyn.turcotte@nokia.com>2009-11-11 13:56:41 (GMT)
committerJocelyn Turcotte <jocelyn.turcotte@nokia.com>2009-11-12 13:20:14 (GMT)
commitaeea26b384a362e59c335f7932a8b3915c1c8383 (patch)
treed895f0477a5dcc255083d4e4505640ddd4104ed3 /demos/browser/browsermainwindow.h
parentd39104d9b0ce43f872d2880baef8e1cff289adb8 (diff)
downloadQt-aeea26b384a362e59c335f7932a8b3915c1c8383.zip
Qt-aeea26b384a362e59c335f7932a8b3915c1c8383.tar.gz
Qt-aeea26b384a362e59c335f7932a8b3915c1c8383.tar.bz2
QUrl::fromUserInput: improvements, corrections and make the demo
browser use it. - Handle windows files names by looking for paths first (and don't check that it exists first) - Handle host names without dots (it was not handled because of difficulties with the case host:port) - Return the parsed url only if the host or the path is not empty instead of returning a url that looks like "http:" Reviewed-by: Thiago Macieira
Diffstat (limited to 'demos/browser/browsermainwindow.h')
-rw-r--r--demos/browser/browsermainwindow.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/demos/browser/browsermainwindow.h b/demos/browser/browsermainwindow.h
index f5c14ea..f0f95b1 100644
--- a/demos/browser/browsermainwindow.h
+++ b/demos/browser/browsermainwindow.h
@@ -68,7 +68,6 @@ public:
QSize sizeHint() const;
public:
- static QUrl guessUrlFromString(const QString &url);
TabWidget *tabWidget() const;
WebView *currentTab() const;
QByteArray saveState(bool withTabs = true) const;