Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. [Solved]How to disable screen lock on Harmattan when my application is running
Qt 6.11 is out! See what's new in the release blog

[Solved]How to disable screen lock on Harmattan when my application is running

Scheduled Pinned Locked Moved Mobile and Embedded
3 Posts 2 Posters 2.8k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    MichK
    wrote on last edited by
    #1

    Hi,

    How can I disable screen lock on Harmattan when my application is running?

    I mean something like
    @
    User::ResetInactivityTime();
    @
    on Symbian platform.

    1 Reply Last reply
    0
    • Z Offline
      Z Offline
      ZapB
      wrote on last edited by
      #2

      How about "QSystemScreenSaver::setScreenSaverInhibit()":http://doc.qt.nokia.com/qtmobility-1.2/qsystemscreensaver.html#setScreenSaverInhibit - does that do what you are after?

      Nokia Certified Qt Specialist
      Interested in hearing about Qt related work

      1 Reply Last reply
      0
      • M Offline
        M Offline
        MichK
        wrote on last edited by
        #3

        Thanks for the reply. This is what I needed :)

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved