diff options
author | Lars Knoll <lars.knoll@qt.io> | 2016-08-26 13:39:14 +0200 |
---|---|---|
committer | Lars Knoll <lars.knoll@qt.io> | 2016-10-11 14:20:27 +0000 |
commit | 369857d29437615e1fda9fb1ab2f94e464d55ca2 (patch) | |
tree | 5efb1e47561de6a36da3f2c91b01726321b4dac6 /src/corelib/io/qurl.h | |
parent | 5574a814ff7d4932c817618c34e80f3c61887e26 (diff) |
Add configure feature for QUrl::topLevelDomain
Change-Id: I237af8c60a9572c707e7004c9a284dd6cd3306ce
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
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 bce271fcb1..a554a3b07e 100644 --- a/src/corelib/io/qurl.h +++ b/src/corelib/io/qurl.h @@ -235,7 +235,9 @@ public: void setHost(const QString &host, ParsingMode mode = DecodedMode); QString host(ComponentFormattingOptions = FullyDecoded) const; +#if QT_CONFIG(topleveldomain) QString topLevelDomain(ComponentFormattingOptions options = FullyDecoded) const; +#endif void setPort(int port); int port(int defaultPort = -1) const; |