summaryrefslogtreecommitdiffstats
path: root/src/network/kernel
diff options
context:
space:
mode:
authorShane Kearns <shane.kearns@accenture.com>2011-07-04 17:21:34 +0100
committerQt by Nokia <qt-info@nokia.com>2011-07-05 15:32:39 +0200
commitf45ad0eeb3e298df731bc4d8dffe188b21500ea4 (patch)
tree56379e38d3e299884bba769657f9feace2d58cf6 /src/network/kernel
parent1da4753bd944baf0758bf758001bf6449ec8da7f (diff)
Remove QT3_SUPPORT from network
Change-Id: I962bece24c958c053a3edc0e49a594b61a3725ae Reviewed-on: http://codereview.qt.nokia.com/1093 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Liang Qi <liang.qi@nokia.com>
Diffstat (limited to 'src/network/kernel')
-rw-r--r--src/network/kernel/qhostaddress.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/network/kernel/qhostaddress.h b/src/network/kernel/qhostaddress.h
index efb3198fc0..3d364de6e6 100644
--- a/src/network/kernel/qhostaddress.h
+++ b/src/network/kernel/qhostaddress.h
@@ -117,15 +117,6 @@ public:
bool isNull() const;
void clear();
-#ifdef QT3_SUPPORT
- inline QT3_SUPPORT quint32 ip4Addr() const { return toIPv4Address(); }
- inline QT3_SUPPORT bool isIPv4Address() const { return protocol() == QAbstractSocket::IPv4Protocol
- || protocol() == QAbstractSocket::UnknownNetworkLayerProtocol; }
- inline QT3_SUPPORT bool isIp4Addr() const { return protocol() == QAbstractSocket::IPv4Protocol
- || protocol() == QAbstractSocket::UnknownNetworkLayerProtocol; }
- inline QT3_SUPPORT bool isIPv6Address() const { return protocol() == QAbstractSocket::IPv6Protocol; }
-#endif
-
bool isInSubnet(const QHostAddress &subnet, int netmask) const;
bool isInSubnet(const QPair<QHostAddress, int> &subnet) const;