Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User robnugent's Avatar
    Join Date
    Oct 2008
    Posts
    13
    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

  3. #3
    Registered User robnugent's Avatar
    Join Date
    Oct 2008
    Posts
    13
    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 Web Runtime
    Replies: 0
    Last Post: 2009-02-25, 23:46
  3. Keep the backlight on?
    By fhuber2010 in forum Symbian C++
    Replies: 1
    Last Post: 2004-11-16, 07:56
  4. backlight
    By funko in forum Symbian C++
    Replies: 2
    Last Post: 2003-08-03, 09:17
  5. Backlight
    By nfm in forum Symbian C++
    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
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved