• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdepim API Reference
  • KDE Home
  • Contact Us
 

knode

  • KNode
  • Cleanup
Public Member Functions | Protected Attributes | List of all members
KNode::Cleanup Class Reference

#include <knconfig.h>

Inheritance diagram for KNode::Cleanup:
Inheritance graph
[legend]

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

KNode::Cleanup::Cleanup ( bool  global = true)
explicit

Definition at line 217 of file knconfig.cpp.

KNode::Cleanup::~Cleanup ( )
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.

bool KNode::Cleanup::isGlobal ( ) const
inline

Definition at line 150 of file knconfig.h.

void KNode::Cleanup::loadConfig ( const KConfigGroup &  conf)

Definition at line 229 of file knconfig.cpp.

int KNode::Cleanup::maxAgeForRead ( ) const
inline

Definition at line 146 of file knconfig.h.

int KNode::Cleanup::maxAgeForUnread ( ) const
inline

Definition at line 147 of file knconfig.h.

bool KNode::Cleanup::preserveThreads ( ) const
inline

Definition at line 149 of file knconfig.h.

bool KNode::Cleanup::removeUnavailable ( ) const
inline

Definition at line 148 of file knconfig.h.

void KNode::Cleanup::save ( )
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.

void KNode::Cleanup::setUseDefault ( bool  def)
inline

Definition at line 155 of file knconfig.h.

bool KNode::Cleanup::useDefault ( ) const
inline

Definition at line 151 of file knconfig.h.

Member Data Documentation

int KNode::Cleanup::c_ompactInterval
protected

Definition at line 167 of file knconfig.h.

bool KNode::Cleanup::d_oCompact
protected

Definition at line 163 of file knconfig.h.

bool KNode::Cleanup::d_oExpire
protected

Definition at line 163 of file knconfig.h.

int KNode::Cleanup::e_xpireInterval
protected

Definition at line 167 of file knconfig.h.

bool KNode::Cleanup::p_reserveThr
protected

Definition at line 163 of file knconfig.h.

int KNode::Cleanup::r_eadMaxAge
protected

Definition at line 167 of file knconfig.h.

bool KNode::Cleanup::r_emoveUnavailable
protected

Definition at line 163 of file knconfig.h.

int KNode::Cleanup::u_nreadMaxAge
protected

Definition at line 167 of file knconfig.h.


The documentation for this class was generated from the following files:
  • knconfig.h
  • knconfig.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:58:37 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

knode

Skip menu "knode"
  • Main Page
  • Namespace List
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdepim API Reference

Skip menu "kdepim API Reference"
  • akonadi_next
  • akregator
  • blogilo
  • calendarsupport
  • console
  •   kabcclient
  •   konsolekalendar
  • kaddressbook
  • kalarm
  •   lib
  • kdgantt2
  • kjots
  • kleopatra
  • kmail
  • knode
  • knotes
  • kontact
  • korgac
  • korganizer
  • ktimetracker
  • libkdepim
  • libkleo
  • libkpgp
  • mailcommon
  • messagelist
  • messageviewer

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal