knode
#include <knconfig.h>
Public Member Functions | |
Cleanup (bool global=true) | |
~Cleanup () | |
bool | compactToday () |
bool | expireToday () |
bool | isGlobal () const |
void | loadConfig (const KConfigGroup &conf) |
int | maxAgeForRead () const |
int | maxAgeForUnread () const |
bool | preserveThreads () const |
bool | removeUnavailable () const |
void | save () |
void | saveConfig (KConfigGroup &conf) |
void | setLastCompactDate () |
void | setLastExpireDate () |
void | setUseDefault (bool def) |
bool | useDefault () const |
Public Member Functions inherited from KNode::ConfigBase | |
ConfigBase () | |
virtual | ~ConfigBase () |
bool | dirty () const |
void | setDirty (bool b) |
Protected Attributes | |
int | c_ompactInterval |
bool | d_oCompact |
bool | d_oExpire |
int | e_xpireInterval |
bool | p_reserveThr |
int | r_eadMaxAge |
bool | r_emoveUnavailable |
int | u_nreadMaxAge |
Protected Attributes inherited from KNode::ConfigBase | |
bool | d_irty |
Detailed Description
Expirery/cleaup settings (globally or per account/group/folder).
Definition at line 132 of file knconfig.h.
Constructor & Destructor Documentation
|
explicit |
Definition at line 217 of file knconfig.cpp.
|
inline |
Definition at line 139 of file knconfig.h.
Member Function Documentation
bool KNode::Cleanup::compactToday | ( | ) |
Definition at line 306 of file knconfig.cpp.
bool KNode::Cleanup::expireToday | ( | ) |
Definition at line 287 of file knconfig.cpp.
|
inline |
Definition at line 150 of file knconfig.h.
void KNode::Cleanup::loadConfig | ( | const KConfigGroup & | conf | ) |
Definition at line 229 of file knconfig.cpp.
|
inline |
Definition at line 146 of file knconfig.h.
|
inline |
Definition at line 147 of file knconfig.h.
|
inline |
Definition at line 149 of file knconfig.h.
|
inline |
Definition at line 148 of file knconfig.h.
|
virtual |
Reimplemented from KNode::ConfigBase.
Definition at line 277 of file knconfig.cpp.
void KNode::Cleanup::saveConfig | ( | KConfigGroup & | conf | ) |
Definition at line 252 of file knconfig.cpp.
void KNode::Cleanup::setLastCompactDate | ( | ) |
Definition at line 319 of file knconfig.cpp.
void KNode::Cleanup::setLastExpireDate | ( | ) |
Definition at line 300 of file knconfig.cpp.
|
inline |
Definition at line 155 of file knconfig.h.
|
inline |
Definition at line 151 of file knconfig.h.
Member Data Documentation
|
protected |
Definition at line 167 of file knconfig.h.
|
protected |
Definition at line 163 of file knconfig.h.
|
protected |
Definition at line 163 of file knconfig.h.
|
protected |
Definition at line 167 of file knconfig.h.
|
protected |
Definition at line 163 of file knconfig.h.
|
protected |
Definition at line 167 of file knconfig.h.
|
protected |
Definition at line 163 of file knconfig.h.
|
protected |
Definition at line 167 of file knconfig.h.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:34:19 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.