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

#include <qwsevent_qws.h>

Inheritance diagram for QWSIMInitEvent:
QWSEvent QWSProtocolItem

Classes

struct  SimpleData
 

Public Functions

 QWSIMInitEvent ()
 
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

struct QWSIMInitEvent::SimpleData simpleData
 
QByteArray streamingData
 
- 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 392 of file qwsevent_qws.h.

Constructors and Destructors

◆ QWSIMInitEvent()

QWSIMInitEvent::QWSIMInitEvent ( )
inline

Definition at line 393 of file qwsevent_qws.h.

394  : QWSEvent(IMInit, sizeof(simpleData), reinterpret_cast<char*>(&simpleData))
395  { memset(reinterpret_cast<char*>(&simpleData),0,sizeof(simpleData)); }
QWSEvent(int t, int len, char *ptr)
Definition: qwsevent_qws.h:61
struct QWSIMInitEvent::SimpleData simpleData

Functions

◆ setData()

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

Reimplemented from QWSProtocolItem.

Definition at line 402 of file qwsevent_qws.h.

402  {
403  QWSEvent::setData(d, len, allocateMem);
405  }
double d
Definition: qnumeric_p.h:62
virtual void setData(const char *data, int len, bool allocateMem=true)
static QByteArray fromRawData(const char *, int size)
Constructs a QByteArray that uses the first size bytes of the data array.
QByteArray streamingData
Definition: qwsevent_qws.h:406

Properties

◆ simpleData

struct QWSIMInitEvent::SimpleData QWSIMInitEvent::simpleData

◆ streamingData

QByteArray QWSIMInitEvent::streamingData

Definition at line 406 of file qwsevent_qws.h.


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