<?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <!-- /builddir/build/BUILD/libqxt/src/web/qxtwebevent.cpp --> <head> <title>QxtWebErrorEvent Class Reference</title> <link href="stylesheet.css" rel="stylesheet" type="text/css" /> </head> <body> <table border="0" cellpadding="0" cellspacing="0" width="100%"> <tr> <td align="left" valign="top" width="32"><a href="http://libqxt.org"><img src="images/qxt-logo.png" width="50" height="40" align="left" border="0" /></a></td> <td width="1"> </td><td class="postheader" valign="center"><a href="index.html"><font color="#004faf">Home</font></a> · <a href="modules.html"><font color="#004faf">Modules</font></a> · <a href="classes.html"><font color="#004faf">Classes</font></a> · <a href="namespaces.html"><font color="#004faf">Namespaces</font></a> · <a href="functions.html"><font color="#004faf">Functions</font></a></td> <td align="right" valign="top" width="230"></td></tr></table><h1 class="title">QxtWebErrorEvent Class Reference<br /><span class="small-subtitle">[<a href="qxtweb.html">QxtWeb</a> module]</span> </h1> <p>The QxtWebErrorEvent class describes an error condition to be sent to a web browser <a href="#details">More...</a></p> <pre> #include <QxtWebErrorEvent></pre><p>Inherits <a href="qxtwebpageevent.html">QxtWebPageEvent</a>.</p> <ul> <li><a href="qxtweberrorevent-members.html">List of all members, including inherited members</a></li> </ul> <a name="public-functions"></a> <h3>Public Functions</h3> <ul> <li><div class="fn"></div><b><a href="qxtweberrorevent.html#QxtWebErrorEvent">QxtWebErrorEvent</a></b> ( int <i>sessionID</i>, int <i>requestID</i>, int <i>statusCode</i>, QByteArray <i>statusMessage</i> )</li> </ul> <ul> <li><div class="fn"></div>1 public function inherited from <a href="qxtwebevent.html#public-functions">QxtWebEvent</a></li> </ul> <h3>Additional Inherited Members</h3> <ul> <li><div class="fn"></div>8 public variables inherited from <a href="qxtwebpageevent.html#public-variables">QxtWebPageEvent</a></li> <li><div class="fn"></div>1 public type inherited from <a href="qxtwebevent.html#public-variables">QxtWebEvent</a></li> </ul> <a name="details"></a> <hr /> <h2>Detailed Description</h2> <p>The QxtWebErrorEvent class describes an error condition to be sent to a web browser</p> <p>The QxtWebErrorEvent class contains information about an error that will be sent to a web browser.</p> <p>QxtWebErrorEvent is a <a href="qxtwebpageevent.html">QxtWebPageEvent</a>, so the <i>dataSource</i> 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.</p> <hr /> <h2>Member Function Documentation</h2> <h3 class="fn"><a name="QxtWebErrorEvent"></a>QxtWebErrorEvent::QxtWebErrorEvent ( int <i>sessionID</i>, int <i>requestID</i>, int <i>statusCode</i>, <a href="http://doc.qtsoftware.com/4.5/qbytearray.html">QByteArray</a> <i>statusMessage</i> )</h3> <p>Constructs a <a href="qxtweberrorevent.html">QxtWebErrorEvent</a> for the specified <i>sessionID</i> and <i>requestID</i>, with the provided <i>statusCode</i> and <i>statusMessage</i>.</p> <p>The <a href="qxtwebpageevent.html#requestID-var">requestID</a> is an opaque value generated by the session manager; services will receive this value via <a href="qxtwebrequestevent.html">QxtWebRequestEvent</a> and must use it in every event that responds to that request.</p> <p /><address><hr /><div align="center"> <table width="100%" cellspacing="0" border="0"><tr class="address"> <td align="left">Copyright © 2007-2010 <a href="mailto:foundation@libqxt.org">Qxt Foundation</a></td> <td align="right"><div align="right"> <a href="http://libqxt.org">Qxt</a> 0.6.1</div></td> </tr></table></div></address></body> </html>