• Skip to content
  • Skip to link menu
  • KDE API Reference
  • kdepimlibs-4.10.5 API Reference
  • KDE Home
  • Contact Us
 

akonadi

  • Akonadi
  • CachePolicyPage
Public Types | Public Member Functions | List of all members
Akonadi::CachePolicyPage Class Reference

#include <cachepolicypage.h>

Inheritance diagram for Akonadi::CachePolicyPage:
Akonadi::CollectionPropertiesPage

Public Types

enum  GuiMode { UserMode, AdvancedMode }
 

Public Member Functions

 CachePolicyPage (QWidget *parent, GuiMode mode=UserMode)
 
 ~CachePolicyPage ()
 
bool canHandle (const Collection &collection) const
 
void load (const Collection &collection)
 
void save (Collection &collection)
 
- Public Member Functions inherited from Akonadi::CollectionPropertiesPage
 CollectionPropertiesPage (QWidget *parent=0)
 
 ~CollectionPropertiesPage ()
 
QString pageTitle () const
 
void setPageTitle (const QString &title)
 

Detailed Description

A page in a collection properties dialog to configure the cache policy.

This page allows the user to fine tune the cache policy of a collection in the Akonadi storage. It provides two modes, a UserMode and an AdvancedMode. While the former should be used in end-user applications, the latter can be used in debugging tools.

See Also
Akonadi::CollectionPropertiesDialog, Akonadi::CollectionPropertiesPageFactory
Author
Till Adam adam@.nosp@m.kde..nosp@m.org
Since
4.6

Definition at line 42 of file cachepolicypage.h.

Member Enumeration Documentation

enum Akonadi::CachePolicyPage::GuiMode

Describes the mode of the cache policy page.

Enumerator
UserMode 

A simplified UI for end-users will be provided.

AdvancedMode 

An advanced UI for debugging will be provided.

Definition at line 50 of file cachepolicypage.h.

Constructor & Destructor Documentation

CachePolicyPage::CachePolicyPage ( QWidget *  parent,
GuiMode  mode = UserMode 
)
explicit

Creates a new cache policy page.

Parameters
parentThe parent widget.
modeThe UI mode that will be used for the page.

Definition at line 70 of file cachepolicypage.cpp.

CachePolicyPage::~CachePolicyPage ( )

Destroys the cache policy page.

Definition at line 89 of file cachepolicypage.cpp.

Member Function Documentation

bool Akonadi::CachePolicyPage::canHandle ( const Collection &  collection) const
virtual

Checks if the cache policy page can actually handle the given collection.

Reimplemented from Akonadi::CollectionPropertiesPage.

Definition at line 94 of file cachepolicypage.cpp.

void CachePolicyPage::load ( const Collection &  collection)
virtual

Loads the page content from the given collection.

Implements Akonadi::CollectionPropertiesPage.

Definition at line 99 of file cachepolicypage.cpp.

void CachePolicyPage::save ( Collection &  collection)
virtual

Saves page content to the given collection.

Implements Akonadi::CollectionPropertiesPage.

Definition at line 128 of file cachepolicypage.cpp.


The documentation for this class was generated from the following files:
  • cachepolicypage.h
  • cachepolicypage.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2013 The KDE developers.
Generated on Sat Jul 13 2013 01:27:46 by doxygen 1.8.3.1 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

akonadi

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

kdepimlibs-4.10.5 API Reference

Skip menu "kdepimlibs-4.10.5 API Reference"
  • akonadi
  •   contact
  •   kmime
  •   socialutils
  • kabc
  • kalarmcal
  • kblog
  • kcal
  • kcalcore
  • kcalutils
  • kholidays
  • kimap
  • kioslave
  •   imap4
  •   mbox
  •   nntp
  • kldap
  • kmbox
  • kmime
  • kontactinterface
  • kpimidentities
  • kpimtextedit
  • kpimutils
  • kresources
  • ktnef
  • kxmlrpcclient
  • mailtransport
  • microblog
  • qgpgme
  • syndication
  •   atom
  •   rdf
  •   rss2
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