NAME
Qt::Network::QHostAddress
PUBLIC METHODS
- QHostAddress()
- QHostAddress(quint32 ip4Addr)
- QHostAddress(quint8 * ip6Addr)
- QHostAddress(const QIPv6Address & ip6Addr)
- QHostAddress(const sockaddr * sockaddr)
- QHostAddress(const QString & address)
- QHostAddress(const QHostAddress & copy)
- QHostAddress(QHostAddress::SpecialAddress address)
- ~QHostAddress()
- void clear()
- bool isInSubnet(const QPair<QHostAddress,int> & subnet)
- bool isInSubnet(const QHostAddress & subnet, int netmask)
- bool isNull()
- bool operator!=(const QHostAddress & address)
- bool operator!=(QHostAddress::SpecialAddress address)
- QHostAddress & operator=(const QHostAddress & other)
- QHostAddress & operator=(const QString & address)
- bool operator==(const QHostAddress & address)
- bool operator==(QHostAddress::SpecialAddress address)
- static QPair<QHostAddress,int> parseSubnet(const QString & subnet)
- QAbstractSocket::NetworkLayerProtocol protocol()
- QString scopeId()
- void setAddress(quint32 ip4Addr)
- void setAddress(quint8 * ip6Addr)
- void setAddress(const QIPv6Address & ip6Addr)
- void setAddress(const sockaddr * sockaddr)
- bool setAddress(const QString & address)
- void setScopeId(const QString & id)
- quint32 toIPv4Address()
- QIPv6Address toIPv6Address()
- QString toString()
ENUM VALUES
- Null
- Broadcast
- LocalHost
- LocalHostIPv6
- Any
- AnyIPv6
EXPORT
None by default.
AUTHOR
Dongxu Ma <dongxu@cpan.org>
COPYRIGHT AND LICENSE
Copyright (C) 2011 - 2012 by Dongxu Ma
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.