mailcommon
expirecollectionattribute.cpp
Go to the documentation of this file.
ExpireUnits readExpireUnits() const
Units getReadExpireAge() is returned in.
Definition: expirecollectionattribute.cpp:154
ExpireCollectionAttribute()
Definition: expirecollectionattribute.cpp:27
int readExpireAge() const
Returns the age at which read messages are expired.
Definition: expirecollectionattribute.cpp:117
static ExpireCollectionAttribute * expirationCollectionAttribute(const Akonadi::Collection &collection, bool &mustDeleteExpirationAttribute)
Definition: expirecollectionattribute.cpp:182
void setUnreadExpireUnits(ExpireUnits units)
Sets the units to use for expiry of unread messages.
Definition: expirecollectionattribute.cpp:103
ExpireUnits unreadExpireUnits() const
Units getUnreadExpireAge() is returned in.
Definition: expirecollectionattribute.cpp:149
void setReadExpireUnits(ExpireUnits units)
Sets the units to use for expiry of read messages.
Definition: expirecollectionattribute.cpp:122
void loadFromConfig(const Akonadi::Collection &collection)
Definition: expirecollectionattribute.cpp:56
void setAutoExpire(bool enabled)
Sets whether this folder automatically expires messages.
Definition: expirecollectionattribute.cpp:81
Attribute * clone() const
Definition: expirecollectionattribute.cpp:43
static int daysToExpire(int number, ExpireCollectionAttribute::ExpireUnits units)
Definition: expirecollectionattribute.cpp:159
ExpireAction
Definition: expirecollectionattribute.h:47
ExpireAction expireAction() const
What should expiry do? Delete or move to another folder?
Definition: expirecollectionattribute.cpp:134
bool isAutoExpire() const
Returns true if this folder automatically expires old messages.
Definition: expirecollectionattribute.cpp:86
QByteArray type() const
Definition: expirecollectionattribute.cpp:38
QByteArray serialized() const
Definition: expirecollectionattribute.cpp:197
static QString configGroupName(const Akonadi::Collection &col)
Definition: foldercollection.cpp:174
int unreadExpireAge() const
Returns the age at which unread messages are expired.
Definition: expirecollectionattribute.cpp:98
ExpireUnits
Definition: expirecollectionattribute.h:39
void setReadExpireAge(int age)
Sets the maximum age for read messages in this folder.
Definition: expirecollectionattribute.cpp:110
Akonadi::Collection::Id expireToFolderId() const
If expiry should move to folder, return the ID of that folder.
Definition: expirecollectionattribute.cpp:144
void setExpireToFolderId(Akonadi::Collection::Id id)
Definition: expirecollectionattribute.cpp:139
void setExpireAction(ExpireAction a)
Definition: expirecollectionattribute.cpp:129
void deserialize(const QByteArray &data)
Definition: expirecollectionattribute.cpp:213
void setUnreadExpireAge(int age)
Sets the maximum age for unread messages in this folder.
Definition: expirecollectionattribute.cpp:91
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:55:14 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 22:55:14 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.