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