00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022 #ifndef AKONADI_CONTACTVIEWERDIALOG_H
00023 #define AKONADI_CONTACTVIEWERDIALOG_H
00024
00025 #include "akonadi-contact_export.h"
00026
00027 #include <kdialog.h>
00028
00029 class QUrl;
00030
00031 namespace KABC {
00032 class Address;
00033 class PhoneNumber;
00034 }
00035
00036 namespace Akonadi {
00037
00038 class Item;
00039
00040 class ContactViewer;
00041
00065 class AKONADI_CONTACT_EXPORT ContactViewerDialog : public KDialog
00066 {
00067 Q_OBJECT
00068
00069 public:
00075 explicit ContactViewerDialog( QWidget *parent = 0 );
00076
00080 ~ContactViewerDialog();
00081
00085 Akonadi::Item contact() const;
00086
00090 ContactViewer *viewer() const;
00091
00092 public Q_SLOTS:
00096 void setContact( const Akonadi::Item &contact );
00097
00098 private:
00099
00100 class Private;
00101 Private* const d;
00102
00103 };
00104
00105 }
00106
00107 #endif