Review Request 121057: Refactor JobDelegate

Kai Uwe Broulik kde at privat.broulik.de
Fri Nov 7 21:11:18 UTC 2014


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

Review request for Plasma and Martin Klapetek.


Repository: plasma-workspace


Description
-------

This patch basically turns the entire code upside down :)

- All of this ugly conditional anchoring has been replaced by layouts where applicable
- the details have been outsourced into a separate file which is loaded conditionally and should improve performance because all those bindings (processed amount changed, speed changed, etc) are not evaluated if the thing isn't expanded
- reduces code duplication by using fancy Repeaters
- removes commented code


Diffs
-----

  applets/notifications/package/contents/ui/JobDelegate.qml 14bdd63 
  applets/notifications/package/contents/ui/JobDetailsItem.qml PRE-CREATION 
  applets/notifications/package/contents/ui/Jobs.qml 6e457e3 

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


Testing
-------

Should look the same, copied a bunch of large folders (we really need a test application that mimics a file copy job...)


Thanks,

Kai Uwe Broulik

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


More information about the Plasma-devel mailing list