identitydrag.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
00025
00026
00027
00028
00029
00030
00031
00032 #ifndef __KMAIL_IDENTITYDRAG_H__
00033 #define __KMAIL_IDENTITYDRAG_H__
00034
00035 #include "kmidentity.h"
00036
00037 #include <qdragobject.h>
00038
00039 namespace KMail {
00040
00044 class IdentityDrag : public QDragObject {
00045 Q_OBJECT
00046 public:
00047 IdentityDrag( const KMIdentity & ident,
00048 QWidget * dragSource=0, const char * name=0 );
00049
00050 public:
00051 virtual ~IdentityDrag() {}
00052
00053 const char * format( int i ) const;
00054 QByteArray encodedData( const char * mimetype ) const;
00055
00056 static bool canDecode( const QMimeSource * e );
00057 static bool decode( const QMimeSource * e, KMIdentity & ident );
00058
00059 protected:
00060 KMIdentity mIdent;
00061 };
00062
00063 }
00064
00065 #endif // __KMAIL_IDENTITYDRAG_H__
This file is part of the documentation for kmail Library Version 3.2.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Mon Apr 26 23:23:19 2004 by
doxygen 1.3.6-20040222 written by
Dimitri van Heesch, © 1997-2003