Definition at line 59 of file qwsevent_qws.h.
#include <qwsevent_qws.h>

Public Types |
|
| enum | Type
{ NoEvent, Connected, Mouse, Focus, Key, Region, Creation, PropertyNotify, PropertyReply, SelectionClear, SelectionRequest, SelectionNotify, MaxWindowRect, QCopMessage, WindowOperation, IMEvent, IMQuery, IMInit, Embed, Font, ScreenTransformation, NEvent } |
Public Member Functions |
|
| QWSEvent (int t, int len, char *ptr) | |
| QWSMouseEvent * | asMouse () |
| int | window () |
| int | window () const |
Static Public Member Functions |
|
| static QWSEvent * | factory (int type) |
| enum Type |
Reimplemented in QWSRegionEvent, and QWSEmbedEvent.
Definition at line 65 of file qwsevent_qws.h.
| QWSEvent | ( | int | t, |
| int | len, | ||
| char * | ptr | ||
| ) | [inline] |
Definition at line 61 of file qwsevent_qws.h.
: QWSProtocolItem(t,len,ptr) {}
| QWSMouseEvent* asMouse | ( | ) | [inline] |
Definition at line 90 of file qwsevent_qws.h.
{ return type == Mouse ? reinterpret_cast<QWSMouseEvent*>(this) : 0; }
| int window | ( | ) | [inline] |
Definition at line 92 of file qwsevent_qws.h.
{ return *(reinterpret_cast<int*>(simpleDataPtr)); }
| int window | ( | ) | const [inline] |
Definition at line 93 of file qwsevent_qws.h.
{ return *(reinterpret_cast<int*>(simpleDataPtr)); }
| static QWSEvent* factory | ( | int | type | ) | [static] |