Default for look and feel of applets, take 2

Review Request #125562 - Created Oct. 8, 2015 and submitted

Information
Marco Martin
plasma-workspace
125569
Reviewers
plasma
hein

(draft) mutually exclusive with https://git.reviewboard.kde.org/r/125558/
a bit more flexible
different approach: execute a script from the look and feel package when an applet is added, adding to the script environment "applet" that wraps the currently added applet and "containment" that wraps its containment.
from there the javascript part can do anything it can do in the startup script as well.
Still missing, something similar will have to be executed when a new containment is added as well.


  

Issues

  • 3
  • 0
  • 1
  • 4
Description From Last Updated
If this is like an qmlengine, making an scriptengine is going to be heavy, can we reshuffle this code to ... David Edmundson David Edmundson
this is going to happen every time a containment is restored as well as actually created? David Edmundson David Edmundson
connect(c, &Thing, this,c{}); should be connect(c, &Thing, this, this,c{}); otherwise if ShellCorona gets deleted we end up still with our ... David Edmundson David Edmundson
David Edmundson
Marco Martin
Marco Martin
David Edmundson
Marco Martin
Marco Martin
David Edmundson
David Edmundson
Marco Martin
David Edmundson
Marco Martin
Review request changed

Status: Closed (submitted)

Change Summary:

Submitted with commit d89be8e25be711919233cc1e873436df32a8276c by Marco Martin to branch master.
Loading...