KLayout Manual: Main Index » Class Index » API reference - Class QNetworkCookie

API reference - Class QNetworkCookie

Notation used in Ruby API documentation

Description: Binding of QNetworkCookie

Public constructors

new QNetworkCookienew(const QNetworkCookie other)Constructor QNetworkCookie::QNetworkCookie(const QNetworkCookie &other)
new QNetworkCookienewConstructor QNetworkCookie::QNetworkCookie(const QByteArray &name, const QByteArray &value)
new QNetworkCookienew(string name)Constructor QNetworkCookie::QNetworkCookie(const QByteArray &name, const QByteArray &value)
new QNetworkCookienew(string name,
string value)
Constructor QNetworkCookie::QNetworkCookie(const QByteArray &name, const QByteArray &value)

Public methods

[const]bool!=(const QNetworkCookie other)Method bool QNetworkCookie::operator!=(const QNetworkCookie &other)
[const]bool==(const QNetworkCookie other)Method bool QNetworkCookie::operator==(const QNetworkCookie &other)
QNetworkCookieassign(const QNetworkCookie other)Method QNetworkCookie & QNetworkCookie::operator=(const QNetworkCookie &other)
[const]voidassign(const QNetworkCookie 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]stringdomainMethod QString QNetworkCookie::domain()
voiddomain=(string domain)Method void QNetworkCookie::setDomain(const QString &domain)
[const]QNetworkCookiedupCreates a copy of self
[const]QDateTimeexpirationDateMethod QDateTime QNetworkCookie::expirationDate()
voidexpirationDate=(const QDateTime date)Method void QNetworkCookie::setExpirationDate(const QDateTime &date)
voidhttpOnly=(bool enable)Method void QNetworkCookie::setHttpOnly(bool enable)
[const]boolisHttpOnlyMethod bool QNetworkCookie::isHttpOnly()
[const]boolisHttpOnly?Method bool QNetworkCookie::isHttpOnly()
[const]boolisSecureMethod bool QNetworkCookie::isSecure()
[const]boolisSecure?Method bool QNetworkCookie::isSecure()
[const]boolisSessionCookieMethod bool QNetworkCookie::isSessionCookie()
[const]boolisSessionCookie?Method bool QNetworkCookie::isSessionCookie()
[const]boolis_const_object?Returns a value indicating whether the reference is a const reference
[const]stringnameMethod QByteArray QNetworkCookie::name()
voidname=(string cookieName)Method void QNetworkCookie::setName(const QByteArray &cookieName)
[const]stringpathMethod QString QNetworkCookie::path()
voidpath=(string path)Method void QNetworkCookie::setPath(const QString &path)
voidsecure=(bool enable)Method void QNetworkCookie::setSecure(bool enable)
voidsetDomain(string domain)Method void QNetworkCookie::setDomain(const QString &domain)
voidsetExpirationDate(const QDateTime date)Method void QNetworkCookie::setExpirationDate(const QDateTime &date)
voidsetHttpOnly(bool enable)Method void QNetworkCookie::setHttpOnly(bool enable)
voidsetName(string cookieName)Method void QNetworkCookie::setName(const QByteArray &cookieName)
voidsetPath(string path)Method void QNetworkCookie::setPath(const QString &path)
voidsetSecure(bool enable)Method void QNetworkCookie::setSecure(bool enable)
voidsetValue(string value)Method void QNetworkCookie::setValue(const QByteArray &value)
[const]stringtoRawFormMethod QByteArray QNetworkCookie::toRawForm(QNetworkCookie::RawForm form)
[const]stringtoRawForm(const QNetworkCookie_RawForm form)Method QByteArray QNetworkCookie::toRawForm(QNetworkCookie::RawForm form)
[const]stringvalueMethod QByteArray QNetworkCookie::value()
voidvalue=(string value)Method void QNetworkCookie::setValue(const QByteArray &value)

Public static methods and constants

QNetworkCookie_RawFormFullEnum constant enum QNetworkCookie::Full
QNetworkCookie_RawFormNameAndValueOnlyEnum constant enum QNetworkCookie::NameAndValueOnly
QNetworkCookie[]parseCookies(string cookieString)Static method QList<class QNetworkCookie> QNetworkCookie::parseCookies(const QByteArray &cookieString)

Detailed description

[const] bool !=(const QNetworkCookie other)

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

[const] bool ==(const QNetworkCookie other)

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

[static] QNetworkCookie_RawForm Full

Description: Enum constant enum QNetworkCookie::Full

[static] QNetworkCookie_RawForm NameAndValueOnly

Description: Enum constant enum QNetworkCookie::NameAndValueOnly

QNetworkCookie assign(const QNetworkCookie other)

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

[const] void assign(const QNetworkCookie 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] string domain

Description: Method QString QNetworkCookie::domain()

void domain=(string domain)

Description: Method void QNetworkCookie::setDomain(const QString &domain)

[const] QNetworkCookie dup

Description: Creates a copy of self

[const] QDateTime expirationDate

Description: Method QDateTime QNetworkCookie::expirationDate()

void expirationDate=(const QDateTime date)

Description: Method void QNetworkCookie::setExpirationDate(const QDateTime &date)

void httpOnly=(bool enable)

Description: Method void QNetworkCookie::setHttpOnly(bool enable)

[const] bool isHttpOnly

Description: Method bool QNetworkCookie::isHttpOnly()

[const] bool isHttpOnly?

Description: Method bool QNetworkCookie::isHttpOnly()

[const] bool isSecure

Description: Method bool QNetworkCookie::isSecure()

[const] bool isSecure?

Description: Method bool QNetworkCookie::isSecure()

[const] bool isSessionCookie

Description: Method bool QNetworkCookie::isSessionCookie()

[const] bool isSessionCookie?

Description: Method bool QNetworkCookie::isSessionCookie()

[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] string name

Description: Method QByteArray QNetworkCookie::name()

void name=(string cookieName)

Description: Method void QNetworkCookie::setName(const QByteArray &cookieName)

[static] new QNetworkCookie new(const QNetworkCookie other)

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

This method creates an object of class QNetworkCookie.

[static] new QNetworkCookie new

Description: Constructor QNetworkCookie::QNetworkCookie(const QByteArray &name, const QByteArray &value)

This method creates an object of class QNetworkCookie.

[static] new QNetworkCookie new(string name)

Description: Constructor QNetworkCookie::QNetworkCookie(const QByteArray &name, const QByteArray &value)

This method creates an object of class QNetworkCookie.

[static] new QNetworkCookie new(string name,string value)

Description: Constructor QNetworkCookie::QNetworkCookie(const QByteArray &name, const QByteArray &value)

This method creates an object of class QNetworkCookie.

[static] QNetworkCookie[] parseCookies(string cookieString)

Description: Static method QList<class QNetworkCookie> QNetworkCookie::parseCookies(const QByteArray &cookieString)

This method is static and can be called without an instance.

[const] string path

Description: Method QString QNetworkCookie::path()

void path=(string path)

Description: Method void QNetworkCookie::setPath(const QString &path)

void secure=(bool enable)

Description: Method void QNetworkCookie::setSecure(bool enable)

void setDomain(string domain)

Description: Method void QNetworkCookie::setDomain(const QString &domain)

void setExpirationDate(const QDateTime date)

Description: Method void QNetworkCookie::setExpirationDate(const QDateTime &date)

void setHttpOnly(bool enable)

Description: Method void QNetworkCookie::setHttpOnly(bool enable)

void setName(string cookieName)

Description: Method void QNetworkCookie::setName(const QByteArray &cookieName)

void setPath(string path)

Description: Method void QNetworkCookie::setPath(const QString &path)

void setSecure(bool enable)

Description: Method void QNetworkCookie::setSecure(bool enable)

void setValue(string value)

Description: Method void QNetworkCookie::setValue(const QByteArray &value)

[const] string toRawForm

Description: Method QByteArray QNetworkCookie::toRawForm(QNetworkCookie::RawForm form)

[const] string toRawForm(const QNetworkCookie_RawForm form)

Description: Method QByteArray QNetworkCookie::toRawForm(QNetworkCookie::RawForm form)

[const] string value

Description: Method QByteArray QNetworkCookie::value()

void value=(string value)

Description: Method void QNetworkCookie::setValue(const QByteArray &value)