kopete/kopete
kabcexport.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018 #ifndef KABCEXPORTWIZARD_H
00019 #define KABCEXPORTWIZARD_H
00020
00021 #include <kassistantdialog.h>
00022
00023 #include "ui_kabcexport_page1.h"
00024 #include "ui_kabcexport_page2.h"
00025
00026
00027 namespace KABC {
00028 class AddressBook;
00029 class Addressee;
00030 }
00031
00032 namespace Kopete {
00033 class MetaContact;
00034 }
00035
00036 namespace KRES {
00037 class Resource;
00038 }
00039
00040 class KabcExportWizard : public KAssistantDialog
00041 {
00042 Q_OBJECT
00043 public:
00044 KabcExportWizard( QWidget *parent = 0 );
00045 ~KabcExportWizard();
00046 public slots:
00047 void accept();
00048 protected slots:
00049 void slotDeselectAll();
00050 void slotSelectAll();
00051 void slotResourceSelectionChanged( QListWidgetItem * lbi );
00052 protected:
00053 void exportDetails( Kopete::MetaContact * mc, KABC::Addressee & addr );
00054 private:
00055 KABC::AddressBook* m_addressBook;
00056 QMap<int, KABC::Resource*> m_resourceMap;
00057 QMap<int, Kopete::MetaContact*> m_contactMap;
00058 Ui::KabcExportWizardPage1 m_page1;
00059 KPageWidgetItem *m_page1WidgetItem;
00060 Ui::KabcExportWizardPage2 m_page2;
00061 KPageWidgetItem *m_page2WidgetItem;
00062 };
00063
00064 #endif