diff options
author | Jocelyn Turcotte <jocelyn.turcotte@nokia.com> | 2009-09-29 16:00:40 (GMT) |
---|---|---|
committer | Jocelyn Turcotte <jocelyn.turcotte@nokia.com> | 2009-09-29 16:03:14 (GMT) |
commit | dbe294cdf383d8c8c0da21730be155c5291541d8 (patch) | |
tree | 370f8ddde7e592dc34f5d84238579cedcadc0d8f /src/corelib/io/qurl.h | |
parent | c97b576a184a6ad57bf6bf043fa8b4b0be046730 (diff) | |
download | Qt-dbe294cdf383d8c8c0da21730be155c5291541d8.zip Qt-dbe294cdf383d8c8c0da21730be155c5291541d8.tar.gz Qt-dbe294cdf383d8c8c0da21730be155c5291541d8.tar.bz2 |
Adds QUrl::fromUserInput, gathered from QWebView::guessUrlFromString.
Reviewed-by: Thiago Macieira
Diffstat (limited to 'src/corelib/io/qurl.h')
-rw-r--r-- | src/corelib/io/qurl.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/corelib/io/qurl.h b/src/corelib/io/qurl.h index b00074a..f76d345 100644 --- a/src/corelib/io/qurl.h +++ b/src/corelib/io/qurl.h @@ -189,6 +189,8 @@ public: static QUrl fromEncoded(const QByteArray &url, ParsingMode mode); // ### Qt 5: merge the two fromEncoded() functions, with mode = TolerantMode + static QUrl fromUserInput(const QString &userInput); + void detach(); bool isDetached() const; |