OESF Portables Forum
General Forums => General Discussion => Topic started by: Meanie on April 21, 2005, 01:15:36 am
-
How do you use qcop to disable suspend on the Z?
according to the doc, setSuspendOnOff(bool) would do it, but how do you invoke it?
I tried qcop QPE/System "setSuspendOnOff(bool)" true
but I get:
Syntax error in paramter type: bool
anyone know?
-
http://lists.trolltech.com/qt-embedded-int...3/msg00015.html (http://lists.trolltech.com/qt-embedded-interest/2004-03/msg00015.html)
-
Thanks for the info. I guess, I will have to compile my own app with gcc. I was hoping I could just do a qcop command in a shell script
-
With the Sharp ROM, this disables the suspend and light dimming:
qcop QPE/System 'setScreenSaverIntervals(int,int,int)' 0 0 0
and this reenables everything again:
qcop QPE/System 'setScreenSaverIntervals(int,int,int)' -1 -1 -1
Sharp's version of Qtopia is slightly different from Trolltech's documented version. I don't think there is a way to disable only the suspend without disabling the auto-light dimming.
-
Thanks Tumnus,
I'll try it out and see whether it fits my purpose which is quite simple. I just want to listen to flite read my text files with the display closed similar to what Music Player does.
-
Thanks Tumnus,
I'll try it out and see whether it fits my purpose which is quite simple. I just want to listen to flite read my text files with the display closed similar to what Music Player does.