Home · Modules · Classes · Namespaces · Functions

QxtWebErrorEvent Class Reference
[QxtWeb module]

The QxtWebErrorEvent class describes an error condition to be sent to a web browser More...

    #include <QxtWebErrorEvent>

Inherits QxtWebPageEvent.

Public Functions

Additional Inherited Members


Detailed Description

The QxtWebErrorEvent class describes an error condition to be sent to a web browser

The QxtWebErrorEvent class contains information about an error that will be sent to a web browser.

QxtWebErrorEvent is a QxtWebPageEvent, so the dataSource may be replaced with a custom error page. If you choose to do this, be sure to delete the original data source automatically generated by the constructor first.


Member Function Documentation

QxtWebErrorEvent::QxtWebErrorEvent ( int sessionID, int requestID, int statusCode, QByteArray statusMessage )

Constructs a QxtWebErrorEvent for the specified sessionID and requestID, with the provided statusCode and statusMessage.

The requestID is an opaque value generated by the session manager; services will receive this value via QxtWebRequestEvent and must use it in every event that responds to that request.


Copyright © 2007-2011 Qxt Foundation
Qxt 0.6.2