00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #ifndef AKONADI_COLLECTIONPROPERTIESDIALOG_H
00021 #define AKONADI_COLLECTIONPROPERTIESDIALOG_H
00022
00023 #include "akonadi_export.h"
00024
00025 #include <akonadi/collectionpropertiespage.h>
00026
00027 #include <kdialog.h>
00028
00029 namespace Akonadi {
00030
00031 class Collection;
00032
00054 class AKONADI_EXPORT CollectionPropertiesDialog : public KDialog
00055 {
00056 Q_OBJECT
00057 public:
00064 explicit CollectionPropertiesDialog( const Collection &collection, QWidget *parent = 0 );
00065
00072 ~CollectionPropertiesDialog();
00073
00081 static void registerPage( CollectionPropertiesPageFactory *factory );
00082
00088 static void useDefaultPage( bool use );
00089
00090 private:
00091
00092 class Private;
00093 Private* const d;
00094
00095 Q_PRIVATE_SLOT( d, void save() )
00096 Q_PRIVATE_SLOT( d, void saveResult( KJob* ) )
00097
00098 };
00099
00100 }
00101
00102 #endif