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
466 B
33 lines
466 B
/* class for drag data |
|
* $Id$ |
|
*/ |
|
#ifndef kmdragdata_h |
|
#define kmdragdata_h |
|
|
|
#include <qlist.h> |
|
|
|
class Folder; |
|
|
|
class KmDragData |
|
{ |
|
public: |
|
init (Folder* fld, int fromId, int toId); |
|
|
|
Folder* folder(void) { return f; } |
|
int from(void) { return fromId; } |
|
int to(void) { return toId; } |
|
|
|
protected: |
|
Folder* f; |
|
int fromId, toId; |
|
}; |
|
|
|
inline KmDragData::init(Folder* fld, int from, int to) |
|
{ |
|
f = fld; |
|
fromId = from; |
|
toId = to; |
|
} |
|
|
|
#endif /*kmdragdata_h*/ |
|
|
|
|