Akonadi
cachepolicypage.cpp
156 if (d->mUi->retrieveFullMessages->isChecked() && !localParts.contains(QLatin1StringView("RFC822"))) {
158 } else if (!d->mUi->retrieveFullMessages->isChecked() && localParts.contains(QLatin1StringView("RFC822"))) {
A page in a collection properties dialog to configure the cache policy.
Definition cachepolicypage.h:32
bool canHandle(const Collection &collection) const override
Checks if the cache policy page can actually handle the given collection.
Definition cachepolicypage.cpp:95
CachePolicyPage(QWidget *parent, GuiMode mode=UserMode)
Creates a new cache policy page.
Definition cachepolicypage.cpp:64
void load(const Collection &collection) override
Loads the page content from the given collection.
Definition cachepolicypage.cpp:100
void save(Collection &collection) override
Saves page content to the given collection.
Definition cachepolicypage.cpp:131
~CachePolicyPage() override
Destroys the cache policy page.
int cacheTimeout() const
Returns the cache timeout for non-permanently cached parts in minutes; -1 means indefinitely.
Definition cachepolicy.cpp:75
bool inheritFromParent() const
Returns whether it inherits cache policy from the parent collection.
Definition cachepolicy.cpp:55
int intervalCheckTime() const
Returns the interval check time in minutes, -1 for never.
Definition cachepolicy.cpp:85
void setLocalParts(const QStringList &parts)
Specifies the parts to permanently cache locally.
Definition cachepolicy.cpp:70
QStringList localParts() const
Returns the parts to permanently cache locally.
Definition cachepolicy.cpp:65
bool syncOnDemand() const
Returns whether the collection will be synced automatically when necessary, i.e.
Definition cachepolicy.cpp:95
void setCacheTimeout(int timeout)
Sets cache timeout for non-permanently cached parts.
Definition cachepolicy.cpp:80
void setInheritFromParent(bool inherit)
Sets whether the cache policy should be inherited from the parent collection.
Definition cachepolicy.cpp:60
void setSyncOnDemand(bool enable)
Sets whether the collection shall be synced automatically when necessary, i.e.
Definition cachepolicy.cpp:100
A single page in a collection properties dialog.
Definition collectionpropertiespage.h:89
void setPageTitle(const QString &title)
Sets the page title.
Definition collectionpropertiespage.cpp:43
CachePolicy cachePolicy() const
Returns the cache policy of the collection.
Definition collection.cpp:336
void setCachePolicy(const CachePolicy &policy)
Sets the cache policy of the collection.
Definition collection.cpp:341
QString i18np(const char *singular, const char *plural, const TYPE &arg...)
QString i18n(const char *text, const TYPE &arg...)
Helper integration between Akonadi and Qt.
void toggled(bool checked)
void append(QList< T > &&value)
qsizetype removeAll(const AT &t)
QMetaObject::Connection connect(const QObject *sender, PointerToMemberFunction signal, Functor functor)
void setObjectName(QAnyStringView name)
void valueChanged(int i)
bool contains(QLatin1StringView str, Qt::CaseSensitivity cs) const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 4 2024 16:31:59 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 4 2024 16:31:59 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.