![]() ![]() |
Server-specific functionality in Qt/Embedded More...
#include <qwindowsystem_qws.h>
Inherits QObject.
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.
Create
- a new window has been created.
Destroy
- a window has been destroyed.
Hide
- a window has been hidden.
Show
- a window has been shown.
Raise
- a window has been raised.
Lower
- a window has been lowered.
Geometry
- the size and/or position of a window has changed.
Active
- a window has become the active window (has keyboard
focus).
Construct a QWSServer class.
This class is instantiated by QApplication for Qt/Embedded server processes. You should never construct this class yourself.
Destruct QWSServer.
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.
Closes keyboard device(s).
Closes pointer device(s).
Disables all painting on the display.
[static]
Returns TRUE is the cursor is visible, or FALSE if it is hidden.
See also setCursorVisible().
[static]
Returns the primary keyboard handler.
[static]
Returns the primary mouse handler.
[signal]
This signal is emitted when QCopChannel channel is created.
Open keyboard device(s).
Opens the mouse device(s).
Refreshes the entire display.
[signal]
This signal is emitted immediately after the QCopChannel channel is destroyed. Note that a channel is not destroyed until all listeners have unregistered.
[static]
Activates the screensaver immediately if activate
is TRUE otherwise
deactivates the screensaver.
[static]
Returns TRUE if the screensaver is active (i.e. blanked).
[static]
Send a key event. You can use this to send key events generated by "virtual keyboards".
[static]
Send a mouse event.
[static]
Shows the cursor if visible is TRUE, otherwise hides the cursor.
See also isCursorVisible().
[static]
Set the keyboard driver to use if $QWS_KEYBOARD is not defined. The default is platform-dependant.
[static]
Set the mouse driver to use if $QWS_MOUSE_PROTO is not defined. The default is platform-dependant.
[static]
Sets the color to use as the background in the absence of obscuring windows.
[static]
Sets the image to use as the background in the absence of obscuring windows.
[static]
Adds a filter to be invoked for all key events from physical keyboard drivers (events sent via processKeyEvent()).
The filter is not invoked for keys generated by virtual keyboard drivers (events send via sendKeyEvent()).
If f is 0, the most-recently added filter is removed and deleted. The caller is responsible for matching each addition with a corresponding removal.
[static]
Sets the primary keyboard handler to kh.
[static]
Sets the area of the screen which Qt/Embedded application will consider to be the maximum area to use for windows.
See also QWidget::showMaximized().
[static]
Changes the mapping of the keyboard; adding the scancode to Unicode mappings from map. The server takes over ownership of map and will delete it. Use QCollection::setAutoDelete() to control whether the contents of map should be deleted.
Passing a null pointer for map will revert to the default keymap.
[static]
Sets an array of timeouts for the screensaver to a list of ms milliseconds. A setting of zero turns off the screensaver. The array must be 0-terminated.
Returns the window containing the point pos
or 0 if there is no window
under the point.
[signal]
This signal is emitted when a window system event event has been processed for window.
[static]
For internal use only.
[static]
For internal use only.
[static]
For internal use only.
[static]
For internal use only.
[static]
For internal use only.
For internal use only.
[static]
For internal use only.
[static]
For internal use only.
[static]
For internal use only.
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 2.3.7
|