• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdepimlibs 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:
Inheritance graph
[legend]

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 69 of file cachepolicypage.cpp.

CachePolicyPage::~CachePolicyPage ( )

Destroys the cache policy page.

Definition at line 88 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 93 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 98 of file cachepolicypage.cpp.

void CachePolicyPage::save ( Collection &  collection)
virtual

Saves page content to the given collection.

Implements Akonadi::CollectionPropertiesPage.

Definition at line 127 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-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:00:28 by doxygen 1.8.7 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 API Reference

Skip menu "kdepimlibs API Reference"
  • akonadi
  •   contact
  •   kmime
  •   socialutils
  • kabc
  • kalarmcal
  • kblog
  • kcal
  • kcalcore
  • kcalutils
  • kholidays
  • kimap
  • kldap
  • kmbox
  • kmime
  • kpimidentities
  • kpimtextedit
  • kresources
  • ktnef
  • kxmlrpcclient
  • microblog

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