Review Request 121507: Add "silent" parameter to PM dataengine brightness jobs

Kai Uwe Broulik kde at privat.broulik.de
Sun Dec 14 13:04:15 UTC 2014


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/121507/
-----------------------------------------------------------

Review request for Plasma.


Repository: plasma-workspace


Description
-------

This adds a "silent" argument to the setBrightness jobs in the PM dataengine allowing the caller to suppress the OSD. I will use this in the battery monitor to now show the OSD when the user is actively dragging the slider since confirming an action he/she just did is just redundant. It will show it when mouse wheeling the icon.


Diffs
-----

  dataengines/powermanagement/powermanagementjob.h 8dd1731 
  dataengines/powermanagement/powermanagementjob.cpp 24ef2db 
  dataengines/powermanagement/powermanagementservice.operations c9abbf9 

Diff: https://git.reviewboard.kde.org/r/121507/diff/


Testing
-------

Works as expected. Also it seems to be backwards compatible so clients not explicitly setting the "silent" property won't break but just default to false.


Thanks,

Kai Uwe Broulik

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20141214/dd91ad6a/attachment.html>


More information about the Plasma-devel mailing list