Home · Modules · Classes · Namespaces · Functions

QxtWebStoreCookieEvent Class Reference
[QxtWeb module]

The QxtWebStoreCookieEvent class describes a cookie to be sent to a web browser More...

    #include <QxtWebStoreCookieEvent>

Inherits QxtWebEvent.

Public Functions

Public Variables


Detailed Description

The QxtWebStoreCookieEvent class describes a cookie to be sent to a web browser

The QxtWebStoreCookieEvent class instructs the session manager to store a cookie on the web browser.


Member Function Documentation

QxtWebStoreCookieEvent::QxtWebStoreCookieEvent ( int sessionID, QString name, QString data, QDateTime expiration = QDateTime() )

Constructs a QxtWebStoreCookieEvent for the specified sessionID that will store a cookie with the specified name and data on the web browser.

If an expiration date is supplied, it will be passed to the browser along with the cookie. The browser will delete the cookie automatically after the specified date. If an expiration date is not supplied, the cookie will expire when the browser is closed.


Member Variable Documentation

QString QxtWebStoreCookieEvent::data

Contains the content of the cookie to be stored.

QDateTime QxtWebStoreCookieEvent::expiration

Contains the expiration date of the cookie to be stored. If null, the cookie will expire when the web browser is closed.

QString QxtWebStoreCookieEvent::name

Contains the name of the cookie to be stored.


Copyright © 2007-2010 Qxt Foundation
Qxt 0.6.1