Notation used in Ruby API documentation
Module: QtNetwork
Description: Binding of QNetworkRequest
Sub-classes: Attribute, QFlags_Attribute, KnownHeaders, QFlags_KnownHeaders, Priority, QFlags_Priority, RedirectPolicy, QFlags_RedirectPolicy
new QNetworkRequest | new | (const QUrl url = QUrl()) | Constructor QNetworkRequest::QNetworkRequest(const QUrl &url) |
new QNetworkRequest | new | (const QNetworkRequest other) | Constructor QNetworkRequest::QNetworkRequest(const QNetworkRequest &other) |
[const] | bool | != | (const QNetworkRequest other) | Method bool QNetworkRequest::operator!=(const QNetworkRequest &other) |
[const] | bool | == | (const QNetworkRequest other) | Method bool QNetworkRequest::operator==(const QNetworkRequest &other) |
void | _assign | (const QNetworkRequest other) | Assigns another object to self | |
[const] | QNetworkRequest 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. | ||
QNetworkRequest | assign | (const QNetworkRequest other) | Method QNetworkRequest &QNetworkRequest::operator=(const QNetworkRequest &other) | |
[const] | variant | attribute | (const QNetworkRequest_Attribute code, variant defaultValue = QVariant()) | Method QVariant QNetworkRequest::attribute(QNetworkRequest::Attribute code, const QVariant &defaultValue) |
[const] | new QNetworkRequest ptr | dup | Creates a copy of self | |
[const] | bool | hasRawHeader | (bytes headerName) | Method bool QNetworkRequest::hasRawHeader(const QByteArray &headerName) |
[const] | variant | header | (const QNetworkRequest_KnownHeaders header) | Method QVariant QNetworkRequest::header(QNetworkRequest::KnownHeaders header) |
[const] | int | maximumRedirectsAllowed | Method int QNetworkRequest::maximumRedirectsAllowed() | |
void | maximumRedirectsAllowed= | (int maximumRedirectsAllowed) | Method void QNetworkRequest::setMaximumRedirectsAllowed(int maximumRedirectsAllowed) | |
[const] | QObject ptr | originatingObject | Method QObject *QNetworkRequest::originatingObject() | |
void | originatingObject= | (QObject ptr object) | Method void QNetworkRequest::setOriginatingObject(QObject *object) | |
[const] | QNetworkRequest_Priority | priority | Method QNetworkRequest::Priority QNetworkRequest::priority() | |
void | priority= | (const QNetworkRequest_Priority priority) | Method void QNetworkRequest::setPriority(QNetworkRequest::Priority priority) | |
[const] | bytes | rawHeader | (bytes headerName) | Method QByteArray QNetworkRequest::rawHeader(const QByteArray &headerName) |
[const] | bytes[] | rawHeaderList | Method QList<QByteArray> QNetworkRequest::rawHeaderList() | |
void | setAttribute | (const QNetworkRequest_Attribute code, variant value) | Method void QNetworkRequest::setAttribute(QNetworkRequest::Attribute code, const QVariant &value) | |
void | setHeader | (const QNetworkRequest_KnownHeaders header, variant value) | Method void QNetworkRequest::setHeader(QNetworkRequest::KnownHeaders header, const QVariant &value) | |
void | setMaximumRedirectsAllowed | (int maximumRedirectsAllowed) | Method void QNetworkRequest::setMaximumRedirectsAllowed(int maximumRedirectsAllowed) | |
void | setOriginatingObject | (QObject ptr object) | Method void QNetworkRequest::setOriginatingObject(QObject *object) | |
void | setPriority | (const QNetworkRequest_Priority priority) | Method void QNetworkRequest::setPriority(QNetworkRequest::Priority priority) | |
void | setRawHeader | (bytes headerName, bytes value) | Method void QNetworkRequest::setRawHeader(const QByteArray &headerName, const QByteArray &value) | |
void | setSslConfiguration | (const QSslConfiguration configuration) | Method void QNetworkRequest::setSslConfiguration(const QSslConfiguration &configuration) | |
void | setUrl | (const QUrl url) | Method void QNetworkRequest::setUrl(const QUrl &url) | |
[const] | QSslConfiguration | sslConfiguration | Method QSslConfiguration QNetworkRequest::sslConfiguration() | |
void | sslConfiguration= | (const QSslConfiguration configuration) | Method void QNetworkRequest::setSslConfiguration(const QSslConfiguration &configuration) | |
void | swap | (QNetworkRequest other) | Method void QNetworkRequest::swap(QNetworkRequest &other) | |
[const] | QUrl | url | Method QUrl QNetworkRequest::url() | |
void | url= | (const QUrl url) | Method void QNetworkRequest::setUrl(const QUrl &url) |
[static,const] | QNetworkRequest_Attribute | AuthenticationReuseAttribute | Enum constant QNetworkRequest::AuthenticationReuseAttribute | |
[static,const] | QNetworkRequest_Attribute | BackgroundRequestAttribute | Enum constant QNetworkRequest::BackgroundRequestAttribute | |
[static,const] | QNetworkRequest_Attribute | CacheLoadControlAttribute | Enum constant QNetworkRequest::CacheLoadControlAttribute | |
[static,const] | QNetworkRequest_Attribute | CacheSaveControlAttribute | Enum constant QNetworkRequest::CacheSaveControlAttribute | |
[static,const] | QNetworkRequest_Attribute | ConnectionEncryptedAttribute | Enum constant QNetworkRequest::ConnectionEncryptedAttribute | |
[static,const] | QNetworkRequest_KnownHeaders | ContentDispositionHeader | Enum constant QNetworkRequest::ContentDispositionHeader | |
[static,const] | QNetworkRequest_KnownHeaders | ContentLengthHeader | Enum constant QNetworkRequest::ContentLengthHeader | |
[static,const] | QNetworkRequest_KnownHeaders | ContentTypeHeader | Enum constant QNetworkRequest::ContentTypeHeader | |
[static,const] | QNetworkRequest_KnownHeaders | CookieHeader | Enum constant QNetworkRequest::CookieHeader | |
[static,const] | QNetworkRequest_Attribute | CookieLoadControlAttribute | Enum constant QNetworkRequest::CookieLoadControlAttribute | |
[static,const] | QNetworkRequest_Attribute | CookieSaveControlAttribute | Enum constant QNetworkRequest::CookieSaveControlAttribute | |
[static,const] | QNetworkRequest_Attribute | CustomVerbAttribute | Enum constant QNetworkRequest::CustomVerbAttribute | |
[static,const] | QNetworkRequest_Attribute | DoNotBufferUploadDataAttribute | Enum constant QNetworkRequest::DoNotBufferUploadDataAttribute | |
[static,const] | QNetworkRequest_Attribute | DownloadBufferAttribute | Enum constant QNetworkRequest::DownloadBufferAttribute | |
[static,const] | QNetworkRequest_KnownHeaders | ETagHeader | Enum constant QNetworkRequest::ETagHeader | |
[static,const] | QNetworkRequest_Attribute | EmitAllUploadProgressSignalsAttribute | Enum constant QNetworkRequest::EmitAllUploadProgressSignalsAttribute | |
[static,const] | QNetworkRequest_Attribute | FollowRedirectsAttribute | Enum constant QNetworkRequest::FollowRedirectsAttribute | |
[static,const] | QNetworkRequest_Attribute | HTTP2AllowedAttribute | Enum constant QNetworkRequest::HTTP2AllowedAttribute | |
[static,const] | QNetworkRequest_Attribute | HTTP2WasUsedAttribute | Enum constant QNetworkRequest::HTTP2WasUsedAttribute | |
[static,const] | QNetworkRequest_Priority | HighPriority | Enum constant QNetworkRequest::HighPriority | |
[static,const] | QNetworkRequest_Attribute | Http2DirectAttribute | Enum constant QNetworkRequest::Http2DirectAttribute | |
[static,const] | QNetworkRequest_Attribute | HttpPipeliningAllowedAttribute | Enum constant QNetworkRequest::HttpPipeliningAllowedAttribute | |
[static,const] | QNetworkRequest_Attribute | HttpPipeliningWasUsedAttribute | Enum constant QNetworkRequest::HttpPipeliningWasUsedAttribute | |
[static,const] | QNetworkRequest_Attribute | HttpReasonPhraseAttribute | Enum constant QNetworkRequest::HttpReasonPhraseAttribute | |
[static,const] | QNetworkRequest_Attribute | HttpStatusCodeAttribute | Enum constant QNetworkRequest::HttpStatusCodeAttribute | |
[static,const] | QNetworkRequest_KnownHeaders | IfMatchHeader | Enum constant QNetworkRequest::IfMatchHeader | |
[static,const] | QNetworkRequest_KnownHeaders | IfModifiedSinceHeader | Enum constant QNetworkRequest::IfModifiedSinceHeader | |
[static,const] | QNetworkRequest_KnownHeaders | IfNoneMatchHeader | Enum constant QNetworkRequest::IfNoneMatchHeader | |
[static,const] | QNetworkRequest_KnownHeaders | LastModifiedHeader | Enum constant QNetworkRequest::LastModifiedHeader | |
[static,const] | QNetworkRequest_KnownHeaders | LocationHeader | Enum constant QNetworkRequest::LocationHeader | |
[static,const] | QNetworkRequest_Priority | LowPriority | Enum constant QNetworkRequest::LowPriority | |
[static,const] | QNetworkRequest_RedirectPolicy | ManualRedirectPolicy | Enum constant QNetworkRequest::ManualRedirectPolicy | |
[static,const] | QNetworkRequest_Attribute | MaximumDownloadBufferSizeAttribute | Enum constant QNetworkRequest::MaximumDownloadBufferSizeAttribute | |
[static,const] | QNetworkRequest_RedirectPolicy | NoLessSafeRedirectPolicy | Enum constant QNetworkRequest::NoLessSafeRedirectPolicy | |
[static,const] | QNetworkRequest_Priority | NormalPriority | Enum constant QNetworkRequest::NormalPriority | |
[static,const] | QNetworkRequest_Attribute | OriginalContentLengthAttribute | Enum constant QNetworkRequest::OriginalContentLengthAttribute | |
[static,const] | QNetworkRequest_Attribute | RedirectPolicyAttribute | Enum constant QNetworkRequest::RedirectPolicyAttribute | |
[static,const] | QNetworkRequest_Attribute | RedirectionTargetAttribute | Enum constant QNetworkRequest::RedirectionTargetAttribute | |
[static,const] | QNetworkRequest_Attribute | ResourceTypeAttribute | Enum constant QNetworkRequest::ResourceTypeAttribute | |
[static,const] | QNetworkRequest_RedirectPolicy | SameOriginRedirectPolicy | Enum constant QNetworkRequest::SameOriginRedirectPolicy | |
[static,const] | QNetworkRequest_KnownHeaders | ServerHeader | Enum constant QNetworkRequest::ServerHeader | |
[static,const] | QNetworkRequest_KnownHeaders | SetCookieHeader | Enum constant QNetworkRequest::SetCookieHeader | |
[static,const] | QNetworkRequest_Attribute | SourceIsFromCacheAttribute | Enum constant QNetworkRequest::SourceIsFromCacheAttribute | |
[static,const] | QNetworkRequest_Attribute | SpdyAllowedAttribute | Enum constant QNetworkRequest::SpdyAllowedAttribute | |
[static,const] | QNetworkRequest_Attribute | SpdyWasUsedAttribute | Enum constant QNetworkRequest::SpdyWasUsedAttribute | |
[static,const] | QNetworkRequest_Attribute | SynchronousRequestAttribute | Enum constant QNetworkRequest::SynchronousRequestAttribute | |
[static,const] | QNetworkRequest_Attribute | User | Enum constant QNetworkRequest::User | |
[static,const] | QNetworkRequest_KnownHeaders | UserAgentHeader | Enum constant QNetworkRequest::UserAgentHeader | |
[static,const] | QNetworkRequest_Attribute | UserMax | Enum constant QNetworkRequest::UserMax | |
[static,const] | QNetworkRequest_RedirectPolicy | UserVerifiedRedirectPolicy | Enum constant QNetworkRequest::UserVerifiedRedirectPolicy |
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 QNetworkRequest other) Description: Method bool QNetworkRequest::operator!=(const QNetworkRequest &other) |
== | Signature: [const] bool == (const QNetworkRequest other) Description: Method bool QNetworkRequest::operator==(const QNetworkRequest &other) |
AuthenticationReuseAttribute | Signature: [static,const] QNetworkRequest_Attribute AuthenticationReuseAttribute Description: Enum constant QNetworkRequest::AuthenticationReuseAttribute Python specific notes: |
BackgroundRequestAttribute | Signature: [static,const] QNetworkRequest_Attribute BackgroundRequestAttribute Description: Enum constant QNetworkRequest::BackgroundRequestAttribute Python specific notes: |
CacheLoadControlAttribute | Signature: [static,const] QNetworkRequest_Attribute CacheLoadControlAttribute Description: Enum constant QNetworkRequest::CacheLoadControlAttribute Python specific notes: |
CacheSaveControlAttribute | Signature: [static,const] QNetworkRequest_Attribute CacheSaveControlAttribute Description: Enum constant QNetworkRequest::CacheSaveControlAttribute Python specific notes: |
ConnectionEncryptedAttribute | Signature: [static,const] QNetworkRequest_Attribute ConnectionEncryptedAttribute Description: Enum constant QNetworkRequest::ConnectionEncryptedAttribute Python specific notes: |
ContentDispositionHeader | Signature: [static,const] QNetworkRequest_KnownHeaders ContentDispositionHeader Description: Enum constant QNetworkRequest::ContentDispositionHeader Python specific notes: |
ContentLengthHeader | Signature: [static,const] QNetworkRequest_KnownHeaders ContentLengthHeader Description: Enum constant QNetworkRequest::ContentLengthHeader Python specific notes: |
ContentTypeHeader | Signature: [static,const] QNetworkRequest_KnownHeaders ContentTypeHeader Description: Enum constant QNetworkRequest::ContentTypeHeader Python specific notes: |
CookieHeader | Signature: [static,const] QNetworkRequest_KnownHeaders CookieHeader Description: Enum constant QNetworkRequest::CookieHeader Python specific notes: |
CookieLoadControlAttribute | Signature: [static,const] QNetworkRequest_Attribute CookieLoadControlAttribute Description: Enum constant QNetworkRequest::CookieLoadControlAttribute Python specific notes: |
CookieSaveControlAttribute | Signature: [static,const] QNetworkRequest_Attribute CookieSaveControlAttribute Description: Enum constant QNetworkRequest::CookieSaveControlAttribute Python specific notes: |
CustomVerbAttribute | Signature: [static,const] QNetworkRequest_Attribute CustomVerbAttribute Description: Enum constant QNetworkRequest::CustomVerbAttribute Python specific notes: |
DoNotBufferUploadDataAttribute | Signature: [static,const] QNetworkRequest_Attribute DoNotBufferUploadDataAttribute Description: Enum constant QNetworkRequest::DoNotBufferUploadDataAttribute Python specific notes: |
DownloadBufferAttribute | Signature: [static,const] QNetworkRequest_Attribute DownloadBufferAttribute Description: Enum constant QNetworkRequest::DownloadBufferAttribute Python specific notes: |
ETagHeader | Signature: [static,const] QNetworkRequest_KnownHeaders ETagHeader Description: Enum constant QNetworkRequest::ETagHeader Python specific notes: |
EmitAllUploadProgressSignalsAttribute | Signature: [static,const] QNetworkRequest_Attribute EmitAllUploadProgressSignalsAttribute Description: Enum constant QNetworkRequest::EmitAllUploadProgressSignalsAttribute Python specific notes: |
FollowRedirectsAttribute | Signature: [static,const] QNetworkRequest_Attribute FollowRedirectsAttribute Description: Enum constant QNetworkRequest::FollowRedirectsAttribute Python specific notes: |
HTTP2AllowedAttribute | Signature: [static,const] QNetworkRequest_Attribute HTTP2AllowedAttribute Description: Enum constant QNetworkRequest::HTTP2AllowedAttribute Python specific notes: |
HTTP2WasUsedAttribute | Signature: [static,const] QNetworkRequest_Attribute HTTP2WasUsedAttribute Description: Enum constant QNetworkRequest::HTTP2WasUsedAttribute Python specific notes: |
HighPriority | Signature: [static,const] QNetworkRequest_Priority HighPriority Description: Enum constant QNetworkRequest::HighPriority Python specific notes: |
Http2DirectAttribute | Signature: [static,const] QNetworkRequest_Attribute Http2DirectAttribute Description: Enum constant QNetworkRequest::Http2DirectAttribute Python specific notes: |
HttpPipeliningAllowedAttribute | Signature: [static,const] QNetworkRequest_Attribute HttpPipeliningAllowedAttribute Description: Enum constant QNetworkRequest::HttpPipeliningAllowedAttribute Python specific notes: |
HttpPipeliningWasUsedAttribute | Signature: [static,const] QNetworkRequest_Attribute HttpPipeliningWasUsedAttribute Description: Enum constant QNetworkRequest::HttpPipeliningWasUsedAttribute Python specific notes: |
HttpReasonPhraseAttribute | Signature: [static,const] QNetworkRequest_Attribute HttpReasonPhraseAttribute Description: Enum constant QNetworkRequest::HttpReasonPhraseAttribute Python specific notes: |
HttpStatusCodeAttribute | Signature: [static,const] QNetworkRequest_Attribute HttpStatusCodeAttribute Description: Enum constant QNetworkRequest::HttpStatusCodeAttribute Python specific notes: |
IfMatchHeader | Signature: [static,const] QNetworkRequest_KnownHeaders IfMatchHeader Description: Enum constant QNetworkRequest::IfMatchHeader Python specific notes: |
IfModifiedSinceHeader | Signature: [static,const] QNetworkRequest_KnownHeaders IfModifiedSinceHeader Description: Enum constant QNetworkRequest::IfModifiedSinceHeader Python specific notes: |
IfNoneMatchHeader | Signature: [static,const] QNetworkRequest_KnownHeaders IfNoneMatchHeader Description: Enum constant QNetworkRequest::IfNoneMatchHeader Python specific notes: |
LastModifiedHeader | Signature: [static,const] QNetworkRequest_KnownHeaders LastModifiedHeader Description: Enum constant QNetworkRequest::LastModifiedHeader Python specific notes: |
LocationHeader | Signature: [static,const] QNetworkRequest_KnownHeaders LocationHeader Description: Enum constant QNetworkRequest::LocationHeader Python specific notes: |
LowPriority | Signature: [static,const] QNetworkRequest_Priority LowPriority Description: Enum constant QNetworkRequest::LowPriority Python specific notes: |
ManualRedirectPolicy | Signature: [static,const] QNetworkRequest_RedirectPolicy ManualRedirectPolicy Description: Enum constant QNetworkRequest::ManualRedirectPolicy Python specific notes: |
MaximumDownloadBufferSizeAttribute | Signature: [static,const] QNetworkRequest_Attribute MaximumDownloadBufferSizeAttribute Description: Enum constant QNetworkRequest::MaximumDownloadBufferSizeAttribute Python specific notes: |
NoLessSafeRedirectPolicy | Signature: [static,const] QNetworkRequest_RedirectPolicy NoLessSafeRedirectPolicy Description: Enum constant QNetworkRequest::NoLessSafeRedirectPolicy Python specific notes: |
NormalPriority | Signature: [static,const] QNetworkRequest_Priority NormalPriority Description: Enum constant QNetworkRequest::NormalPriority Python specific notes: |
OriginalContentLengthAttribute | Signature: [static,const] QNetworkRequest_Attribute OriginalContentLengthAttribute Description: Enum constant QNetworkRequest::OriginalContentLengthAttribute Python specific notes: |
RedirectPolicyAttribute | Signature: [static,const] QNetworkRequest_Attribute RedirectPolicyAttribute Description: Enum constant QNetworkRequest::RedirectPolicyAttribute Python specific notes: |
RedirectionTargetAttribute | Signature: [static,const] QNetworkRequest_Attribute RedirectionTargetAttribute Description: Enum constant QNetworkRequest::RedirectionTargetAttribute Python specific notes: |
ResourceTypeAttribute | Signature: [static,const] QNetworkRequest_Attribute ResourceTypeAttribute Description: Enum constant QNetworkRequest::ResourceTypeAttribute Python specific notes: |
SameOriginRedirectPolicy | Signature: [static,const] QNetworkRequest_RedirectPolicy SameOriginRedirectPolicy Description: Enum constant QNetworkRequest::SameOriginRedirectPolicy Python specific notes: |
ServerHeader | Signature: [static,const] QNetworkRequest_KnownHeaders ServerHeader Description: Enum constant QNetworkRequest::ServerHeader Python specific notes: |
SetCookieHeader | Signature: [static,const] QNetworkRequest_KnownHeaders SetCookieHeader Description: Enum constant QNetworkRequest::SetCookieHeader Python specific notes: |
SourceIsFromCacheAttribute | Signature: [static,const] QNetworkRequest_Attribute SourceIsFromCacheAttribute Description: Enum constant QNetworkRequest::SourceIsFromCacheAttribute Python specific notes: |
SpdyAllowedAttribute | Signature: [static,const] QNetworkRequest_Attribute SpdyAllowedAttribute Description: Enum constant QNetworkRequest::SpdyAllowedAttribute Python specific notes: |
SpdyWasUsedAttribute | Signature: [static,const] QNetworkRequest_Attribute SpdyWasUsedAttribute Description: Enum constant QNetworkRequest::SpdyWasUsedAttribute Python specific notes: |
SynchronousRequestAttribute | Signature: [static,const] QNetworkRequest_Attribute SynchronousRequestAttribute Description: Enum constant QNetworkRequest::SynchronousRequestAttribute Python specific notes: |
User | Signature: [static,const] QNetworkRequest_Attribute User Description: Enum constant QNetworkRequest::User Python specific notes: |
UserAgentHeader | Signature: [static,const] QNetworkRequest_KnownHeaders UserAgentHeader Description: Enum constant QNetworkRequest::UserAgentHeader Python specific notes: |
UserMax | Signature: [static,const] QNetworkRequest_Attribute UserMax Description: Enum constant QNetworkRequest::UserMax Python specific notes: |
UserVerifiedRedirectPolicy | Signature: [static,const] QNetworkRequest_RedirectPolicy UserVerifiedRedirectPolicy Description: Enum constant QNetworkRequest::UserVerifiedRedirectPolicy Python specific notes: |
_assign | Signature: void _assign (const QNetworkRequest other) Description: Assigns another object to self |
_const_cast | Signature: [const] QNetworkRequest 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. |
assign | Signature: QNetworkRequest assign (const QNetworkRequest other) Description: Method QNetworkRequest &QNetworkRequest::operator=(const QNetworkRequest &other) |
attribute | Signature: [const] variant attribute (const QNetworkRequest_Attribute code, variant defaultValue = QVariant()) Description: Method QVariant QNetworkRequest::attribute(QNetworkRequest::Attribute code, const QVariant &defaultValue) |
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 QNetworkRequest ptr dup Description: Creates a copy of self Python specific notes: |
hasRawHeader | Signature: [const] bool hasRawHeader (bytes headerName) Description: Method bool QNetworkRequest::hasRawHeader(const QByteArray &headerName) |
header | Signature: [const] variant header (const QNetworkRequest_KnownHeaders header) Description: Method QVariant QNetworkRequest::header(QNetworkRequest::KnownHeaders header) |
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. |
maximumRedirectsAllowed | Signature: [const] int maximumRedirectsAllowed Description: Method int QNetworkRequest::maximumRedirectsAllowed() Python specific notes: |
maximumRedirectsAllowed= | Signature: void maximumRedirectsAllowed= (int maximumRedirectsAllowed) Description: Method void QNetworkRequest::setMaximumRedirectsAllowed(int maximumRedirectsAllowed) Python specific notes: |
new | (1) Signature: [static] new QNetworkRequest new (const QUrl url = QUrl()) Description: Constructor QNetworkRequest::QNetworkRequest(const QUrl &url) This method creates an object of class QNetworkRequest. Python specific notes: |
(2) Signature: [static] new QNetworkRequest new (const QNetworkRequest other) Description: Constructor QNetworkRequest::QNetworkRequest(const QNetworkRequest &other) This method creates an object of class QNetworkRequest. Python specific notes: | |
originatingObject | Signature: [const] QObject ptr originatingObject Description: Method QObject *QNetworkRequest::originatingObject() Python specific notes: |
originatingObject= | Signature: void originatingObject= (QObject ptr object) Description: Method void QNetworkRequest::setOriginatingObject(QObject *object) Python specific notes: |
priority | Signature: [const] QNetworkRequest_Priority priority Description: Method QNetworkRequest::Priority QNetworkRequest::priority() Python specific notes: |
priority= | Signature: void priority= (const QNetworkRequest_Priority priority) Description: Method void QNetworkRequest::setPriority(QNetworkRequest::Priority priority) Python specific notes: |
rawHeader | Signature: [const] bytes rawHeader (bytes headerName) Description: Method QByteArray QNetworkRequest::rawHeader(const QByteArray &headerName) |
rawHeaderList | Signature: [const] bytes[] rawHeaderList Description: Method QList<QByteArray> QNetworkRequest::rawHeaderList() |
setAttribute | Signature: void setAttribute (const QNetworkRequest_Attribute code, variant value) Description: Method void QNetworkRequest::setAttribute(QNetworkRequest::Attribute code, const QVariant &value) |
setHeader | Signature: void setHeader (const QNetworkRequest_KnownHeaders header, variant value) Description: Method void QNetworkRequest::setHeader(QNetworkRequest::KnownHeaders header, const QVariant &value) |
setMaximumRedirectsAllowed | Signature: void setMaximumRedirectsAllowed (int maximumRedirectsAllowed) Description: Method void QNetworkRequest::setMaximumRedirectsAllowed(int maximumRedirectsAllowed) Python specific notes: |
setOriginatingObject | Signature: void setOriginatingObject (QObject ptr object) Description: Method void QNetworkRequest::setOriginatingObject(QObject *object) Python specific notes: |
setPriority | Signature: void setPriority (const QNetworkRequest_Priority priority) Description: Method void QNetworkRequest::setPriority(QNetworkRequest::Priority priority) Python specific notes: |
setRawHeader | Signature: void setRawHeader (bytes headerName, bytes value) Description: Method void QNetworkRequest::setRawHeader(const QByteArray &headerName, const QByteArray &value) |
setSslConfiguration | Signature: void setSslConfiguration (const QSslConfiguration configuration) Description: Method void QNetworkRequest::setSslConfiguration(const QSslConfiguration &configuration) Python specific notes: |
setUrl | Signature: void setUrl (const QUrl url) Description: Method void QNetworkRequest::setUrl(const QUrl &url) Python specific notes: |
sslConfiguration | Signature: [const] QSslConfiguration sslConfiguration Description: Method QSslConfiguration QNetworkRequest::sslConfiguration() Python specific notes: |
sslConfiguration= | Signature: void sslConfiguration= (const QSslConfiguration configuration) Description: Method void QNetworkRequest::setSslConfiguration(const QSslConfiguration &configuration) Python specific notes: |
swap | Signature: void swap (QNetworkRequest other) Description: Method void QNetworkRequest::swap(QNetworkRequest &other) |
url | Signature: [const] QUrl url Description: Method QUrl QNetworkRequest::url() Python specific notes: |
url= | Signature: void url= (const QUrl url) Description: Method void QNetworkRequest::setUrl(const QUrl &url) Python specific notes: |