[Qt-interest] QWSScreenSaver, exit key from screen saver
Stefan Löffler
st.loeffler at gmail.com
Thu Jul 28 20:19:21 CEST 2011
Hi,
On 2011-07-27 17:12, Mehmet Emre SAHIN wrote:
> I'm using QWSScreenSaver. I want to put a constraint on the keys that
> could make finish the screen saver. For example the screen saver will
> only exit when the Enter key is pressed. How can I do this?
I haven't used Qt for Embedded Linux myself. But the docs
(http://doc.trolltech.com/4.7/qwsscreensaver.html#details) say:
"When running Qt for Embedded Linux applications, it is the server
application that installs and controls the screensaver."
Paired with the apparently very limited number of functions of the
QWSScreenSaver class, it would seem to me that this class is not the
right place to look at. Rather, look at QWSServer, or maybe
QWSServer::KeyboardFilter
(http://doc.trolltech.com/4.7/qwsserver-keyboardfilter.html). But never
having dealt with this myself, I can't offer anything else.
HTH
Stefan
More information about the Qt-interest-old
mailing list