Notation used in Ruby API documentation
Module: QtNetwork
Description: Binding of QNetworkProxy
Sub-classes: Capability, QFlags_Capability, ProxyType, QFlags_ProxyType
new QNetworkProxy | new | Constructor QNetworkProxy::QNetworkProxy() | |
new QNetworkProxy | new | (const QNetworkProxy_ProxyType type, string hostName = QString(), unsigned short port = 0, string user = QString(), string password = QString()) | Constructor QNetworkProxy::QNetworkProxy(QNetworkProxy::ProxyType type, const QString &hostName, quint16 port, const QString &user, const QString &password) |
new QNetworkProxy | new | (const QNetworkProxy other) | Constructor QNetworkProxy::QNetworkProxy(const QNetworkProxy &other) |
[const] | bool | != | (const QNetworkProxy other) | Method bool QNetworkProxy::operator!=(const QNetworkProxy &other) |
[const] | bool | == | (const QNetworkProxy other) | Method bool QNetworkProxy::operator==(const QNetworkProxy &other) |
void | _assign | (const QNetworkProxy other) | Assigns another object to self | |
[const] | QNetworkProxy 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. | ||
QNetworkProxy | assign | (const QNetworkProxy other) | Method QNetworkProxy &QNetworkProxy::operator=(const QNetworkProxy &other) | |
[const] | QNetworkProxy_QFlags_Capability | capabilities | Method QFlags<QNetworkProxy::Capability> QNetworkProxy::capabilities() | |
void | capabilities= | (QNetworkProxy_QFlags_Capability capab) | Method void QNetworkProxy::setCapabilities(QFlags<QNetworkProxy::Capability> capab) | |
[const] | new QNetworkProxy ptr | dup | Creates a copy of self | |
[const] | string | hostName | Method QString QNetworkProxy::hostName() | |
void | hostName= | (string hostName) | Method void QNetworkProxy::setHostName(const QString &hostName) | |
[const] | bool | isCachingProxy? | Method bool QNetworkProxy::isCachingProxy() | |
[const] | bool | isTransparentProxy? | Method bool QNetworkProxy::isTransparentProxy() | |
[const] | string | password | Method QString QNetworkProxy::password() | |
void | password= | (string password) | Method void QNetworkProxy::setPassword(const QString &password) | |
[const] | unsigned short | port | Method quint16 QNetworkProxy::port() | |
void | port= | (unsigned short port) | Method void QNetworkProxy::setPort(quint16 port) | |
void | setCapabilities | (QNetworkProxy_QFlags_Capability capab) | Method void QNetworkProxy::setCapabilities(QFlags<QNetworkProxy::Capability> capab) | |
void | setHostName | (string hostName) | Method void QNetworkProxy::setHostName(const QString &hostName) | |
void | setPassword | (string password) | Method void QNetworkProxy::setPassword(const QString &password) | |
void | setPort | (unsigned short port) | Method void QNetworkProxy::setPort(quint16 port) | |
void | setType | (const QNetworkProxy_ProxyType type) | Method void QNetworkProxy::setType(QNetworkProxy::ProxyType type) | |
void | setUser | (string userName) | Method void QNetworkProxy::setUser(const QString &userName) | |
[const] | QNetworkProxy_ProxyType | type | Method QNetworkProxy::ProxyType QNetworkProxy::type() | |
void | type= | (const QNetworkProxy_ProxyType type) | Method void QNetworkProxy::setType(QNetworkProxy::ProxyType type) | |
[const] | string | user | Method QString QNetworkProxy::user() | |
void | user= | (string userName) | Method void QNetworkProxy::setUser(const QString &userName) |
[static,const] | QNetworkProxy_Capability | CachingCapability | Enum constant QNetworkProxy::CachingCapability | |
[static,const] | QNetworkProxy_ProxyType | DefaultProxy | Enum constant QNetworkProxy::DefaultProxy | |
[static,const] | QNetworkProxy_ProxyType | FtpCachingProxy | Enum constant QNetworkProxy::FtpCachingProxy | |
[static,const] | QNetworkProxy_Capability | HostNameLookupCapability | Enum constant QNetworkProxy::HostNameLookupCapability | |
[static,const] | QNetworkProxy_ProxyType | HttpCachingProxy | Enum constant QNetworkProxy::HttpCachingProxy | |
[static,const] | QNetworkProxy_ProxyType | HttpProxy | Enum constant QNetworkProxy::HttpProxy | |
[static,const] | QNetworkProxy_Capability | ListeningCapability | Enum constant QNetworkProxy::ListeningCapability | |
[static,const] | QNetworkProxy_ProxyType | NoProxy | Enum constant QNetworkProxy::NoProxy | |
[static,const] | QNetworkProxy_ProxyType | Socks5Proxy | Enum constant QNetworkProxy::Socks5Proxy | |
[static,const] | QNetworkProxy_Capability | TunnelingCapability | Enum constant QNetworkProxy::TunnelingCapability | |
[static,const] | QNetworkProxy_Capability | UdpTunnelingCapability | Enum constant QNetworkProxy::UdpTunnelingCapability | |
QNetworkProxy | applicationProxy | Static method QNetworkProxy QNetworkProxy::applicationProxy() | ||
void | applicationProxy= | (const QNetworkProxy proxy) | Static method void QNetworkProxy::setApplicationProxy(const QNetworkProxy &proxy) | |
void | setApplicationProxy | (const QNetworkProxy proxy) | Static method void QNetworkProxy::setApplicationProxy(const QNetworkProxy &proxy) |
void | create | Use of this method is deprecated. Use _create instead | ||
void | destroy | Use of this method is deprecated. Use _destroy instead | ||
[const] | bool | destroyed? | Use of this method is deprecated. Use _destroyed? instead | |
[const] | bool | is_const_object? | Use of this method is deprecated. Use _is_const_object? instead |
!= | Signature: [const] bool != (const QNetworkProxy other) Description: Method bool QNetworkProxy::operator!=(const QNetworkProxy &other) |
== | Signature: [const] bool == (const QNetworkProxy other) Description: Method bool QNetworkProxy::operator==(const QNetworkProxy &other) |
CachingCapability | Signature: [static,const] QNetworkProxy_Capability CachingCapability Description: Enum constant QNetworkProxy::CachingCapability Python specific notes: |
DefaultProxy | Signature: [static,const] QNetworkProxy_ProxyType DefaultProxy Description: Enum constant QNetworkProxy::DefaultProxy Python specific notes: |
FtpCachingProxy | Signature: [static,const] QNetworkProxy_ProxyType FtpCachingProxy Description: Enum constant QNetworkProxy::FtpCachingProxy Python specific notes: |
HostNameLookupCapability | Signature: [static,const] QNetworkProxy_Capability HostNameLookupCapability Description: Enum constant QNetworkProxy::HostNameLookupCapability Python specific notes: |
HttpCachingProxy | Signature: [static,const] QNetworkProxy_ProxyType HttpCachingProxy Description: Enum constant QNetworkProxy::HttpCachingProxy Python specific notes: |
HttpProxy | Signature: [static,const] QNetworkProxy_ProxyType HttpProxy Description: Enum constant QNetworkProxy::HttpProxy Python specific notes: |
ListeningCapability | Signature: [static,const] QNetworkProxy_Capability ListeningCapability Description: Enum constant QNetworkProxy::ListeningCapability Python specific notes: |
NoProxy | Signature: [static,const] QNetworkProxy_ProxyType NoProxy Description: Enum constant QNetworkProxy::NoProxy Python specific notes: |
Socks5Proxy | Signature: [static,const] QNetworkProxy_ProxyType Socks5Proxy Description: Enum constant QNetworkProxy::Socks5Proxy Python specific notes: |
TunnelingCapability | Signature: [static,const] QNetworkProxy_Capability TunnelingCapability Description: Enum constant QNetworkProxy::TunnelingCapability Python specific notes: |
UdpTunnelingCapability | Signature: [static,const] QNetworkProxy_Capability UdpTunnelingCapability Description: Enum constant QNetworkProxy::UdpTunnelingCapability Python specific notes: |
_assign | Signature: void _assign (const QNetworkProxy other) Description: Assigns another object to self |
_const_cast | Signature: [const] QNetworkProxy 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. |
applicationProxy | Signature: [static] QNetworkProxy applicationProxy Description: Static method QNetworkProxy QNetworkProxy::applicationProxy() This method is static and can be called without an instance. Python specific notes: |
applicationProxy= | Signature: [static] void applicationProxy= (const QNetworkProxy proxy) Description: Static method void QNetworkProxy::setApplicationProxy(const QNetworkProxy &proxy) This method is static and can be called without an instance. Python specific notes: |
assign | Signature: QNetworkProxy assign (const QNetworkProxy other) Description: Method QNetworkProxy &QNetworkProxy::operator=(const QNetworkProxy &other) |
capabilities | Signature: [const] QNetworkProxy_QFlags_Capability capabilities Description: Method QFlags<QNetworkProxy::Capability> QNetworkProxy::capabilities() Python specific notes: |
capabilities= | Signature: void capabilities= (QNetworkProxy_QFlags_Capability capab) Description: Method void QNetworkProxy::setCapabilities(QFlags<QNetworkProxy::Capability> capab) Python specific notes: |
create | Signature: void create Description: Ensures the C++ object is created Use of this method is deprecated. Use _create instead 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 Use of this method is deprecated. Use _destroy instead 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 Use of this method is deprecated. Use _destroyed? instead 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. |
dup | Signature: [const] new QNetworkProxy ptr dup Description: Creates a copy of self Python specific notes: |
hostName | Signature: [const] string hostName Description: Method QString QNetworkProxy::hostName() Python specific notes: |
hostName= | Signature: void hostName= (string hostName) Description: Method void QNetworkProxy::setHostName(const QString &hostName) Python specific notes: |
isCachingProxy? | Signature: [const] bool isCachingProxy? Description: Method bool QNetworkProxy::isCachingProxy() |
isTransparentProxy? | Signature: [const] bool isTransparentProxy? Description: Method bool QNetworkProxy::isTransparentProxy() |
is_const_object? | Signature: [const] bool is_const_object? Description: Returns a value indicating whether the reference is a const reference Use of this method is deprecated. Use _is_const_object? instead This method returns true, if self is a const reference. In that case, only const methods may be called on self. |
new | (1) Signature: [static] new QNetworkProxy new Description: Constructor QNetworkProxy::QNetworkProxy() This method creates an object of class QNetworkProxy. Python specific notes: |
(2) Signature: [static] new QNetworkProxy new (const QNetworkProxy_ProxyType type, string hostName = QString(), unsigned short port = 0, string user = QString(), string password = QString()) Description: Constructor QNetworkProxy::QNetworkProxy(QNetworkProxy::ProxyType type, const QString &hostName, quint16 port, const QString &user, const QString &password) This method creates an object of class QNetworkProxy. Python specific notes: | |
(3) Signature: [static] new QNetworkProxy new (const QNetworkProxy other) Description: Constructor QNetworkProxy::QNetworkProxy(const QNetworkProxy &other) This method creates an object of class QNetworkProxy. Python specific notes: | |
password | Signature: [const] string password Description: Method QString QNetworkProxy::password() Python specific notes: |
password= | Signature: void password= (string password) Description: Method void QNetworkProxy::setPassword(const QString &password) Python specific notes: |
port | Signature: [const] unsigned short port Description: Method quint16 QNetworkProxy::port() Python specific notes: |
port= | Signature: void port= (unsigned short port) Description: Method void QNetworkProxy::setPort(quint16 port) Python specific notes: |
setApplicationProxy | Signature: [static] void setApplicationProxy (const QNetworkProxy proxy) Description: Static method void QNetworkProxy::setApplicationProxy(const QNetworkProxy &proxy) This method is static and can be called without an instance. Python specific notes: |
setCapabilities | Signature: void setCapabilities (QNetworkProxy_QFlags_Capability capab) Description: Method void QNetworkProxy::setCapabilities(QFlags<QNetworkProxy::Capability> capab) Python specific notes: |
setHostName | Signature: void setHostName (string hostName) Description: Method void QNetworkProxy::setHostName(const QString &hostName) Python specific notes: |
setPassword | Signature: void setPassword (string password) Description: Method void QNetworkProxy::setPassword(const QString &password) Python specific notes: |
setPort | Signature: void setPort (unsigned short port) Description: Method void QNetworkProxy::setPort(quint16 port) Python specific notes: |
setType | Signature: void setType (const QNetworkProxy_ProxyType type) Description: Method void QNetworkProxy::setType(QNetworkProxy::ProxyType type) Python specific notes: |
setUser | Signature: void setUser (string userName) Description: Method void QNetworkProxy::setUser(const QString &userName) Python specific notes: |
type | Signature: [const] QNetworkProxy_ProxyType type Description: Method QNetworkProxy::ProxyType QNetworkProxy::type() Python specific notes: |
type= | Signature: void type= (const QNetworkProxy_ProxyType type) Description: Method void QNetworkProxy::setType(QNetworkProxy::ProxyType type) Python specific notes: |
user | Signature: [const] string user Description: Method QString QNetworkProxy::user() Python specific notes: |
user= | Signature: void user= (string userName) Description: Method void QNetworkProxy::setUser(const QString &userName) Python specific notes: |