akonadi
cachepolicypage.cpp
57 mUi->localCacheTimeout->setSuffix( QLatin1Char( ' ' ) + i18np( "minute", "minutes", interval ) );
An advanced UI for debugging will be provided.
Definition: cachepolicypage.h:52
int intervalCheckTime() const
Returns the interval check time in minutes, -1 for never.
Definition: cachepolicy.cpp:117
void setSyncOnDemand(bool enable)
Sets whether the collection shall be synced automatically when necessary, i.e.
Definition: cachepolicy.cpp:132
bool inheritFromParent() const
Returns whether it inherits cache policy from the parent collection.
Definition: cachepolicy.cpp:87
void setCacheTimeout(int timeout)
Sets cache timeout for non-permanently cached parts.
Definition: cachepolicy.cpp:112
A single page in a collection properties dialog.
Definition: collectionpropertiespage.h:99
bool canHandle(const Collection &collection) const
Checks if the cache policy page can actually handle the given collection.
Definition: cachepolicypage.cpp:93
void setPageTitle(const QString &title)
Sets the page title.
void save(Collection &collection)
Saves page content to the given collection.
Definition: cachepolicypage.cpp:127
int cacheTimeout() const
Returns the cache timeout for non-permanently cached parts in minutes; -1 means indefinitely.
Definition: cachepolicy.cpp:107
void setCachePolicy(const CachePolicy &policy)
Sets the cache policy of the collection.
Definition: collection.cpp:254
void setLocalParts(const QStringList &parts)
Specifies the parts to permanently cache locally.
Definition: cachepolicy.cpp:102
CachePolicy cachePolicy() const
Returns the cache policy of the collection.
Definition: collection.cpp:249
QStringList localParts() const
Returns the parts to permanently cache locally.
Definition: cachepolicy.cpp:97
CachePolicyPage(QWidget *parent, GuiMode mode=UserMode)
Creates a new cache policy page.
Definition: cachepolicypage.cpp:69
A page in a collection properties dialog to configure the cache policy.
Definition: cachepolicypage.h:42
void setInheritFromParent(bool inherit)
Sets whether the cache policy should be inherited from the parent collection.
Definition: cachepolicy.cpp:92
void load(const Collection &collection)
Loads the page content from the given collection.
Definition: cachepolicypage.cpp:98
bool isVirtual() const
Returns whether the collection is virtual, for example a search collection.
Definition: collection.cpp:261
bool syncOnDemand() const
Returns whether the collection will be synced automatically when necessary, i.e.
Definition: cachepolicy.cpp:127
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:00:26 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:00:26 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.