akonadi/contact
contacteditorwidget.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022 #ifndef CONTACTEDITOR_H
00023 #define CONTACTEDITOR_H
00024
00025 #include "abstractcontacteditorwidget_p.h"
00026
00027 namespace KABC
00028 {
00029 class Addressee;
00030 }
00031
00037 class ContactEditorWidget : public Akonadi::AbstractContactEditorWidget
00038 {
00039 public:
00045 ContactEditorWidget( QWidget *parent = 0 );
00046
00050 ~ContactEditorWidget();
00051
00056 void loadContact( const KABC::Addressee &contact, const Akonadi::ContactMetaData& );
00057
00062 void storeContact( KABC::Addressee &contact, Akonadi::ContactMetaData& ) const;
00063
00068 void setReadOnly( bool readOnly );
00069
00070 private:
00071 class Private;
00072 Private* const d;
00073 };
00074
00075 #endif