Plasma/libplasma2/lazydataengineevaluation

From KDE Community Wiki

Discussion

The problem with the current DE implementation (QVariants) is that data is kept in memory even if the user didn't request it. (for example, some engine could keep a pixmap ready for a data item, although the applet only wants the title.

http://mail.kde.org/pipermail/plasma-devel/2010-October

Proposed Solution

Restructure DEs not to use QVariants while retaining the same scripting api. Add the lazy evaluation of items - by using proxy classes, functions instead of /real/ values.