diff options
Diffstat (limited to 'src/corelib/io/qurl.h')
-rw-r--r-- | src/corelib/io/qurl.h | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/src/corelib/io/qurl.h b/src/corelib/io/qurl.h index eb7fb8087c..0425502a52 100644 --- a/src/corelib/io/qurl.h +++ b/src/corelib/io/qurl.h @@ -119,7 +119,7 @@ class QTypeInfo<QUrlTwoFlags<E1, E2> > : public QTypeInfoMerger<QUrlTwoFlags<E1, class QUrl; // qHash is a friend, but we can't use default arguments for friends (ยง8.3.6.4) -Q_CORE_EXPORT uint qHash(const QUrl &url, uint seed = 0) noexcept; +Q_CORE_EXPORT size_t qHash(const QUrl &url, size_t seed = 0) noexcept; class Q_CORE_EXPORT QUrl { @@ -233,11 +233,6 @@ public: void setHost(const QString &host, ParsingMode mode = DecodedMode); QString host(ComponentFormattingOptions = FullyDecoded) const; -#if QT_DEPRECATED_SINCE(5, 15) -#if QT_CONFIG(topleveldomain) - QT_DEPRECATED QString topLevelDomain(ComponentFormattingOptions options = FullyDecoded) const; -#endif -#endif // QT_DEPRECATED_SINCE(5, 15) void setPort(int port); int port(int defaultPort = -1) const; @@ -361,7 +356,7 @@ public: static QList<QUrl> fromStringList(const QStringList &uris, ParsingMode mode = TolerantMode); static void setIdnWhitelist(const QStringList &); - friend Q_CORE_EXPORT uint qHash(const QUrl &url, uint seed) noexcept; + friend Q_CORE_EXPORT size_t qHash(const QUrl &url, size_t seed) noexcept; private: QUrlPrivate *d; |