×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Oct 2008
    Posts
    13

    Backlight and symbian.

    Hi,

    I'm trying to rephrase a question more generally that I asked badly a couple of days ago in another thread.

    I'm writing a homebrew mapping application to run under Symbian. Since this is a mapping application, I want to ensure the backlight is always-on while the application is being shown.

    I've managed to do this OK using QSystemScreenSaver.setScreenSaverInhibit();

    However, if the user selects another running application e.g. by selecting the Symbian Home Screen (pushing mine into background), I'd like to reenable the screen saver, and allow the backlight to extinguish.

    I believe I can do this by calling 'delete' on my QSystemScreenSaver, however, I can't detect when my application is no longer being shown. I thought that QWidget.showEvent() / QWidget.hideEvent() might be the right thing to use (as per my previous post), but showEvent() seems to get called exactly once (at application startup), and hideEvent() never gets called.

    Can anyone advide the correct mechanism to use please ?
    Thanks
    Rob

  2. #2
    Registered User
    Join Date
    Aug 2008
    Posts
    30

  3. #3
    Registered User
    Join Date
    Oct 2008
    Posts
    13

    Re: Backlight and symbian.

    DoiT,

    Great thanks.

    Rob

Similar Threads

  1. Backlight not getting OFF
    By jawadakhtar in forum Symbian Media (Closed)
    Replies: 1
    Last Post: 2010-02-22, 15:16
  2. How to keep the Backlight on?
    By romulovitor in forum Symbian
    Replies: 0
    Last Post: 2009-02-25, 23:46
  3. Keep the backlight on?
    By fhuber2010 in forum Symbian
    Replies: 1
    Last Post: 2004-11-16, 07:56
  4. backlight
    By funko in forum Symbian
    Replies: 2
    Last Post: 2003-08-03, 09:17
  5. Backlight
    By nfm in forum Symbian
    Replies: 3
    Last Post: 2003-04-21, 03:45

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×