API reference - Class QNetworkCacheMetaData

Notation used in Ruby API documentation

Description: Binding of QNetworkCacheMetaData

Public constructors

new QNetworkCacheMetaDatanewConstructor QNetworkCacheMetaData::QNetworkCacheMetaData()
new QNetworkCacheMetaDatanew(const QNetworkCacheMetaData other)Constructor QNetworkCacheMetaData::QNetworkCacheMetaData(const QNetworkCacheMetaData &other)

Public methods

[const]bool!=(const QNetworkCacheMetaData other)Method bool QNetworkCacheMetaData::operator!=(const QNetworkCacheMetaData &other)
[const]bool==(const QNetworkCacheMetaData other)Method bool QNetworkCacheMetaData::operator==(const QNetworkCacheMetaData &other)
QNetworkCacheMetaDataassign(const QNetworkCacheMetaData other)Method QNetworkCacheMetaData &QNetworkCacheMetaData::operator=(const QNetworkCacheMetaData &other)
[const]voidassign(const QNetworkCacheMetaData other)Assign the contents of another object to self
voidcreateEnsures the C++ object is created
voiddestroyExplicitly destroy the object
[const]booldestroyed?Returns a value indicating whether the object was already destroyed
[const]QNetworkCacheMetaDatadupCreates a copy of self
[const]QDateTimeexpirationDateMethod QDateTime QNetworkCacheMetaData::expirationDate()
voidexpirationDate=(const QDateTime dateTime)Method void QNetworkCacheMetaData::setExpirationDate(const QDateTime &dateTime)
[const]boolisValidMethod bool QNetworkCacheMetaData::isValid()
[const]boolisValid?Method bool QNetworkCacheMetaData::isValid()
[const]boolis_const_object?Returns a value indicating whether the reference is a const reference
[const]QDateTimelastModifiedMethod QDateTime QNetworkCacheMetaData::lastModified()
voidlastModified=(const QDateTime dateTime)Method void QNetworkCacheMetaData::setLastModified(const QDateTime &dateTime)
[const]QByteArrayPair[]rawHeadersMethod QList<QPair<QByteArray, QByteArray> > QNetworkCacheMetaData::rawHeaders()
voidrawHeaders=(QByteArrayPair[] headers)Method void QNetworkCacheMetaData::setRawHeaders(const QList<QPair<QByteArray, QByteArray> > &headers)
[const]boolsaveToDiskMethod bool QNetworkCacheMetaData::saveToDisk()
voidsaveToDisk=(bool allow)Method void QNetworkCacheMetaData::setSaveToDisk(bool allow)
voidsetExpirationDate(const QDateTime dateTime)Method void QNetworkCacheMetaData::setExpirationDate(const QDateTime &dateTime)
voidsetLastModified(const QDateTime dateTime)Method void QNetworkCacheMetaData::setLastModified(const QDateTime &dateTime)
voidsetRawHeaders(QByteArrayPair[] headers)Method void QNetworkCacheMetaData::setRawHeaders(const QList<QPair<QByteArray, QByteArray> > &headers)
voidsetSaveToDisk(bool allow)Method void QNetworkCacheMetaData::setSaveToDisk(bool allow)
voidsetUrl(const QUrl url)Method void QNetworkCacheMetaData::setUrl(const QUrl &url)
[const]QUrlurlMethod QUrl QNetworkCacheMetaData::url()
voidurl=(const QUrl url)Method void QNetworkCacheMetaData::setUrl(const QUrl &url)

Detailed description

[const] bool !=(const QNetworkCacheMetaData other)

Description: Method bool QNetworkCacheMetaData::operator!=(const QNetworkCacheMetaData &other)

[const] bool ==(const QNetworkCacheMetaData other)

Description: Method bool QNetworkCacheMetaData::operator==(const QNetworkCacheMetaData &other)

QNetworkCacheMetaData assign(const QNetworkCacheMetaData other)

Description: Method QNetworkCacheMetaData &QNetworkCacheMetaData::operator=(const QNetworkCacheMetaData &other)

[const] void assign(const QNetworkCacheMetaData 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 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.

void destroy

Description: 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] QNetworkCacheMetaData dup

Description: Creates a copy of self

[const] QDateTime expirationDate

Description: Method QDateTime QNetworkCacheMetaData::expirationDate()

void expirationDate=(const QDateTime dateTime)

Description: Method void QNetworkCacheMetaData::setExpirationDate(const QDateTime &dateTime)

[const] bool isValid

Description: Method bool QNetworkCacheMetaData::isValid()

[const] bool isValid?

Description: Method bool QNetworkCacheMetaData::isValid()

[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.

[const] QDateTime lastModified

Description: Method QDateTime QNetworkCacheMetaData::lastModified()

void lastModified=(const QDateTime dateTime)

Description: Method void QNetworkCacheMetaData::setLastModified(const QDateTime &dateTime)

[static] new QNetworkCacheMetaData new

Description: Constructor QNetworkCacheMetaData::QNetworkCacheMetaData()

This method creates an object of class QNetworkCacheMetaData.

[static] new QNetworkCacheMetaData new(const QNetworkCacheMetaData other)

Description: Constructor QNetworkCacheMetaData::QNetworkCacheMetaData(const QNetworkCacheMetaData &other)

This method creates an object of class QNetworkCacheMetaData.

[const] QByteArrayPair[] rawHeaders

Description: Method QList<QPair<QByteArray, QByteArray> > QNetworkCacheMetaData::rawHeaders()

void rawHeaders=(QByteArrayPair[] headers)

Description: Method void QNetworkCacheMetaData::setRawHeaders(const QList<QPair<QByteArray, QByteArray> > &headers)

[const] bool saveToDisk

Description: Method bool QNetworkCacheMetaData::saveToDisk()

void saveToDisk=(bool allow)

Description: Method void QNetworkCacheMetaData::setSaveToDisk(bool allow)

void setExpirationDate(const QDateTime dateTime)

Description: Method void QNetworkCacheMetaData::setExpirationDate(const QDateTime &dateTime)

void setLastModified(const QDateTime dateTime)

Description: Method void QNetworkCacheMetaData::setLastModified(const QDateTime &dateTime)

void setRawHeaders(QByteArrayPair[] headers)

Description: Method void QNetworkCacheMetaData::setRawHeaders(const QList<QPair<QByteArray, QByteArray> > &headers)

void setSaveToDisk(bool allow)

Description: Method void QNetworkCacheMetaData::setSaveToDisk(bool allow)

void setUrl(const QUrl url)

Description: Method void QNetworkCacheMetaData::setUrl(const QUrl &url)

[const] QUrl url

Description: Method QUrl QNetworkCacheMetaData::url()

void url=(const QUrl url)

Description: Method void QNetworkCacheMetaData::setUrl(const QUrl &url)