vcard_xxport.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
#ifndef VCARD_XXPORT_H
00025
#define VCARD_XXPORT_H
00026
00027
#include <xxport.h>
00028
00029
class VCardXXPort :
public KAB::XXPort
00030 {
00031 Q_OBJECT
00032
00033
public:
00034 VCardXXPort( KABC::AddressBook *ab,
QWidget *parent,
const char *name = 0 );
00035
00036
QString identifier()
const {
return "vcard"; }
00037
00038
public slots:
00039
bool exportContacts(
const KABC::AddresseeList &list,
const QString &data );
00040 KABC::AddresseeList importContacts(
const QString &data )
const;
00041
00042
private:
00043 KABC::AddresseeList parseVCard(
const QString &data )
const;
00044
bool doExport(
const KURL &url,
const QString &data );
00045
void addKey( KABC::Addressee &addr, KABC::Key::Types type );
00046
00047 KABC::AddresseeList filterContacts(
const KABC::AddresseeList& );
00048 };
00049
00050
#endif
This file is part of the documentation for kaddressbook Library Version 3.3.0.