Notation used in Ruby API documentation
Module: QtNetwork
Description: Binding of QDnsLookup
Class hierarchy: QDnsLookup » QObject
Sub-classes: Error, QFlags_Error, Type, QFlags_Type
new QDnsLookup | new | (QObject ptr parent = nullptr) | Constructor QDnsLookup::QDnsLookup(QObject *parent) |
new QDnsLookup | new | (const QDnsLookup_Type type, string name, QObject ptr parent = nullptr) | Constructor QDnsLookup::QDnsLookup(QDnsLookup::Type type, const QString &name, QObject *parent) |
new QDnsLookup | new | (const QDnsLookup_Type type, string name, const QHostAddress nameserver, QObject ptr parent = nullptr) | Constructor QDnsLookup::QDnsLookup(QDnsLookup::Type type, const QString &name, const QHostAddress &nameserver, QObject *parent) |
[const] | QDnsLookup ptr | _const_cast | Returns a non-const reference to self. | |
void | _create | Ensures the C++ object is created | ||
void | _destroy | Explicitly destroys the object | ||
[const] | bool | _destroyed? | Returns a value indicating whether the object was already destroyed | |
[const] | bool | _is_const_object? | Returns a value indicating whether the reference is a const reference | |
void | _manage | Marks the object as managed by the script side. | ||
void | _unmanage | Marks the object as no longer owned by the script side. | ||
void | abort | Method void QDnsLookup::abort() | ||
[const] | QDnsDomainNameRecord[] | canonicalNameRecords | Method QList<QDnsDomainNameRecord> QDnsLookup::canonicalNameRecords() | |
[signal] | void | destroyed | (QObject ptr arg1) | Signal declaration for QDnsLookup::destroyed(QObject *) |
void | emit_destroyed | (QObject ptr arg1 = nullptr) | Emitter for signal void QDnsLookup::destroyed(QObject *) | |
void | emit_finished | Emitter for signal void QDnsLookup::finished() | ||
void | emit_nameChanged | (string name) | Emitter for signal void QDnsLookup::nameChanged(const QString &name) | |
void | emit_nameserverChanged | (const QHostAddress nameserver) | Emitter for signal void QDnsLookup::nameserverChanged(const QHostAddress &nameserver) | |
void | emit_objectNameChanged | (string objectName) | Emitter for signal void QDnsLookup::objectNameChanged(const QString &objectName) | |
void | emit_typeChanged | (const QDnsLookup_Type type) | Emitter for signal void QDnsLookup::typeChanged(QDnsLookup::Type type) | |
[const] | QDnsLookup_Error | error | Method QDnsLookup::Error QDnsLookup::error() | |
[const] | string | errorString | Method QString QDnsLookup::errorString() | |
bool | event | (QEvent ptr event) | Virtual method bool QDnsLookup::event(QEvent *event) | |
bool | eventFilter | (QObject ptr watched, QEvent ptr event) | Virtual method bool QDnsLookup::eventFilter(QObject *watched, QEvent *event) | |
[signal] | void | finished | Signal declaration for QDnsLookup::finished() | |
[const] | QDnsHostAddressRecord[] | hostAddressRecords | Method QList<QDnsHostAddressRecord> QDnsLookup::hostAddressRecords() | |
[const] | bool | isFinished? | Method bool QDnsLookup::isFinished() | |
void | lookup | Method void QDnsLookup::lookup() | ||
[const] | QDnsMailExchangeRecord[] | mailExchangeRecords | Method QList<QDnsMailExchangeRecord> QDnsLookup::mailExchangeRecords() | |
[const] | string | name | Method QString QDnsLookup::name() | |
void | name= | (string name) | Method void QDnsLookup::setName(const QString &name) | |
[signal] | void | nameChanged | (string name) | Signal declaration for QDnsLookup::nameChanged(const QString &name) |
[const] | QDnsDomainNameRecord[] | nameServerRecords | Method QList<QDnsDomainNameRecord> QDnsLookup::nameServerRecords() | |
[const] | QHostAddress | nameserver | Method QHostAddress QDnsLookup::nameserver() | |
void | nameserver= | (const QHostAddress nameserver) | Method void QDnsLookup::setNameserver(const QHostAddress &nameserver) | |
[signal] | void | nameserverChanged | (const QHostAddress nameserver) | Signal declaration for QDnsLookup::nameserverChanged(const QHostAddress &nameserver) |
[signal] | void | objectNameChanged | (string objectName) | Signal declaration for QDnsLookup::objectNameChanged(const QString &objectName) |
[const] | QDnsDomainNameRecord[] | pointerRecords | Method QList<QDnsDomainNameRecord> QDnsLookup::pointerRecords() | |
[const] | QDnsServiceRecord[] | serviceRecords | Method QList<QDnsServiceRecord> QDnsLookup::serviceRecords() | |
void | setName | (string name) | Method void QDnsLookup::setName(const QString &name) | |
void | setNameserver | (const QHostAddress nameserver) | Method void QDnsLookup::setNameserver(const QHostAddress &nameserver) | |
void | setType | (const QDnsLookup_Type arg1) | Method void QDnsLookup::setType(QDnsLookup::Type) | |
[const] | QDnsTextRecord[] | textRecords | Method QList<QDnsTextRecord> QDnsLookup::textRecords() | |
[const] | QDnsLookup_Type | type | Method QDnsLookup::Type QDnsLookup::type() | |
void | type= | (const QDnsLookup_Type arg1) | Method void QDnsLookup::setType(QDnsLookup::Type) | |
[signal] | void | typeChanged | (const QDnsLookup_Type type) | Signal declaration for QDnsLookup::typeChanged(QDnsLookup::Type type) |
[static,const] | QDnsLookup_Type | A | Enum constant QDnsLookup::A | |
[static,const] | QDnsLookup_Type | AAAA | Enum constant QDnsLookup::AAAA | |
[static,const] | QDnsLookup_Type | ANY | Enum constant QDnsLookup::ANY | |
[static,const] | QDnsLookup_Type | CNAME | Enum constant QDnsLookup::CNAME | |
[static,const] | QDnsLookup_Error | InvalidReplyError | Enum constant QDnsLookup::InvalidReplyError | |
[static,const] | QDnsLookup_Error | InvalidRequestError | Enum constant QDnsLookup::InvalidRequestError | |
[static,const] | QDnsLookup_Type | MX | Enum constant QDnsLookup::MX | |
[static,const] | QDnsLookup_Type | NS | Enum constant QDnsLookup::NS | |
[static,const] | QDnsLookup_Error | NoError | Enum constant QDnsLookup::NoError | |
[static,const] | QDnsLookup_Error | NotFoundError | Enum constant QDnsLookup::NotFoundError | |
[static,const] | QDnsLookup_Error | OperationCancelledError | Enum constant QDnsLookup::OperationCancelledError | |
[static,const] | QDnsLookup_Type | PTR | Enum constant QDnsLookup::PTR | |
[static,const] | QDnsLookup_Error | ResolverError | Enum constant QDnsLookup::ResolverError | |
[static,const] | QDnsLookup_Type | SRV | Enum constant QDnsLookup::SRV | |
[static,const] | QDnsLookup_Error | ServerFailureError | Enum constant QDnsLookup::ServerFailureError | |
[static,const] | QDnsLookup_Error | ServerRefusedError | Enum constant QDnsLookup::ServerRefusedError | |
[static,const] | QDnsLookup_Type | TXT | Enum constant QDnsLookup::TXT | |
QMetaObject | staticMetaObject | Obtains the static MetaObject for this class. | ||
string | tr | (string s, string c = nullptr, int n = -1) | Static method QString QDnsLookup::tr(const char *s, const char *c, int n) | |
string | trUtf8 | (string s, string c = nullptr, int n = -1) | Static method QString QDnsLookup::trUtf8(const char *s, const char *c, int n) |
void | childEvent | (QChildEvent ptr event) | Virtual method void QDnsLookup::childEvent(QChildEvent *event) | ||
void | customEvent | (QEvent ptr event) | Virtual method void QDnsLookup::customEvent(QEvent *event) | ||
void | disconnectNotify | (const QMetaMethod signal) | Virtual method void QDnsLookup::disconnectNotify(const QMetaMethod &signal) | ||
[const] | bool | isSignalConnected | (const QMetaMethod signal) | Method bool QDnsLookup::isSignalConnected(const QMetaMethod &signal) | |
[const] | int | receivers | (string signal) | Method int QDnsLookup::receivers(const char *signal) | |
[const] | QObject ptr | sender | Method QObject *QDnsLookup::sender() | ||
[const] | int | senderSignalIndex | Method int QDnsLookup::senderSignalIndex() | ||
void | timerEvent | (QTimerEvent ptr event) | Virtual method void QDnsLookup::timerEvent(QTimerEvent *event) |
A | Signature: [static,const] QDnsLookup_Type A Description: Enum constant QDnsLookup::A Python specific notes: |
AAAA | Signature: [static,const] QDnsLookup_Type AAAA Description: Enum constant QDnsLookup::AAAA Python specific notes: |
ANY | Signature: [static,const] QDnsLookup_Type ANY Description: Enum constant QDnsLookup::ANY Python specific notes: |
CNAME | Signature: [static,const] QDnsLookup_Type CNAME Description: Enum constant QDnsLookup::CNAME Python specific notes: |
InvalidReplyError | Signature: [static,const] QDnsLookup_Error InvalidReplyError Description: Enum constant QDnsLookup::InvalidReplyError Python specific notes: |
InvalidRequestError | Signature: [static,const] QDnsLookup_Error InvalidRequestError Description: Enum constant QDnsLookup::InvalidRequestError Python specific notes: |
MX | Signature: [static,const] QDnsLookup_Type MX Description: Enum constant QDnsLookup::MX Python specific notes: |
NS | Signature: [static,const] QDnsLookup_Type NS Description: Enum constant QDnsLookup::NS Python specific notes: |
NoError | Signature: [static,const] QDnsLookup_Error NoError Description: Enum constant QDnsLookup::NoError Python specific notes: |
NotFoundError | Signature: [static,const] QDnsLookup_Error NotFoundError Description: Enum constant QDnsLookup::NotFoundError Python specific notes: |
OperationCancelledError | Signature: [static,const] QDnsLookup_Error OperationCancelledError Description: Enum constant QDnsLookup::OperationCancelledError Python specific notes: |
PTR | Signature: [static,const] QDnsLookup_Type PTR Description: Enum constant QDnsLookup::PTR Python specific notes: |
ResolverError | Signature: [static,const] QDnsLookup_Error ResolverError Description: Enum constant QDnsLookup::ResolverError Python specific notes: |
SRV | Signature: [static,const] QDnsLookup_Type SRV Description: Enum constant QDnsLookup::SRV Python specific notes: |
ServerFailureError | Signature: [static,const] QDnsLookup_Error ServerFailureError Description: Enum constant QDnsLookup::ServerFailureError Python specific notes: |
ServerRefusedError | Signature: [static,const] QDnsLookup_Error ServerRefusedError Description: Enum constant QDnsLookup::ServerRefusedError Python specific notes: |
TXT | Signature: [static,const] QDnsLookup_Type TXT Description: Enum constant QDnsLookup::TXT Python specific notes: |
_const_cast | Signature: [const] QDnsLookup ptr _const_cast Description: Returns a non-const reference to self. Basically, this method allows turning a const object reference to a non-const one. This method is provided as last resort to remove the constness from an object. Usually there is a good reason for a const object reference, so using this method may have undesired side effects. This method has been introduced in version 0.29.6. |
_create | Signature: void _create Description: 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. |
_destroy | Signature: void _destroy Description: Explicitly destroys the object Explicitly destroys the object on C++ side if it was owned by the script interpreter. Subsequent access to this object will throw an exception. If the object is not owned by the script, this method will do nothing. |
_destroyed? | Signature: [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. |
_is_const_object? | Signature: [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. |
_manage | Signature: void _manage Description: Marks the object as managed by the script side. After calling this method on an object, the script side will be responsible for the management of the object. This method may be called if an object is returned from a C++ function and the object is known not to be owned by any C++ instance. If necessary, the script side may delete the object if the script's reference is no longer required. Usually it's not required to call this method. It has been introduced in version 0.24. |
_unmanage | Signature: void _unmanage Description: Marks the object as no longer owned by the script side. Calling this method will make this object no longer owned by the script's memory management. Instead, the object must be managed in some other way. Usually this method may be called if it is known that some C++ object holds and manages this object. Technically speaking, this method will turn the script's reference into a weak reference. After the script engine decides to delete the reference, the object itself will still exist. If the object is not managed otherwise, memory leaks will occur. Usually it's not required to call this method. It has been introduced in version 0.24. |
abort | Signature: void abort Description: Method void QDnsLookup::abort() |
canonicalNameRecords | Signature: [const] QDnsDomainNameRecord[] canonicalNameRecords Description: Method QList<QDnsDomainNameRecord> QDnsLookup::canonicalNameRecords() |
childEvent | Signature: void childEvent (QChildEvent ptr event) Description: Virtual method void QDnsLookup::childEvent(QChildEvent *event) This method can be reimplemented in a derived class. |
customEvent | Signature: void customEvent (QEvent ptr event) Description: Virtual method void QDnsLookup::customEvent(QEvent *event) This method can be reimplemented in a derived class. |
destroyed | Signature: [signal] void destroyed (QObject ptr arg1) Description: Signal declaration for QDnsLookup::destroyed(QObject *) You can bind a procedure to this signal. Python specific notes: |
disconnectNotify | Signature: void disconnectNotify (const QMetaMethod signal) Description: Virtual method void QDnsLookup::disconnectNotify(const QMetaMethod &signal) This method can be reimplemented in a derived class. |
emit_destroyed | Signature: void emit_destroyed (QObject ptr arg1 = nullptr) Description: Emitter for signal void QDnsLookup::destroyed(QObject *) Call this method to emit this signal. |
emit_finished | Signature: void emit_finished Description: Emitter for signal void QDnsLookup::finished() Call this method to emit this signal. |
emit_nameChanged | Signature: void emit_nameChanged (string name) Description: Emitter for signal void QDnsLookup::nameChanged(const QString &name) Call this method to emit this signal. |
emit_nameserverChanged | Signature: void emit_nameserverChanged (const QHostAddress nameserver) Description: Emitter for signal void QDnsLookup::nameserverChanged(const QHostAddress &nameserver) Call this method to emit this signal. |
emit_objectNameChanged | Signature: void emit_objectNameChanged (string objectName) Description: Emitter for signal void QDnsLookup::objectNameChanged(const QString &objectName) Call this method to emit this signal. |
emit_typeChanged | Signature: void emit_typeChanged (const QDnsLookup_Type type) Description: Emitter for signal void QDnsLookup::typeChanged(QDnsLookup::Type type) Call this method to emit this signal. |
error | Signature: [const] QDnsLookup_Error error Description: Method QDnsLookup::Error QDnsLookup::error() Python specific notes: |
errorString | Signature: [const] string errorString Description: Method QString QDnsLookup::errorString() Python specific notes: |
event | Signature: bool event (QEvent ptr event) Description: Virtual method bool QDnsLookup::event(QEvent *event) This method can be reimplemented in a derived class. |
eventFilter | Signature: bool eventFilter (QObject ptr watched, QEvent ptr event) Description: Virtual method bool QDnsLookup::eventFilter(QObject *watched, QEvent *event) This method can be reimplemented in a derived class. |
finished | Signature: [signal] void finished Description: Signal declaration for QDnsLookup::finished() You can bind a procedure to this signal. Python specific notes: |
hostAddressRecords | Signature: [const] QDnsHostAddressRecord[] hostAddressRecords Description: Method QList<QDnsHostAddressRecord> QDnsLookup::hostAddressRecords() |
isFinished? | Signature: [const] bool isFinished? Description: Method bool QDnsLookup::isFinished() |
isSignalConnected | Signature: [const] bool isSignalConnected (const QMetaMethod signal) Description: Method bool QDnsLookup::isSignalConnected(const QMetaMethod &signal) This method is protected and can only be called from inside a derived class. |
lookup | Signature: void lookup Description: Method void QDnsLookup::lookup() |
mailExchangeRecords | Signature: [const] QDnsMailExchangeRecord[] mailExchangeRecords Description: Method QList<QDnsMailExchangeRecord> QDnsLookup::mailExchangeRecords() |
name | Signature: [const] string name Description: Method QString QDnsLookup::name() Python specific notes: |
name= | Signature: void name= (string name) Description: Method void QDnsLookup::setName(const QString &name) Python specific notes: |
nameChanged | Signature: [signal] void nameChanged (string name) Description: Signal declaration for QDnsLookup::nameChanged(const QString &name) You can bind a procedure to this signal. Python specific notes: |
nameServerRecords | Signature: [const] QDnsDomainNameRecord[] nameServerRecords Description: Method QList<QDnsDomainNameRecord> QDnsLookup::nameServerRecords() |
nameserver | Signature: [const] QHostAddress nameserver Description: Method QHostAddress QDnsLookup::nameserver() Python specific notes: |
nameserver= | Signature: void nameserver= (const QHostAddress nameserver) Description: Method void QDnsLookup::setNameserver(const QHostAddress &nameserver) Python specific notes: |
nameserverChanged | Signature: [signal] void nameserverChanged (const QHostAddress nameserver) Description: Signal declaration for QDnsLookup::nameserverChanged(const QHostAddress &nameserver) You can bind a procedure to this signal. Python specific notes: |
new | (1) Signature: [static] new QDnsLookup new (QObject ptr parent = nullptr) Description: Constructor QDnsLookup::QDnsLookup(QObject *parent) This method creates an object of class QDnsLookup. Python specific notes: |
(2) Signature: [static] new QDnsLookup new (const QDnsLookup_Type type, string name, QObject ptr parent = nullptr) Description: Constructor QDnsLookup::QDnsLookup(QDnsLookup::Type type, const QString &name, QObject *parent) This method creates an object of class QDnsLookup. Python specific notes: | |
(3) Signature: [static] new QDnsLookup new (const QDnsLookup_Type type, string name, const QHostAddress nameserver, QObject ptr parent = nullptr) Description: Constructor QDnsLookup::QDnsLookup(QDnsLookup::Type type, const QString &name, const QHostAddress &nameserver, QObject *parent) This method creates an object of class QDnsLookup. Python specific notes: | |
objectNameChanged | Signature: [signal] void objectNameChanged (string objectName) Description: Signal declaration for QDnsLookup::objectNameChanged(const QString &objectName) You can bind a procedure to this signal. Python specific notes: |
pointerRecords | Signature: [const] QDnsDomainNameRecord[] pointerRecords Description: Method QList<QDnsDomainNameRecord> QDnsLookup::pointerRecords() |
receivers | Signature: [const] int receivers (string signal) Description: Method int QDnsLookup::receivers(const char *signal) This method is protected and can only be called from inside a derived class. |
sender | Signature: [const] QObject ptr sender Description: Method QObject *QDnsLookup::sender() This method is protected and can only be called from inside a derived class. |
senderSignalIndex | Signature: [const] int senderSignalIndex Description: Method int QDnsLookup::senderSignalIndex() This method is protected and can only be called from inside a derived class. |
serviceRecords | Signature: [const] QDnsServiceRecord[] serviceRecords Description: Method QList<QDnsServiceRecord> QDnsLookup::serviceRecords() |
setName | Signature: void setName (string name) Description: Method void QDnsLookup::setName(const QString &name) Python specific notes: |
setNameserver | Signature: void setNameserver (const QHostAddress nameserver) Description: Method void QDnsLookup::setNameserver(const QHostAddress &nameserver) Python specific notes: |
setType | Signature: void setType (const QDnsLookup_Type arg1) Description: Method void QDnsLookup::setType(QDnsLookup::Type) Python specific notes: |
staticMetaObject | Signature: [static] QMetaObject staticMetaObject Description: Obtains the static MetaObject for this class. |
textRecords | Signature: [const] QDnsTextRecord[] textRecords Description: Method QList<QDnsTextRecord> QDnsLookup::textRecords() |
timerEvent | Signature: void timerEvent (QTimerEvent ptr event) Description: Virtual method void QDnsLookup::timerEvent(QTimerEvent *event) This method can be reimplemented in a derived class. |
tr | Signature: [static] string tr (string s, string c = nullptr, int n = -1) Description: Static method QString QDnsLookup::tr(const char *s, const char *c, int n) This method is static and can be called without an instance. |
trUtf8 | Signature: [static] string trUtf8 (string s, string c = nullptr, int n = -1) Description: Static method QString QDnsLookup::trUtf8(const char *s, const char *c, int n) This method is static and can be called without an instance. |
type | Signature: [const] QDnsLookup_Type type Description: Method QDnsLookup::Type QDnsLookup::type() Python specific notes: |
type= | Signature: void type= (const QDnsLookup_Type arg1) Description: Method void QDnsLookup::setType(QDnsLookup::Type) Python specific notes: |
typeChanged | Signature: [signal] void typeChanged (const QDnsLookup_Type type) Description: Signal declaration for QDnsLookup::typeChanged(QDnsLookup::Type type) You can bind a procedure to this signal. Python specific notes: |