25 #include <tqdragobject.h>
28 #include <tdeabc/addressee.h>
29 #include <tdeabc/vcardparser.h>
30 #include <tdemacros.h>
32 class KVCardDragPrivate;
49 KVCardDrag( TQWidget *dragsource = 0, const char *name = 0 );
54 #if defined(KABC_VCARD_ENCODING_FIX)
55 KVCardDrag( const TQByteArray &content, TQWidget *dragsource = 0, const char *name = 0 );
57 KVCardDrag( const TQString &content, TQWidget *dragsource = 0, const char *name = 0 );
64 #if defined(KABC_VCARD_ENCODING_FIX)
65 void setVCard( const TQByteArray &content );
67 void setVCard( const TQString &content );
72 static bool canDecode( TQMimeSource *e );
77 #if defined(KABC_VCARD_ENCODING_FIX)
78 static bool decode( TQMimeSource *e, TQByteArray &content );
80 static bool decode( TQMimeSource *e, TQString &content );
86 static bool decode( TQMimeSource *e, TDEABC::Addressee::List& addressees );
89 virtual void virtual_hook( int id, void* data );
A drag-and-drop object for vcards.
|