List of all members | Public Member Functions
QHostAddressProto Class Reference

#include <qhostaddressproto.h>

Inheritance diagram for QHostAddressProto:
QObject QScriptable

Public Member Functions

 QHostAddressProto (QObject *parent)
 
 ~QHostAddressProto ()
 
Q_INVOKABLE void clear ()
 
Q_INVOKABLE bool isInSubnet (const QHostAddress &subnet, int netmask) const
 
Q_INVOKABLE bool isInSubnet (const QPair< QHostAddress, int > &subnet) const
 
Q_INVOKABLE bool isLoopback () const
 
Q_INVOKABLE bool isNull () const
 
Q_INVOKABLE QAbstractSocket::NetworkLayerProtocol protocol () const
 
Q_INVOKABLE QString scopeId () const
 
Q_INVOKABLE void setAddress (const Q_IPV6ADDR &ip6Addr)
 
Q_INVOKABLE bool setAddress (const QString &address)
 
Q_INVOKABLE void setAddress (const quint8 *ip6Addr)
 
Q_INVOKABLE void setAddress (const sockaddr *sockaddr)
 
Q_INVOKABLE void setAddress (quint32 ip4Addr)
 
Q_INVOKABLE void setAddress (quint8 *ip6Addr)
 
Q_INVOKABLE void setScopeId (const QString &id)
 
Q_INVOKABLE quint32 toIPv4Address () const
 
Q_INVOKABLE quint32 toIPv4Address (bool *ok) const
 
Q_INVOKABLE Q_IPV6ADDR toIPv6Address () const
 
Q_INVOKABLE QString toString () const
 

Constructor & Destructor Documentation

◆ QHostAddressProto()

QHostAddressProto::QHostAddressProto ( QObject parent)

◆ ~QHostAddressProto()

QHostAddressProto::~QHostAddressProto ( )

Member Function Documentation

◆ clear()

void QHostAddressProto::clear ( )

◆ isInSubnet() [1/2]

bool QHostAddressProto::isInSubnet ( const QHostAddress &  subnet,
int  netmask 
) const

◆ isInSubnet() [2/2]

bool QHostAddressProto::isInSubnet ( const QPair< QHostAddress, int > &  subnet) const

◆ isLoopback()

bool QHostAddressProto::isLoopback ( ) const

◆ isNull()

bool QHostAddressProto::isNull ( ) const

◆ protocol()

QAbstractSocket::NetworkLayerProtocol QHostAddressProto::protocol ( ) const

◆ scopeId()

QString QHostAddressProto::scopeId ( ) const

◆ setAddress() [1/6]

void QHostAddressProto::setAddress ( const Q_IPV6ADDR &  ip6Addr)

◆ setAddress() [2/6]

bool QHostAddressProto::setAddress ( const QString &  address)

◆ setAddress() [3/6]

void QHostAddressProto::setAddress ( const quint8 *  ip6Addr)

◆ setAddress() [4/6]

void QHostAddressProto::setAddress ( const sockaddr *  sockaddr)

◆ setAddress() [5/6]

void QHostAddressProto::setAddress ( quint32  ip4Addr)

◆ setAddress() [6/6]

void QHostAddressProto::setAddress ( quint8 *  ip6Addr)

◆ setScopeId()

void QHostAddressProto::setScopeId ( const QString &  id)

◆ toIPv4Address() [1/2]

quint32 QHostAddressProto::toIPv4Address ( ) const

◆ toIPv4Address() [2/2]

quint32 QHostAddressProto::toIPv4Address ( bool *  ok) const

◆ toIPv6Address()

Q_IPV6ADDR QHostAddressProto::toIPv6Address ( ) const

◆ toString()

QString QHostAddressProto::toString ( ) const

The documentation for this class was generated from the following files:

Generated on Fri Apr 9 2021 xTuple ERP Programmer Reference, Version 6.0.0 doxygen 1.8.17