Help - Search - Members - Calendar
Full Version: Qpe Qcop To Disable Suspend?
OESF Portables Forum > General Forums > General Discussion
Meanie
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?
Meanie
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 sad.gif
tumnus
With the Sharp ROM, this disables the suspend and light dimming:
CODE
qcop QPE/System 'setScreenSaverIntervals(int,int,int)' 0 0 0

and this reenables everything again:
CODE
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.
Meanie
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.
Meanie
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.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2019 Invision Power Services, Inc.