32#ifndef __KMAIL_IDENTITYDRAG_H__
33#define __KMAIL_IDENTITYDRAG_H__
35#include <libkpimidentities/identity.h>
37#include <tqdragobject.h>
44 class IdentityDrag : public TQDragObject {
48 IdentityDrag( const KPIM::Identity & ident,
49 TQWidget * dragSource=0, const char * name=0 );
52 virtual ~IdentityDrag() {}
54 const char * format( int i ) const;
55 TQByteArray encodedData( const char * mimetype ) const;
57 static bool canDecode( const TQMimeSource * e );
58 static bool decode( const TQMimeSource * e, KPIM::Identity & ident );
61 KPIM::Identity mIdent;
|