diff options
Diffstat (limited to 'src/corelib/io/qurl.cpp')
-rw-r--r-- | src/corelib/io/qurl.cpp | 152 |
1 files changed, 0 insertions, 152 deletions
diff --git a/src/corelib/io/qurl.cpp b/src/corelib/io/qurl.cpp index b948a43080..8e3c98c739 100644 --- a/src/corelib/io/qurl.cpp +++ b/src/corelib/io/qurl.cpp @@ -6208,158 +6208,6 @@ bool QUrl::isParentOf(const QUrl &childUrl) const && childPath.length() > ourPath.length() && childPath.at(ourPath.length()) == QLatin1Char('/')))); } -/*! - \fn void QUrl::setProtocol(const QString &s) - - Use setScheme() instead. -*/ - -/*! - \fn void QUrl::setUser(const QString &s) - - Use setUserName() instead. -*/ - -/*! - \fn bool QUrl::hasUser() const - - Use !userName().isEmpty() instead. -*/ - -/*! - \fn bool QUrl::hasPassword() const - - Use !password().isEmpty() instead. -*/ - -/*! - \fn bool QUrl::hasHost() const - - Use !host().isEmpty() instead. -*/ - -/*! - \fn bool QUrl::hasPort() const - - Use port() != -1 instead. -*/ - -/*! - \fn bool QUrl::hasPath() const - - Use !path().isEmpty() instead. -*/ - -/*! - \fn void QUrl::setQuery(const QString &txt) - - Use setEncodedQuery() instead. -*/ - -/*! - \fn void QUrl::setRef(const QString &txt) - - Use setFragment() instead. -*/ - -/*! - \fn bool QUrl::hasRef() const - - Use !fragment().isEmpty() instead. -*/ - -/*! - \fn void QUrl::addPath(const QString &p) - - Use setPath() instead. -*/ - -/*! - \fn void QUrl::setFileName(const QString &txt) - - Use setPath() instead. -*/ - -/*! - \fn void QUrl::decode(QString &url) - - Use fromPercentEncoding() instead. -*/ - -/*! - \fn void QUrl::encode(QString &url) - - Use toPercentEncoding() instead. -*/ - -/*! - \fn bool QUrl::cdUp() - - Use resolved("..") instead. - - \oldcode - QUrl url("http://example.com/Developer/"); - url.cdUp(); - \newcode - QUrl url("http://example.com/Developer/"); - url = url.resolved(".."); - \endcode -*/ - -/*! - \fn bool QUrl::isRelativeUrl(const QString &url) - - Use isRelative() instead. -*/ - -/*! - \fn void QUrl::reset() - - Use clear() instead. -*/ - -/*! - \fn QUrl::operator QString() const - - Use toString() instead. -*/ - -/*! - \fn QString QUrl::protocol() const - - Use scheme() instead. -*/ - -/*! - \fn QString QUrl::user() const - - Use userName() instead. -*/ - -/*! - \fn QString QUrl::query() const - - Use encodedQuery() instead. -*/ - -/*! - \fn QString QUrl::ref() const - - Use fragment() instead. -*/ - -/*! - \fn QString QUrl::fileName() const - - Use QFileInfo(path()).fileName() instead. -*/ - -/*! - \fn QString QUrl::dirPath() const - - Use QFileInfo(path()).absolutePath() or QFileInfo(path()) instead. -*/ - #ifndef QT_NO_DATASTREAM /*! \relates QUrl |