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:118
void setSyncOnDemand(bool enable)
Sets whether the collection shall be synced automatically when necessary, i.e.
Definition: cachepolicy.cpp:133
bool inheritFromParent() const
Returns whether it inherits cache policy from the parent collection.
Definition: cachepolicy.cpp:88
void setCacheTimeout(int timeout)
Sets cache timeout for non-permanently cached parts.
Definition: cachepolicy.cpp:113
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:94
void setPageTitle(const QString &title)
Sets the page title.
void save(Collection &collection)
Saves page content to the given collection.
Definition: cachepolicypage.cpp:128
int cacheTimeout() const
Returns the cache timeout for non-permanently cached parts in minutes; -1 means indefinitely.
Definition: cachepolicy.cpp:108
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:103
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:98
CachePolicyPage(QWidget *parent, GuiMode mode=UserMode)
Creates a new cache policy page.
Definition: cachepolicypage.cpp:70
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:93
void load(const Collection &collection)
Loads the page content from the given collection.
Definition: cachepolicypage.cpp:99
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:128
This file is part of the KDE documentation.
Documentation copyright © 1996-2013 The KDE developers.
Generated on Tue Nov 26 2013 09:03:15 by doxygen 1.8.5 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2013 The KDE developers.
Generated on Tue Nov 26 2013 09:03:15 by doxygen 1.8.5 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.