Dear visitor, welcome to KDE-Forum.org. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.
Quoted
DCOP is not used to send key strikes, for that, the X11 event queues are
used and they can be used fromQt. DCOP can, however, be used to control
Konqueror.
My Reference to DCOP was merely to remind that a lightweight mechanism for inter-process communication already exists and it is used by KDE.Correctly you said that in your opinion the kestroke's simulation can be achieved by "X11 event queues", but for me (beeing a newbie) that is too generic.Quoted
Qt sw that send simulated keystrokes
(or even simulated mouse moves/clicks) to Konqueror browser
This post has been edited 2 times, last edit by "fiomba" (Jan 20th 2005, 12:48pm)
Quoted
Originally posted by fiomba
I am surprised that Linux in this field is not up to date...
Quoted
Originally posted by fiomba
Thank you for your replay, but it's not very useful.
Quoted
The X server therefore:
* displays drawing requests on the screen.
* replies to information requests.
* reports an error in a request.
* Manages the keyboard, mouse and display device.
o Multiplexes keyboard and mouse input onto the network (or via local IPC) to the respective X clients. (X events)
* creates, maps and destroys windows.
o writes and draws in windows.
Quoted
x2x allows the keyboard and mouse on one ("from") X display to control another ("to") X display.
Quoted
"Well, it would be in principle possible, if someone would add DCOP wrappers around a general event handler.
But I doubt such a mechanism already exists.
Konqueror's (or any KDE app's) ensemble of keyboard strokes and mouse events is in fact the result of the reunion of a large number of such notions that
are configured and provided at multiple levels in the KDE framework.
Some of these events are configured at Qt level (e.g. the TAB keystroke that moves the cursor from widget to widget).
Others are offered by the KDE libs (e.g. the Ctrl+C that allows copying). Others by the application itself (e.g. Ctrl+Home for going to the home page in konqueror).
Thus, making a wrapper around all this multitude is probably a very involved task."
Forum Software: Burning Board®, developed by WoltLab® GmbH
Linux Computer - Linux Forum -
Linux Computer und Notebooks - Lastminute - Wasserbetten & Whirlpools