QWSServer Class Reference

#include <qwindowsystem_qws.h>

Class Description

Definition at line 209 of file qwindowsystem_qws.h.

+ Inheritance diagram for QWSServer:

Classes

class  KeyboardFilter
 

Public Types

enum  ServerFlags { DisableKeyboard = 0x01, DisableMouse = 0x02 }
 
enum  IMMouse { MousePress, MouseRelease, MouseMove, MouseOutside }
 
enum  WindowEvent {
  Create =0x0001, Destroy =0x0002, Hide =0x0004, Show =0x0008,
  Raise =0x0010, Lower =0x0020, Geometry =0x0040, Active = 0x0080,
  Name =0x0100
}
 

Signals

void windowEvent (QWSWindow *w, QWSServer::WindowEvent e)
 
void newChannel (const QString &channel)
 
void removedChannel (const QString &channel)
 
void markedText (const QString &)
 
- Signals inherited from QObject
void destroyed (QObject *=0)
 

Public Member Functions

 QWSServer (int flags=0, QObject *parent=0)
 
 ~QWSServer ()
 
void sendIMEvent (const QInputMethodEvent *)
 
void sendIMQuery (int property)
 
QWSWindowwindowAt (const QPoint &pos)
 
const QList< QWSWindow * > & clientWindows ()
 
void openMouse ()
 
void closeMouse ()
 
void suspendMouse ()
 
void resumeMouse ()
 
void openKeyboard ()
 
void closeKeyboard ()
 
void refresh ()
 
void refresh (QRegion &)
 
void enablePainting (bool)
 
void sendPropertyNotifyEvent (int property, int state)
 
const QBrushbackgroundBrush () const
 
- Public Member Functions inherited from QObject
Q_INVOKABLE QObject (QObject *parent=0)
 
virtual ~QObject ()
 
virtual bool event (QEvent *)
 
virtual bool eventFilter (QObject *, QEvent *)
 
QString objectName () const
 
void setObjectName (const QString &name)
 
bool isWidgetType () const
 
bool signalsBlocked () const
 
bool blockSignals (bool b)
 
QThreadthread () const
 
void moveToThread (QThread *thread)
 
int startTimer (int interval)
 
void killTimer (int id)
 
template<typename T >
findChild (const QString &aName=QString()) const
 
template<typename T >
QList< T > findChildren (const QString &aName=QString()) const
 
template<typename T >
QList< T > findChildren (const QRegExp &re) const
 
const QObjectListchildren () const
 
void setParent (QObject *)
 
void installEventFilter (QObject *)
 
void removeEventFilter (QObject *)
 
bool connect (const QObject *sender, const char *signal, const char *member, Qt::ConnectionType type=Qt::AutoConnection) const
 
bool disconnect (const char *signal=0, const QObject *receiver=0, const char *member=0)
 
bool disconnect (const QObject *receiver, const char *member=0)
 
void dumpObjectTree ()
 
void dumpObjectInfo ()
 
bool setProperty (const char *name, const QVariant &value)
 
QVariant property (const char *name) const
 
QList< QByteArraydynamicPropertyNames () const
 
void setUserData (uint id, QObjectUserData *data)
 
QObjectUserDatauserData (uint id) const
 
QObjectparent () const
 
bool inherits (const char *classname) const
 

Static Public Member Functions

static void sendKeyEvent (int unicode, int keycode, Qt::KeyboardModifiers modifiers, bool isPress, bool autoRepeat)
 
static void processKeyEvent (int unicode, int keycode, Qt::KeyboardModifiers modifiers, bool isPress, bool autoRepeat)
 
static QWSServerinstance ()
 
static void addKeyboardFilter (KeyboardFilter *f)
 
static void removeKeyboardFilter ()
 
static void setCurrentInputMethod (QWSInputMethod *im)
 
static void resetInputMethod ()
 
static void setDefaultMouse (const char *)
 
static void setDefaultKeyboard (const char *)
 
static void setMaxWindowRect (const QRect &)
 
static void sendMouseEvent (const QPoint &pos, int state, int wheel=0)
 
static void setBackground (const QBrush &)
 
static QWSMouseHandlermouseHandler ()
 
static const QList< QWSMouseHandler * > & mouseHandlers ()
 
static void setMouseHandler (QWSMouseHandler *)
 
static QWSKeyboardHandlerkeyboardHandler ()
 
static void setKeyboardHandler (QWSKeyboardHandler *kh)
 
static void setScreenSaver (QWSScreenSaver *)
 
static void setScreenSaverIntervals (int *ms)
 
static void setScreenSaverInterval (int)
 
static void setScreenSaverBlockLevel (int)
 
static bool screenSaverActive ()
 
static void screenSaverActivate (bool)
 
static void processEventQueue ()
 
static QList< QWSInternalWindowInfo * > * windowList ()
 
static void startup (int flags)
 
static void closedown ()
 
static void beginDisplayReconfigure ()
 
static void endDisplayReconfigure ()
 
static void setCursorVisible (bool)
 
static bool isCursorVisible ()
 
- Static Public Member Functions inherited from QObject
static bool connect (const QObject *sender, const char *signal, const QObject *receiver, const char *member, Qt::ConnectionType=Qt::AutoConnection)
 
static bool connect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method, Qt::ConnectionType type=Qt::AutoConnection)
 
static bool disconnect (const QObject *sender, const char *signal, const QObject *receiver, const char *member)
 
static bool disconnect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &member)
 
static uint registerUserData ()
 

Static Public Attributes

static QPoint mousePosition
 

Protected Member Functions

void timerEvent (QTimerEvent *e)
 
- Protected Member Functions inherited from QObject
QObjectsender () const
 
int senderSignalIndex () const
 
int receivers (const char *signal) const
 
virtual void childEvent (QChildEvent *)
 
virtual void customEvent (QEvent *)
 
virtual void connectNotify (const char *signal)
 
virtual void disconnectNotify (const char *signal)
 
 QObject (QObjectPrivate &dd, QObject *parent=0)
 

Friends

class QCopChannel
 
class QWSMouseHandler
 
class QWSWindow
 
class QWSDisplay
 
class QWSInputMethod
 
class QApplicationPrivate
 

Additional Inherited Members

- Public Slots inherited from QObject
void deleteLater ()
 
- Protected Attributes inherited from QObject
QScopedPointer< QObjectDatad_ptr
 
- Static Protected Attributes inherited from QObject
static const QMetaObject staticQtMetaObject
 
- Properties inherited from QObject
QString objectName
 

Member Enumeration Documentation

Enumerator
DisableKeyboard 
DisableMouse 

Definition at line 224 of file qwindowsystem_qws.h.

enum IMMouse
Enumerator
MousePress 
MouseRelease 
MouseMove 
MouseOutside 

Definition at line 240 of file qwindowsystem_qws.h.

Enumerator
Create 
Destroy 
Hide 
Show 
Raise 
Lower 
Geometry 
Active 
Name 

Definition at line 324 of file qwindowsystem_qws.h.

Constructor & Destructor Documentation

QWSServer ( int  flags = 0,
QObject parent = 0 
)
explicit
~QWSServer ( )

Member Function Documentation

static void sendKeyEvent ( int  unicode,
int  keycode,
Qt::KeyboardModifiers  modifiers,
bool  isPress,
bool  autoRepeat 
)
static
static void processKeyEvent ( int  unicode,
int  keycode,
Qt::KeyboardModifiers  modifiers,
bool  isPress,
bool  autoRepeat 
)
static
static QWSServer* instance ( )
inlinestatic

Definition at line 234 of file qwindowsystem_qws.h.

234 { return qwsServer; }
Q_GUI_EXPORT QWSServer * qwsServer
void sendIMEvent ( const QInputMethodEvent )
void sendIMQuery ( int  property)
static void addKeyboardFilter ( KeyboardFilter f)
static
static void removeKeyboardFilter ( )
static
static void setCurrentInputMethod ( QWSInputMethod im)
static
static void resetInputMethod ( )
static
static void setDefaultMouse ( const char *  )
static
static void setDefaultKeyboard ( const char *  )
static
static void setMaxWindowRect ( const QRect )
static
static void sendMouseEvent ( const QPoint pos,
int  state,
int  wheel = 0 
)
static
static void setBackground ( const QBrush )
static
static QWSMouseHandler* mouseHandler ( )
static
static const QList<QWSMouseHandler*>& mouseHandlers ( )
static
static void setMouseHandler ( QWSMouseHandler )
static
static QWSKeyboardHandler* keyboardHandler ( )
static
static void setKeyboardHandler ( QWSKeyboardHandler kh)
static
QWSWindow* windowAt ( const QPoint pos)
const QList<QWSWindow*>& clientWindows ( )
void openMouse ( )
void closeMouse ( )
void suspendMouse ( )
void resumeMouse ( )
void openKeyboard ( )
void closeKeyboard ( )
static void setScreenSaver ( QWSScreenSaver )
static
static void setScreenSaverIntervals ( int ms)
static
static void setScreenSaverInterval ( int  )
static
static void setScreenSaverBlockLevel ( int  )
static
static bool screenSaverActive ( )
static
static void screenSaverActivate ( bool  )
static
void refresh ( )
void refresh ( QRegion )
void enablePainting ( bool  )
static void processEventQueue ( )
static
static QList<QWSInternalWindowInfo*>* windowList ( )
static
void sendPropertyNotifyEvent ( int  property,
int  state 
)
static void startup ( int  flags)
static
static void closedown ( )
static
static void beginDisplayReconfigure ( )
static
static void endDisplayReconfigure ( )
static
static void setCursorVisible ( bool  )
static
static bool isCursorVisible ( )
static
const QBrush& backgroundBrush ( ) const
void windowEvent ( QWSWindow w,
QWSServer::WindowEvent  e 
)
signal
void newChannel ( const QString channel)
signal
void removedChannel ( const QString channel)
signal
void markedText ( const QString )
signal
void timerEvent ( QTimerEvent e)
protectedvirtual

Reimplemented from QObject.

Friends And Related Function Documentation

friend class QCopChannel
friend

Definition at line 211 of file qwindowsystem_qws.h.

friend class QWSMouseHandler
friend

Definition at line 212 of file qwindowsystem_qws.h.

friend class QWSWindow
friend

Definition at line 213 of file qwindowsystem_qws.h.

friend class QWSDisplay
friend

Definition at line 214 of file qwindowsystem_qws.h.

friend class QWSInputMethod
friend

Definition at line 215 of file qwindowsystem_qws.h.

friend class QApplicationPrivate
friend

Definition at line 344 of file qwindowsystem_qws.h.

Member Data Documentation

QPoint mousePosition
static

Definition at line 309 of file qwindowsystem_qws.h.


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