PDA

View Full Version : QSessionManager example request



oguzy
30th September 2008, 22:53
I am trying to write an application that will test the sleep function of the laptop. I am using pyqt for this. I need to continue to run my gui after the laptop wakes up from sleep mode so that i may continue some counters and repeat the sleep command again. I think i may use QSessionManager but i am not sure how to use it. Can someone give me a simple example with it?