add functions for locking/unlocking the corona
ClosedPublic

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

Details

Summary

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

Repository
R120 Plasma Workspace
Branch
phab/immutablescripting
Lint
No Linters Available
Unit
No Unit Test Coverage
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

shell/scripting/scriptengine_v1.cpp
934

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.