Review Request: This patch adds the Storage class for Plasma::DataEngine caching. This current implementation caches to disk. Soon, it will be akonadi.

Brian Pritchett batenkaitos at gmail.com
Thu Jul 8 18:47:24 CEST 2010


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://reviewboard.kde.org/r/4548/
-----------------------------------------------------------

Review request for Plasma.


Summary
-------

DataEngines can mark or unmark their sources to be cached with void DataEngine::setEnableCache(const QString &source, bool cache). If the DataEngine has implemented their own source by inheriting DataContainer, then DataContainer::setEnableCache(bool cache) will work.


Diffs
-----

  /trunk/KDE/kdelibs/plasma/CMakeLists.txt 1147556 
  /trunk/KDE/kdelibs/plasma/data/operations/storage.operations PRE-CREATION 
  /trunk/KDE/kdelibs/plasma/datacontainer.h 1147556 
  /trunk/KDE/kdelibs/plasma/datacontainer.cpp 1147556 
  /trunk/KDE/kdelibs/plasma/dataengine.h 1147556 
  /trunk/KDE/kdelibs/plasma/dataengine.cpp 1147556 
  /trunk/KDE/kdelibs/plasma/private/dataengine_p.h 1147556 
  /trunk/KDE/kdelibs/plasma/private/storage.h PRE-CREATION 
  /trunk/KDE/kdelibs/plasma/private/storage.cpp PRE-CREATION 

Diff: http://reviewboard.kde.org/r/4548/diff


Testing
-------

I have tested it with the microblogging dataengine/plasmoid.


Thanks,

Brian

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/plasma-devel/attachments/20100708/b4bb30bf/attachment.htm 


More information about the Plasma-devel mailing list