• Skip to content
  • Skip to link menu
KDE 4.2 API Reference
  • KDE API Reference
  • kdenetwork
  • Sitemap
  • Contact Us
 

kopete/kopete

kabcexport.h

Go to the documentation of this file.
00001 /*
00002     kabcexport.h - Export Contacts to Address Book Wizard for Kopete
00003 
00004     Copyright (c) 2005 by Will Stephenson        <will@stevello.free-online.co.uk>
00005 
00006     Kopete    (c) 2002-2005 by the Kopete developers  <kopete-devel@kde.org>
00007 
00008     *************************************************************************
00009     *                                                                       *
00010     * This program is free software; you can redistribute it and/or modify  *
00011     * it under the terms of the GNU General Public License as published by  *
00012     * the Free Software Foundation; either version 2 of the License, or     *
00013     * (at your option) any later version.                                   *
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

kopete/kopete

Skip menu "kopete/kopete"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

kdenetwork

Skip menu "kdenetwork"
  • kget
  • kopete
  •   kopete
  •   libkopete
  •       libpapillon
  • krfb
Generated for kdenetwork by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal