Qt 4.8
|
#include <qwsdisplay_qws_p.h>
Public Functions | |
void | connectToPipe () |
void | create (int n=1) |
Data (QObject *parent, bool singleProcess=false) | |
QWSEvent * | dequeue () |
bool | directServerConnection () |
void | fillQueue () |
void | flush () |
void | flushCommands () |
bool | hasPendingRegionEvents () const |
void | init () |
QWSEvent * | peek () |
bool | queueNotEmpty () |
QWSEvent * | readMore () |
void | reinit (const QString &newAppName) |
void | sendCommand (QWSCommand &cmd) |
void | sendSynchronousCommand (QWSCommand &cmd) |
void | setMouseFilter (void(*filter)(QWSMouseEvent *)) |
int | takeId () |
void | waitForConnection () |
void | waitForCreation () |
void | waitForPropertyReply () |
void | waitForQCopResponse () |
void | waitForRegionAck (int winId) |
void | waitForRegionEvents (int winId, bool ungrabDisplay) |
~Data () | |
Static Public Functions | |
static QWSLock * | getClientLock () |
static bool | lockClient (QWSLock::LockType, int timeout=-1) |
static void | unlockClient (QWSLock::LockType) |
static bool | waitClient (QWSLock::LockType, int timeout=-1) |
Public Variables | |
uchar * | sharedRam |
int | sharedRamSize |
QWSSharedMemory | shm |
Static Public Variables | |
static QWSLock * | clientLock = 0 |
Private Types | |
enum | { VariableEvent =-1 } |
Properties | |
QWSConnectedEvent * | connected_event |
QWSSocket * | csocket |
QWSEvent * | current_event |
QWSMouseEvent * | mouse_event |
int | mouse_state |
int | mouse_winid |
void(* | mouseFilter )(QWSMouseEvent *) |
QWSQCopMessageEvent * | qcop_response |
QList< QWSEvent * > | queue |
int | region_events_count |
QPoint | region_offset |
int | region_offset_window |
QList< int > | unused_identifiers |
Definition at line 65 of file qwsdisplay_qws_p.h.
|
private |
QWSDisplay::Data::Data | ( | QObject * | parent, |
bool | singleProcess = false |
||
) |
Definition at line 498 of file qapplication_qws.cpp.
QWSDisplay::Data::~Data | ( | ) |
Definition at line 516 of file qapplication_qws.cpp.
void QWSDisplay::Data::connectToPipe | ( | ) |
Definition at line 1090 of file qapplication_qws.cpp.
void QWSDisplay::Data::create | ( | int | n = 1 | ) |
Definition at line 622 of file qapplication_qws.cpp.
QWSEvent * QWSDisplay::Data::dequeue | ( | ) |
Definition at line 590 of file qapplication_qws.cpp.
Referenced by QWSDisplay::waitForQCopResponse().
bool QWSDisplay::Data::directServerConnection | ( | ) |
Definition at line 613 of file qapplication_qws.cpp.
void QWSDisplay::Data::fillQueue | ( | ) |
Definition at line 973 of file qapplication_qws.cpp.
void QWSDisplay::Data::flush | ( | ) |
Definition at line 567 of file qapplication_qws.cpp.
void QWSDisplay::Data::flushCommands | ( | ) |
|
static |
Definition at line 561 of file qapplication_qws.cpp.
Referenced by QWSMemorySurface::QWSMemorySurface(), QWSMemorySurface::setLock(), and QWSMemorySurface::~QWSMemorySurface().
bool QWSDisplay::Data::hasPendingRegionEvents | ( | ) | const |
Definition at line 1225 of file qapplication_qws.cpp.
Referenced by QWSDirectPainterSurface::hasPendingRegionEvents().
void QWSDisplay::Data::init | ( | ) |
Definition at line 799 of file qapplication_qws.cpp.
|
static |
Definition at line 546 of file qapplication_qws.cpp.
QWSEvent * QWSDisplay::Data::peek | ( | ) |
Definition at line 608 of file qapplication_qws.cpp.
bool QWSDisplay::Data::queueNotEmpty | ( | ) |
Definition at line 586 of file qapplication_qws.cpp.
QWSEvent * QWSDisplay::Data::readMore | ( | ) |
Definition at line 943 of file qapplication_qws.cpp.
void QWSDisplay::Data::reinit | ( | const QString & | newAppName | ) |
Definition at line 700 of file qapplication_qws.cpp.
Referenced by qt_app_reinit().
void QWSDisplay::Data::sendCommand | ( | QWSCommand & | cmd | ) |
Definition at line 636 of file qapplication_qws.cpp.
Referenced by QWSDisplay::registerChannel(), QWSEmbedWidgetPrivate::resize(), QWSDisplay::sendMessage(), QScreen::setTransformation(), QWSEmbedWidgetPrivate::updateWindow(), and QWSEmbedWidget::~QWSEmbedWidget().
void QWSDisplay::Data::sendSynchronousCommand | ( | QWSCommand & | cmd | ) |
Definition at line 646 of file qapplication_qws.cpp.
void QWSDisplay::Data::setMouseFilter | ( | void(*)(QWSMouseEvent *) | filter | ) |
Definition at line 681 of file qapplication_qws.cpp.
Referenced by QWSDisplay::setRawMouseEventFilter().
int QWSDisplay::Data::takeId | ( | ) |
Definition at line 668 of file qapplication_qws.cpp.
|
static |
Definition at line 551 of file qapplication_qws.cpp.
|
static |
Definition at line 556 of file qapplication_qws.cpp.
void QWSDisplay::Data::waitForConnection | ( | ) |
Definition at line 1111 of file qapplication_qws.cpp.
void QWSDisplay::Data::waitForCreation | ( | ) |
Definition at line 1235 of file qapplication_qws.cpp.
void QWSDisplay::Data::waitForPropertyReply | ( | ) |
Definition at line 1251 of file qapplication_qws.cpp.
void QWSDisplay::Data::waitForQCopResponse | ( | ) |
Definition at line 1265 of file qapplication_qws.cpp.
Referenced by QWSDisplay::waitForQCopResponse().
void QWSDisplay::Data::waitForRegionAck | ( | int | winId | ) |
Definition at line 1128 of file qapplication_qws.cpp.
Referenced by QWSDirectPainterSurface::setRegion().
void QWSDisplay::Data::waitForRegionEvents | ( | int | winId, |
bool | ungrabDisplay | ||
) |
Definition at line 1174 of file qapplication_qws.cpp.
Referenced by QWSDirectPainterSurface::beginPaint().
|
static |
Definition at line 115 of file qwsdisplay_qws_p.h.
Referenced by reinit(), and setMouseFilter().
|
private |
Definition at line 138 of file qwsdisplay_qws_p.h.
|
private |
Definition at line 125 of file qwsdisplay_qws_p.h.
|
private |
Definition at line 148 of file qwsdisplay_qws_p.h.
|
private |
Definition at line 139 of file qwsdisplay_qws_p.h.
|
private |
Definition at line 141 of file qwsdisplay_qws_p.h.
|
private |
Definition at line 142 of file qwsdisplay_qws_p.h.
|
private |
Definition at line 153 of file qwsdisplay_qws_p.h.
|
private |
Definition at line 146 of file qwsdisplay_qws_p.h.
Definition at line 127 of file qwsdisplay_qws_p.h.
|
private |
Definition at line 140 of file qwsdisplay_qws_p.h.
|
private |
Definition at line 143 of file qwsdisplay_qws_p.h.
|
private |
Definition at line 144 of file qwsdisplay_qws_p.h.
uchar* QWSDisplay::Data::sharedRam |
Definition at line 108 of file qwsdisplay_qws_p.h.
int QWSDisplay::Data::sharedRamSize |
Definition at line 112 of file qwsdisplay_qws_p.h.
QWSSharedMemory QWSDisplay::Data::shm |
Definition at line 110 of file qwsdisplay_qws_p.h.
|
private |
Definition at line 149 of file qwsdisplay_qws_p.h.