Classes | Public Types | Signals | Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Member Functions | Friends

QWSServer Class Reference

Search for all occurrences

Detailed Description

Definition at line 209 of file qwindowsystem_qws.h.

#include <qwindowsystem_qws.h>

Inheritance diagram for QWSServer:
Inheritance graph
[legend]

List of all members.

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 &)

Public Member Functions

  QWSServer (int flags=0, QObject *parent=0)
  ~QWSServer ()
void  sendIMEvent (const QInputMethodEvent *)
void  sendIMQuery (int property)
QWSWindow windowAt (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 QBrush backgroundBrush () 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 QWSServer instance ()
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 QWSMouseHandler mouseHandler ()
static const QList
< QWSMouseHandler * > & 
mouseHandlers ()
static void  setMouseHandler (QWSMouseHandler *)
static QWSKeyboardHandler keyboardHandler ()
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 Attributes

static QPoint  mousePosition

Protected Member Functions

void  timerEvent (QTimerEvent *e)

Friends

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

Member Enumeration Documentation

Enumerator:
DisableKeyboard 
DisableMouse 

Definition at line 224 of file qwindowsystem_qws.h.

                     { DisableKeyboard = 0x01,
                       DisableMouse = 0x02 };
enum IMMouse
Enumerator:
MousePress 
MouseRelease 
MouseMove 
MouseOutside 

Definition at line 240 of file qwindowsystem_qws.h.

{ MousePress, MouseRelease, MouseMove, MouseOutside }; //MouseMove reserved but not used

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 ( ) [inline, static]

Definition at line 234 of file qwindowsystem_qws.h.

{ return 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 ) [protected, virtual]

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]

Reimplemented from QObject.

Definition at line 344 of file qwindowsystem_qws.h.


Member Data Documentation

Definition at line 309 of file qwindowsystem_qws.h.


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

QWSServer QWSServer QWSServer QWSServer QWSServer QWSServer QWSServer QWSServer QWSServer QWSServer
QWSServer QWSServer QWSServer QWSServer QWSServer QWSServer QWSServer QWSServer QWSServer QWSServer