QWSServer Class Reference
The QWSServer class provides server-specific functionality in Qt/Embedded.
More...
#include <qwindowsystem_qws.h>
List of all member functions.
Public Members
QWSServer ( int flags = 0, QObject * parent = 0, const char * name = 0 )
~QWSServer ()
enum ServerFlags { DisableKeyboard = 0x01, DisableMouse = 0x02 }
enum GUIMode { NoGui = FALSE, NormalGUI = TRUE, Server }
class KeyMap { }
class KeyboardFilter { }
QWSWindow * windowAt ( const QPoint & pos )
void openMouse ()
void closeMouse ()
void openKeyboard ()
void closeKeyboard ()
void refresh ()
void enablePainting ( bool )
void sendPropertyNotifyEvent ( int property, int state )
QWSPropertyManager * manager ()
enum WindowEvent { Create = 0x01, Destroy = 0x02, Hide = 0x04, Show = 0x08, Raise = 0x10, Lower = 0x20, Geometry = 0x40 }
Signals
Static Public Members
void sendKeyEvent ( int unicode, int keycode, int modifiers, bool isPress, bool autoRepeat )
void processKeyEvent ( int unicode, int keycode, int modifiers, bool isPress, bool autoRepeat )
const KeyMap * keyMap ()
void setKeyboardFilter ( KeyboardFilter * f )
void setDefaultMouse ( const char * )
void setDefaultKeyboard ( const char * )
void setMaxWindowRect ( const QRect & )
void sendMouseEvent ( const QPoint & pos, int state )
void setDesktopBackground ( const QImage & img )
void setDesktopBackground ( const QColor & )
QWSMouseHandler * mouseHandler ()
void setMouseHandler ( QWSMouseHandler * )
QWSKeyboardHandler * keyboardHandler ()
void setKeyboardHandler ( QWSKeyboardHandler * kh )
void setScreenSaverInterval ( int )
bool screenSaverActive ()
void screenSaverActivate ( bool )
void processEventQueue ()
QList<QWSInternalWindowInfo> * windowList ()
void startup ( int flags )
void closedown ()
Detailed Description
The QWSServer class provides server-specific functionality in Qt/Embedded.
When you run a Qt/Embedded application, it either runs as a server
or connects to an existing server. If it runs as a server, some additional
operations are provided via the QWSServer class.
This class is instantiated by QApplication for Qt/Embedded server processes.
You should never construct this class yourself.
A pointer to the QWSServer instance can be obtained via the global
qwsServer variable.
Member Function Documentation
QWSServer::QWSServer ( int flags = 0, QObject * parent = 0, const char * name = 0 )
Construct a QWSServer class with parent parent, called name
and flags flags.
This class is instantiated by QApplication for Qt/Embedded server processes.
You should never construct this class yourself.
const QPtrList<QWSWindow> & QWSServer::clientWindows ()
Returns the list of top-level windows. This list will change as
applications add and remove wigdets so it should not be stored for future
use. The windows are sorted in stacking order from top-most to lowest.
Search the documentation, FAQ, qt-interest archive and more (uses
www.trolltech.com):
This file is part of the Qt toolkit,
copyright © 1995-2001
Trolltech, all rights reserved.
Copyright © 2001 Trolltech | Trademarks
| Qt version 3.0.0-beta2
|