You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

33 lines
486 B

/* class for drag data
* $Id$
*/
#ifndef kmdragdata_h
#define kmdragdata_h
#include <qlist.h>
class KMFolder;
class KMDragData
{
public:
void init (KMFolder* fld, int fromId, int toId);
KMFolder* folder(void) { return f; }
int from(void) { return fromId; }
int to(void) { return toId; }
protected:
KMFolder* f;
int fromId, toId;
};
inline void KMDragData::init(KMFolder* fld, int from, int to)
{
f = fld;
fromId = from;
toId = to;
}
#endif /*kmdragdata_h*/