add functions for locking/unlocking the corona

Authored by mart on Mar 10 2017, 6:11 PM.



add global immutability/setImmutability in scripting
there was a locked property in containment, but
didn't make much sense as the lock/unlock state is
always global. a global function would be better.

containment.locked may also be changed to lock the corona instead
(doesn't seem reliable now) but should probably be deprecated.

Test Plan

correctly locked nd unlocked widgets from the console.
i'm not sure wether allowing systemimmutable as is dangerous and not
easily reversible, but does have an use for first
time setup of kiosk environments

Diff Detail

R120 Plasma Workspace
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.
mart created this revision.Mar 10 2017, 6:11 PM
Restricted Application added a project: Plasma. · View Herald TranscriptMar 10 2017, 6:11 PM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
davidedmundson accepted this revision.Mar 20 2017, 11:47 AM
davidedmundson added a subscriber: davidedmundson.

fix it then ship it


compare against QLatin1String()

This revision is now accepted and ready to land.Mar 20 2017, 11:47 AM
This revision was automatically updated to reflect the committed changes.