Handle the cache policy better, don't override it in every collection,
author Kevin Ottens
()
committer Kevin Ottens
()
commit 694ddd91c66c28f73f2fcf83d0ced27223615650
tree 711b4055f9638e06542c3dfbc4f8a9e917be5203
parent 9c9f3053fa0227733fa2e8713a05a78ae908f6a6
Handle the cache policy better, don't override it in every collection,
only set it on the root.

Allow the user to enable a disconnected mode (everything is cached all
the time), if not enabled we only retrieve headers on listing and mail
content one by one when accessed (cached locally only for one hour).

Also allow the user to set the interval check time.


svn path=/trunk/KDE/kdepim/akonadi/; revision=1034782
resources/imap/imapresource.cpp
resources/imap/imapresource.kcfg
resources/imap/setupserver.cpp
resources/imap/setupserverview.ui