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

#include <qwsevent_qws.h>

Inheritance diagram for QWSFontEvent:
QWSEvent QWSProtocolItem

Classes

struct  SimpleData
 

Public Types

enum  EventType { FontRemoved }
 
- 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...
 

Public Functions

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

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

Additional Inherited Members

- Static Public Functions inherited from QWSEvent
static QWSEventfactory (int type)
 

Detailed Description

Definition at line 424 of file qwsevent_qws.h.

Enumerations

◆ EventType

Enumerator
FontRemoved 

Definition at line 429 of file qwsevent_qws.h.

429  {
431  };

Constructors and Destructors

◆ QWSFontEvent()

QWSFontEvent::QWSFontEvent ( )
inline

Definition at line 425 of file qwsevent_qws.h.

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

Functions

◆ setData()

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

Reimplemented from QWSProtocolItem.

Definition at line 433 of file qwsevent_qws.h.

433  {
434  QWSEvent::setData(d, len, allocateMem);
436  }
double d
Definition: qnumeric_p.h:62
QByteArray fontName
Definition: qwsevent_qws.h:441
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.

Properties

◆ fontName

QByteArray QWSFontEvent::fontName

Definition at line 441 of file qwsevent_qws.h.

Referenced by QApplication::qwsProcessEvent().

◆ simpleData

struct QWSFontEvent::SimpleData QWSFontEvent::simpleData

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