00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #ifndef AKONADI_CACHEPOLICYPAGE_P_H
00021 #define AKONADI_CACHEPOLICYPAGE_P_H
00022
00023 #include <akonadi/collectionpropertiespage.h>
00024
00025 #include "ui_cachepolicypage.h"
00026
00027 namespace Akonadi {
00028
00029
00030
00036 class CachePolicyPage : public CollectionPropertiesPage
00037 {
00038 Q_OBJECT
00039 public:
00040 explicit CachePolicyPage( QWidget * parent );
00041
00042 bool canHandle( const Collection &collection ) const;
00043 void load( const Collection &collection );
00044 void save( Collection &collection );
00045
00046 private:
00047 Ui::CachePolicyPage ui;
00048
00049 private slots:
00050 void slotIntervalValueChanged( int );
00051 void slotCacheValueChanged( int );
00052 };
00053
00054 AKONADI_COLLECTION_PROPERTIES_PAGE_FACTORY(CachePolicyPageFactory, CachePolicyPage)
00055
00056
00057
00058 }
00059
00060 #endif