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

#include <qwscommand_qws_p.h>

Inheritance diagram for QWSSetPropertyCommand:
QWSCommand QWSProtocolItem

Classes

struct  SimpleData
 

Public Functions

 QWSSetPropertyCommand ()
 
void setData (const char *d, int len, bool allocateMem=true)
 
- Public Functions inherited from QWSCommand
 QWSCommand (int t, int len, char *ptr)
 
- 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 * data
 
struct QWSSetPropertyCommand::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 QWSCommand
enum  Type {
  Unknown = 0, Create, Shutdown, Region,
  RegionMove, RegionDestroy, SetProperty, AddProperty,
  RemoveProperty, GetProperty, SetSelectionOwner, ConvertSelection,
  RequestFocus, ChangeAltitude, SetOpacity, DefineCursor,
  SelectCursor, PositionCursor, GrabMouse, PlaySound,
  QCopRegisterChannel, QCopSend, RegionName, Identify,
  GrabKeyboard, RepaintRegion, IMMouse, IMUpdate,
  IMResponse, Embed, Font, ScreenTransform
}
 
- Static Public Functions inherited from QWSCommand
static QWSCommandfactory (int type)
 

Detailed Description

Definition at line 398 of file qwscommand_qws_p.h.

Constructors and Destructors

◆ QWSSetPropertyCommand()

QWSSetPropertyCommand::QWSSetPropertyCommand ( )
inline

Definition at line 400 of file qwscommand_qws_p.h.

400  :
402  reinterpret_cast<char*>(&simpleData)) { data = 0; }
struct QWSSetPropertyCommand::SimpleData simpleData
QWSCommand(int t, int len, char *ptr)

Functions

◆ setData()

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

Reimplemented from QWSProtocolItem.

Definition at line 404 of file qwscommand_qws_p.h.

Referenced by QWSDisplay::setProperty().

404  {
405  QWSCommand::setData(d, len, allocateMem);
406  data = rawDataPtr;
407  }
double d
Definition: qnumeric_p.h:62
virtual void setData(const char *data, int len, bool allocateMem=true)

Properties

◆ data

char* QWSSetPropertyCommand::data

Definition at line 413 of file qwscommand_qws_p.h.

Referenced by QWSServerPrivate::invokeSetProperty().

◆ simpleData

struct QWSSetPropertyCommand::SimpleData QWSSetPropertyCommand::simpleData

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