24 #ifndef VCARD_XXPORT_H
25 #define VCARD_XXPORT_H
28 #include <tdeabc/vcardparser.h>
30 class VCardXXPort : public KAB::XXPort
36 VCardXXPort( TDEABC::AddressBook *ab, TQWidget *parent, const char *name = 0 );
38 TQString identifier() const { return "vcard"; }
41 bool exportContacts( const TDEABC::AddresseeList &list, const TQString &data );
42 TDEABC::AddresseeList importContacts( const TQString &data ) const;
45 #if defined(KABC_VCARD_ENCODING_FIX)
46 TDEABC::AddresseeList parseVCard( const TQByteArray &data ) const;
47 bool doExport( const KURL &url, const TQByteArray &data );
49 TDEABC::AddresseeList parseVCard( const TQString &data ) const;
50 bool doExport( const KURL &url, const TQString &data );
52 void addKey( TDEABC::Addressee &addr, TDEABC::Key::Types type );
54 TDEABC::AddresseeList filterContacts( const TDEABC::AddresseeList& );
|