kaddressbook
addresseeutil.h00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024 #ifndef ADDRESSEEUTIL_H
00025 #define ADDRESSEEUTIL_H
00026
00027 #include <tqstring.h>
00028 #include <tdeabc/addressee.h>
00029 #include <tdeabc/vcardparser.h>
00030
00041 class AddresseeUtil
00042 {
00043 public:
00048 #if defined(KABC_VCARD_ENCODING_FIX)
00049 static TQByteArray addresseesToClipboard( const TDEABC::Addressee::List &addrList );
00050 #else
00051 static TQString addresseesToClipboard( const TDEABC::Addressee::List &addrList );
00052 #endif
00053
00059 #if defined(KABC_VCARD_ENCODING_FIX)
00060 static TDEABC::Addressee::List clipboardToAddressees( const TQByteArray &clipboard );
00061 #else
00062 static TDEABC::Addressee::List clipboardToAddressees( const TQString &clipboard );
00063 #endif
00064
00068 static TQString addresseesToEmails( const TDEABC::Addressee::List &addrList );
00069
00070 private:
00071 AddresseeUtil() {}
00072 ~AddresseeUtil() {}
00073 };
00074
00075 #endif
|