Akonadi
cachepolicypage.cpp
164 if (d->mUi->retrieveFullMessages->isChecked() && !localParts.contains(QLatin1StringView("RFC822"))) {
166 } else if (!d->mUi->retrieveFullMessages->isChecked() && localParts.contains(QLatin1StringView("RFC822"))) {
bool canHandle(const Collection &collection) const override
Checks if the cache policy page can actually handle the given collection.
Definition cachepolicypage.cpp:96
CachePolicyPage(QWidget *parent, GuiMode mode=UserMode)
Creates a new cache policy page.
Definition cachepolicypage.cpp:65
void load(const Collection &collection) override
Loads the page content from the given collection.
Definition cachepolicypage.cpp:101
void save(Collection &collection) override
Saves page content to the given collection.
Definition cachepolicypage.cpp:139
~CachePolicyPage() override
Destroys the cache policy page.
void setLocalParts(const QStringList &parts)
Specifies the parts to permanently cache locally.
Definition cachepolicy.cpp:70
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
void setPageTitle(const QString &title)
Sets the page title.
Definition collectionpropertiespage.cpp:43
CollectionPropertiesPage(QWidget *parent=nullptr)
Creates a new collection properties page.
Definition collectionpropertiespage.cpp:24
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)
QObject * parent() const const
void setObjectName(QAnyStringView name)
void valueChanged(int i)
bool contains(QLatin1StringView str, Qt::CaseSensitivity cs) const const
QWidget(QWidget *parent, Qt::WindowFlags f)
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Mar 28 2025 11:53:22 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Mar 28 2025 11:53:22 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.