KLayout Manual: Main Index » Class Index » API reference - Class QHostInfoAPI reference - Class QHostInfoNotation used in Ruby API documentation Description: Binding of QHostInfo Public constructors
Public methods
Public static methods and constants
Detailed description[static] QHostInfo_HostInfoError HostNotFoundDescription: Enum constant enum QHostInfo::HostNotFound [static] QHostInfo_HostInfoError NoErrorDescription: Enum constant enum QHostInfo::NoError [static] QHostInfo_HostInfoError UnknownErrorDescription: Enum constant enum QHostInfo::UnknownError [static] void abortHostLookup(int lookupId)Description: Static method void QHostInfo::abortHostLookup(int lookupId) This method is static and can be called without an instance. [const] QHostAddress[] addressesDescription: Method QList<class QHostAddress> QHostInfo::addresses() void addresses=(QHostAddress[] addresses)Description: Method void QHostInfo::setAddresses(const QList<class QHostAddress> &addresses) QHostInfo assign(const QHostInfo d)Description: Method QHostInfo & QHostInfo::operator=(const QHostInfo &d) [const] void assign(const QHostInfo other)Description: Assign the contents of another object to self This method assigns the contents of another object to self. This is a deep copy that does not only copy the reference but the actual content. void createDescription: Ensures the C++ object is created Use this method to ensure the C++ object is created, for example to ensure that resources are allocated. Usually C++ objects are created on demand and not necessarily when the script object is created. void destroyDescription: Explicitly destroy the object Explicitly destroy the object on C++ side if it was owned by the Ruby interpreter. Subsequent access to this object will throw an exception. If the object is not owned by Ruby, this method will do nothing. [const] bool destroyed?Description: Returns a value indicating whether the object was already destroyed This method returns true, if the object was destroyed, either explicitly or by the C++ side. The latter may happen, if the object is owned by a C++ object which got destroyed itself. [const] QHostInfo dupDescription: Creates a copy of self [const] QHostInfo_HostInfoError errorDescription: Method QHostInfo::HostInfoError QHostInfo::error() void error=(const QHostInfo_HostInfoError error)Description: Method void QHostInfo::setError(QHostInfo::HostInfoError error) [const] string errorStringDescription: Method QString QHostInfo::errorString() void errorString=(string errorString)Description: Method void QHostInfo::setErrorString(const QString &errorString) [static] QHostInfo fromName(string name)Description: Static method QHostInfo QHostInfo::fromName(const QString &name) This method is static and can be called without an instance. [const] string hostNameDescription: Method QString QHostInfo::hostName() void hostName=(string name)Description: Method void QHostInfo::setHostName(const QString &name) [const] bool is_const_object?Description: Returns a value indicating whether the reference is a const reference This method returns true, if self is a const reference. In that case, only const methods may be called on self. [static] string localDomainNameDescription: Static method QString QHostInfo::localDomainName() This method is static and can be called without an instance. [static] string localHostNameDescription: Static method QString QHostInfo::localHostName() This method is static and can be called without an instance. [static] int lookupHost(string name,QObject ptr receiver,string member)Description: Static method int QHostInfo::lookupHost(const QString &name, QObject *receiver, const char *member) This method is static and can be called without an instance. [const] int lookupIdDescription: Method int QHostInfo::lookupId() void lookupId=(int id)Description: Method void QHostInfo::setLookupId(int id) [static] new QHostInfo new(const QHostInfo d)Description: Constructor QHostInfo::QHostInfo(const QHostInfo &d) This method creates an object of class QHostInfo. [static] new QHostInfo newDescription: Constructor QHostInfo::QHostInfo(int lookupId) This method creates an object of class QHostInfo. [static] new QHostInfo new(int lookupId)Description: Constructor QHostInfo::QHostInfo(int lookupId) This method creates an object of class QHostInfo. void setAddresses(QHostAddress[] addresses)Description: Method void QHostInfo::setAddresses(const QList<class QHostAddress> &addresses) void setError(const QHostInfo_HostInfoError error)Description: Method void QHostInfo::setError(QHostInfo::HostInfoError error) void setErrorString(string errorString)Description: Method void QHostInfo::setErrorString(const QString &errorString) void setHostName(string name)Description: Method void QHostInfo::setHostName(const QString &name) void setLookupId(int id)Description: Method void QHostInfo::setLookupId(int id) |