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) |
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.
- 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
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 69 of file cachepolicypage.cpp.
CachePolicyPage::~CachePolicyPage | ( | ) |
Destroys the cache policy page.
Definition at line 88 of file cachepolicypage.cpp.
Member Function Documentation
|
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.
|
virtual |
Loads the page content from the given collection
.
Implements Akonadi::CollectionPropertiesPage.
Definition at line 98 of file cachepolicypage.cpp.
|
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:
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.