42 #ifndef QWSPROTOCOLITEM_QWS_H 43 #define QWSPROTOCOLITEM_QWS_H 51 #include <QtCore/qglobal.h> 76 #ifndef QT_NO_QWS_MULTIPROCESS 82 virtual void setData(
const char *
data,
int len,
bool allocateMem =
true);
93 #define QWS_PROTOCOL_ITEM_SIZE( item ) \ 94 (2 * sizeof(int)) + ((item).simpleDataPtr ? (item).simpleLen : 0) + ((item).rawDataPtr ? (item).rawLen : 0) 100 #endif // QWSPROTOCOLITEM_QWS_H #define QT_END_NAMESPACE
This macro expands to.
virtual void setData(const char *data, int len, bool allocateMem=true)
void copyFrom(const QWSProtocolItem *item)
virtual ~QWSProtocolItem()
#define QT_BEGIN_NAMESPACE
This macro expands to.
static const char * data(const QByteArray &arr)
const T * ptr(const T &t)
The QIODevice class is the base interface class of all I/O devices in Qt.
QWSProtocolItem(int t, int len, char *ptr)