akonadi
#include <cachepolicypage.h>

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) |
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.
- Since:
- 4.6
Definition at line 42 of file cachepolicypage.h.
Member Enumeration Documentation
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:
-
parent The parent widget. mode The UI mode that will be used for the page.
Definition at line 70 of file cachepolicypage.cpp.
Destroys the cache policy page.
Definition at line 89 of file cachepolicypage.cpp.
Member Function Documentation
bool Akonadi::CachePolicyPage::canHandle | ( | const Collection & | collection | ) | const |
Checks if the cache policy page can actually handle the given collection
.
Definition at line 94 of file cachepolicypage.cpp.
void CachePolicyPage::load | ( | const Collection & | collection | ) |
Loads the page content from the given collection
.
Definition at line 99 of file cachepolicypage.cpp.
void CachePolicyPage::save | ( | Collection & | collection | ) |
Saves page content to the given collection
.
Definition at line 124 of file cachepolicypage.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2012 The KDE developers.
Generated on Tue May 8 2012 00:00:53 by doxygen 1.8.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.