Qt 4.8
Classes | Public Functions | Public Variables | List of all members
QWSConnectedEvent Struct Reference

#include <qwsevent_qws.h>

Inheritance diagram for QWSConnectedEvent:
QWSEvent QWSProtocolItem

Classes

struct  SimpleData
 

Public Functions

 QWSConnectedEvent ()
 
void setData (const char *d, int len, bool allocateMem=true)
 
- Public Functions inherited from QWSEvent
QWSMouseEventasMouse ()
 
 QWSEvent (int t, int len, char *ptr)
 
int window ()
 
int window () const
 
- Public Functions inherited from QWSProtocolItem
void copyFrom (const QWSProtocolItem *item)
 
 QWSProtocolItem (int t, int len, char *ptr)
 
bool read (QIODevice *s)
 
void write (QIODevice *s)
 
virtual ~QWSProtocolItem ()
 

Public Variables

char * display
 
struct QWSConnectedEvent::SimpleData simpleData
 
- Public Variables inherited from QWSProtocolItem
int bytesRead
 
bool deleteRaw
 
char * rawDataPtr
 
int rawLen
 
char * simpleDataPtr
 
int simpleLen
 
int type
 

Additional Inherited Members

- Public Types inherited from QWSEvent
enum  Type {
  NoEvent, Connected, Mouse, Focus,
  Key, Region, Creation, PropertyNotify,
  PropertyReply, SelectionClear, SelectionRequest, SelectionNotify,
  MaxWindowRect, QCopMessage, WindowOperation, IMEvent,
  IMQuery, IMInit, Embed, Font,
  ScreenTransformation, NEvent
}
 This enum describes the origin of the event. More...
 
- Static Public Functions inherited from QWSEvent
static QWSEventfactory (int type)
 

Detailed Description

Definition at line 100 of file qwsevent_qws.h.

Constructors and Destructors

◆ QWSConnectedEvent()

QWSConnectedEvent::QWSConnectedEvent ( )
inline

Definition at line 101 of file qwsevent_qws.h.

103  reinterpret_cast<char*>(&simpleData)) {}
QWSEvent(int t, int len, char *ptr)
Definition: qwsevent_qws.h:61
struct QWSConnectedEvent::SimpleData simpleData

Functions

◆ setData()

void QWSConnectedEvent::setData ( const char *  d,
int  len,
bool  allocateMem = true 
)
inlinevirtual

Reimplemented from QWSProtocolItem.

Definition at line 105 of file qwsevent_qws.h.

105  {
106  QWSEvent::setData(d, len, allocateMem);
107  display = reinterpret_cast<char*>(rawDataPtr);
108  }
double d
Definition: qnumeric_p.h:62
virtual void setData(const char *data, int len, bool allocateMem=true)

Properties

◆ display

char* QWSConnectedEvent::display

Definition at line 117 of file qwsevent_qws.h.

◆ simpleData

struct QWSConnectedEvent::SimpleData QWSConnectedEvent::simpleData

The documentation for this struct was generated from the following file: