[Marble-devel] Review Request: Inhibit screensaver in turn-by-turn navigation mode

Dennis Nienhüser earthwings at gentoo.org
Fri Aug 27 13:31:52 CEST 2010


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://reviewboard.kde.org/r/5167/
-----------------------------------------------------------

Review request for marble.


Summary
-------

In turn-by-turn navigation mode you usually just watch the screen, but do not "use" the system. A screensaver (screen blanking and locking on Maemo) coming in at that point is highly annoying. This patch adds an invisible render plugin that uses QtMobility to inhibit the screensaver as long as the plugin is enabled and a position provider is active. Given that it is a plugin on its own, the new dependency to QtMobility doesn't affect Marble much: Without QtMobility, the screensaver inhibition plugin is not build and its functionality isn't there, nothing else.


Diffs
-----

  /trunk/KDE/kdeedu/marble/FindQtsysteminfo.cmake PRE-CREATION 
  /trunk/KDE/kdeedu/marble/src/lib/graphicsview/ScreenGraphicsItem_p.h 1168534 
  /trunk/KDE/kdeedu/marble/src/plugins/render/CMakeLists.txt 1168534 
  /trunk/KDE/kdeedu/marble/src/plugins/render/inhibit-screensaver/CMakeLists.txt PRE-CREATION 
  /trunk/KDE/kdeedu/marble/src/plugins/render/inhibit-screensaver/InhibitScreensaverPlugin.h PRE-CREATION 
  /trunk/KDE/kdeedu/marble/src/plugins/render/inhibit-screensaver/InhibitScreensaverPlugin.cpp PRE-CREATION 

Diff: http://reviewboard.kde.org/r/5167/diff


Testing
-------

Works on my N900.


Thanks,

Dennis

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/marble-devel/attachments/20100827/8288ff3c/attachment.htm 


More information about the Marble-devel mailing list