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