<?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>QxtWebEvent 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">QxtWebEvent Class Reference<br /><span class="small-subtitle">[<a href="qxtweb.html">QxtWeb</a> module]</span> </h1> <p>The QxtWebEvent class is a base class of all <a href="qxtweb.html">QxtWeb</a> event types <a href="#details">More...</a></p> <pre> #include <QxtWebEvent></pre><p>Inherited by <a href="qxtwebpageevent.html">QxtWebPageEvent</a>, <a href="qxtwebremovecookieevent.html">QxtWebRemoveCookieEvent</a>, <a href="qxtwebrequestevent.html">QxtWebRequestEvent</a>, and <a href="qxtwebstorecookieevent.html">QxtWebStoreCookieEvent</a>.</p> <ul> <li><a href="qxtwebevent-members.html">List of all members, including inherited members</a></li> </ul> <a name="public-types"></a> <h3>Public Types</h3> <ul> <li><div class="fn"></div>enum <b><a href="qxtwebevent.html#EventType-enum">EventType</a></b> { None, Request, FileUpload, Page, ..., Redirect }</li> </ul> <a name="public-functions"></a> <h3>Public Functions</h3> <ul> <li><div class="fn"></div><b><a href="qxtwebevent.html#QxtWebEvent">QxtWebEvent</a></b> ( EventType <i>type</i>, int <i>sessionID</i> )</li> <li><div class="fn"></div>virtual <b><a href="qxtwebevent.html#dtor.QxtWebEvent">~QxtWebEvent</a></b> ()</li> <li><div class="fn"></div>EventType <b><a href="qxtwebevent.html#type">type</a></b> () const</li> </ul> <a name="public-variables"></a> <h3>Public Variables</h3> <ul> <li><div class="fn"></div>const int <b><a href="qxtwebevent.html#sessionID-var">sessionID</a></b></li> </ul> <a name="details"></a> <hr /> <h2>Detailed Description</h2> <p>The QxtWebEvent class is a base class of all <a href="qxtweb.html">QxtWeb</a> event types</p> <p>QxtWebEvent is the base class for all <a href="qxtweb.html">QxtWeb</a> event classes. Event objects contain event parameters.</p> <p>The base QxtWebEvent class contains the type of the event and a session ID for the session it relates to. Subclasses of QxtWebEvent contain additional parameters describing the particular event.</p> <hr /> <h2>Member Type Documentation</h2> <h3 class="fn"><a name="EventType-enum"></a>enum QxtWebEvent::EventType</h3> <p><table border="1" cellpadding="2" cellspacing="1" width="100%"> <tr><th width="25%">Constant</th><th width="15%">Value</th><th width="60%">Description</th></tr> <tr><td valign="top"><tt>QxtWebEvent::None</tt></td><td align="center" valign="top"><tt>0</tt></td><td valign="top">Not an event.</td></tr> <tr><td valign="top"><tt>QxtWebEvent::Request</tt></td><td align="center" valign="top"><tt>1</tt></td><td valign="top">A request event.</td></tr> <tr><td valign="top"><tt>QxtWebEvent::FileUpload</tt></td><td align="center" valign="top"><tt>2</tt></td><td valign="top">A file upload event.</td></tr> <tr><td valign="top"><tt>QxtWebEvent::Page</tt></td><td align="center" valign="top"><tt>3</tt></td><td valign="top">A page event.</td></tr> <tr><td valign="top"><tt>QxtWebEvent::StoreCookie</tt></td><td align="center" valign="top"><tt>4</tt></td><td valign="top">A store cookie event.</td></tr> <tr><td valign="top"><tt>QxtWebEvent::RemoveCookie</tt></td><td align="center" valign="top"><tt>5</tt></td><td valign="top">A remove cookie event.</td></tr> <tr><td valign="top"><tt>QxtWebEvent::Redirect</tt></td><td align="center" valign="top"><tt>6</tt></td><td valign="top">A redirect event.</td></tr> </table></p> <hr /> <h2>Member Function Documentation</h2> <h3 class="fn"><a name="QxtWebEvent"></a>QxtWebEvent::QxtWebEvent ( <a href="qxtwebevent.html#EventType-enum">EventType</a> <i>type</i>, int <i>sessionID</i> )</h3> <p>Constructs a <a href="qxtwebevent.html">QxtWebEvent</a> of the specified <i>type</i> for the specified <i>sessionID</i>.</p> <h3 class="fn"><a name="dtor.QxtWebEvent"></a>QxtWebEvent::~QxtWebEvent () <tt> [virtual]</tt></h3> <p>Destroys the event.</p> <h3 class="fn"><a name="type"></a><a href="qxtwebevent.html#EventType-enum">EventType</a> QxtWebEvent::type () const</h3> <p>Returns the event type.</p> <hr /> <h2>Member Variable Documentation</h2> <h3 class="fn"><a name="sessionID-var"></a>const int QxtWebEvent::sessionID</h3> <p>Contains the ID of the session the event is related to.</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>