Classes | Public Member Functions | Public Attributes

QWSQCopMessageEvent Struct Reference

Search for all occurrences

Detailed Description

Definition at line 324 of file qwsevent_qws.h.

#include <qwsevent_qws.h>

Inheritance diagram for QWSQCopMessageEvent:
Inheritance graph
[legend]

List of all members.

Classes

struct   SimpleData

Public Member Functions

  QWSQCopMessageEvent ()
void  setData (const char *d, int len, bool allocateMem=true)
void  setDataDirect (const char *d, int len)

Public Attributes

struct
QWSQCopMessageEvent::SimpleData 
simpleData
QByteArray  channel
QByteArray  message
QByteArray  data

Constructor & Destructor Documentation

QWSQCopMessageEvent ( ) [inline]

Definition at line 325 of file qwsevent_qws.h.

        : QWSEvent(QWSEvent::QCopMessage, sizeof(simpleData),
                reinterpret_cast<char*>(&simpleData))
        { memset(reinterpret_cast<char*>(&simpleData),0,sizeof(simpleData)); }

Member Function Documentation

void setData ( const char *  d,
int  len,
bool  allocateMem = true 
) [inline, virtual]
void setDataDirect ( const char *  d,
int  len 
) [inline]

Definition at line 340 of file qwsevent_qws.h.

                                               {
        QWSEvent::setData(d, len, false);
        deleteRaw = true;
    }

Member Data Documentation

Definition at line 352 of file qwsevent_qws.h.

Definition at line 353 of file qwsevent_qws.h.

Definition at line 354 of file qwsevent_qws.h.


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