Plasma/libplasma2/asyncstructureinstallpackage

Jump to: navigation, search

Discussion

Package::installPackage is current synchronous, which prevents running it in another thread, doing user interaction (e.g. to confirm other dependencies to download) or taking additional actions such as downloads.

Proposed Solution

Make Package::installPackage async and return a KJob* that represents the install process.


This page was last modified on 22 September 2012, at 14:20. This page has been accessed 279 times. Content is available under Creative Commons License SA 3.0 as well as the GNU Free Documentation License 1.2.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V.Legal