42 #ifndef QWSEVENT_QWS_H
43 #define QWSEVENT_QWS_H
61 QWSEvent(
int t,
int len,
char *ptr) : QWSProtocolItem(t,len,ptr) {}
91 {
return type == Mouse ?
reinterpret_cast<QWSMouseEvent*
>(
this) : 0; }
92 int window() {
return *(
reinterpret_cast<int*
>(simpleDataPtr)); }
93 int window()
const {
return *(
reinterpret_cast<int*
>(simpleDataPtr)); }
105 void setData(
const char *d,
int len,
bool allocateMem =
true) {
175 #ifndef QT_NO_QWS_PROPERTIES
234 void setData(
const char *d,
int len,
bool allocateMem =
true) {
246 #ifdef QT_QWS_CLIENTBLIT
252 #ifdef QT_QWS_CLIENTBLIT
259 #ifdef QT_QWS_CLIENTBLIT
268 #ifndef QT_NO_QWSEMBEDWIDGET
277 void setData(
const char *d,
int len,
bool allocateMem =
true) {
301 #endif // QT_NO_QWSEMBEDWIDGET
303 #ifndef QT_NO_QWS_PROPERTIES
309 void setData(
const char *d,
int len,
bool allocateMem =
true) {
321 #endif //QT_NO_QWS_PROPERTIES
330 void setData(
const char *d,
int len,
bool allocateMem =
true) {
370 #ifndef QT_NO_QWS_INPUTMETHODS
384 void setData(
const char *d,
int len,
bool allocateMem =
true) {
402 void setData(
const char *d,
int len,
bool allocateMem =
true) {
433 void setData(
const char *d,
int len,
bool allocateMem =
true) {
459 #endif // QWSEVENT_QWS_H
GLuint GLuint GLsizei GLenum type
struct QWSFocusEvent::SimpleData simpleData
static QByteArray fromRawData(const char *, int size)
virtual void setData(const char *data, int len, bool allocateMem=true)
struct QWSQCopMessageEvent::SimpleData simpleData
struct QWSWindowOperationEvent::SimpleData simpleData
struct QWSPropertyReplyEvent::SimpleData simpleData
void setData(int winId, Type type, const QRegion ®=QRegion())
struct QWSConnectedEvent::SimpleData simpleData
void setData(const char *d, int len, bool allocateMem=true)
void setData(const char *d, int len, bool allocateMem=true)
struct QWSPropertyNotifyEvent::SimpleData simpleData
#define QT_BEGIN_NAMESPACE
struct QWSIMInitEvent::SimpleData simpleData
QWSMouseEvent * asMouse()
GLsizei GLsizei GLenum GLenum const GLvoid * data
void setData(int winId, const QRegion ®ion, uint type)
void setData(const char *d, int len, bool allocateMem=true)
struct QWSCreationEvent::SimpleData simpleData
QVector< QRect > rects() const
struct QWSSelectionNotifyEvent::SimpleData simpleData
struct QWSMaxWindowRectEvent::SimpleData simpleData
struct QWSEmbedEvent::SimpleData simpleData
struct QWSIMEvent::SimpleData simpleData
const T * constData() const
void setData(const char *d, int len, bool allocateMem=true)
struct QWSMouseEvent::SimpleData simpleData
struct QWSSelectionRequestEvent::SimpleData simpleData
struct QWSSelectionClearEvent::SimpleData simpleData
void setData(const char *d, int len, bool allocateMem=true)
struct QWSFontEvent::SimpleData simpleData
void setDataDirect(const char *d, int len)
QWSEvent(int t, int len, char *ptr)
struct QWSRegionEvent::SimpleData simpleData
QWSSelectionRequestEvent()
void setRects(const QRect *rect, int num)
struct QWSKeyEvent::SimpleData simpleData
void setData(const char *d, int len, bool allocateMem=true)
QWSSelectionNotifyEvent()
void setData(const char *d, int len, bool allocateMem=true)
struct QWSIMQueryEvent::SimpleData simpleData
Qt::KeyboardModifiers modifiers
void setData(const char *d, int len, bool allocateMem=true)
QWSWindowOperationEvent()