Home · Modules · Classes · Namespaces · Functions

QxtWebRequestEvent Class Reference
[QxtWeb module]

The QxtWebRequestEvent class describes a request from a web browser More...

    #include <QxtWebRequestEvent>

Inherits QxtWebEvent.

Public Functions

Public Variables


Detailed Description

The QxtWebRequestEvent class describes a request from a web browser

The QxtWebRequestEvent class contains information about a request from a web browser.


Member Function Documentation

QxtWebRequestEvent::QxtWebRequestEvent ( int sessionID, int requestID, const QUrl & url )

Constructs a QxtWebRequestEvent for the specified sessionID, requestID and url.

QxtWebRequestEvent::~QxtWebRequestEvent ()

Destroys the event and any content that may still be associated with it.


Member Variable Documentation

QPointer<QxtWebContent> QxtWebRequestEvent::content

Contains the content of the request body, if present.

QString QxtWebRequestEvent::contentType

Contains the MIME type of the request body, if present.

QMultiHash<QString, QString> QxtWebRequestEvent::cookies

Contains all of the cookies sent by the web browser.

QMultiHash<QString, QString> QxtWebRequestEvent::headers

Contains all of the headers sent by the web browser.

Note that use of these values may not be portable across session maangers.

const QUrl QxtWebRequestEvent::originalUrl

Contains the request URL exactly as it was sent from the web browser.

const int QxtWebRequestEvent::requestID

Contains an opaque value generated by the session manager. This request ID must be included in the QxtWebPageEvent or QxtWebPageEvent subclass that is the response to the request.

QUrl QxtWebRequestEvent::url

Contains the request URL, possibly after rewriting by intermediate services such as QxtWebServiceDirectory.


Copyright © 2007-2011 Qxt Foundation
Qxt 0.6.2