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.
tdeadmin/ksysv/ksvdrag.h

38 lines
644 B

// (c) 2000 Peter Putzer
#ifndef KSVDRAG_H
#define KSVDRAG_H
#include <tqdragobject.h>
class KSVData;
class KSVItem;
class TQWidget;
class KSVDrag : public TQDragObject
{
Q_OBJECT
public:
KSVDrag (const KSVData& item, TQWidget* dragSource = 0L, const char* name = 0L);
KSVDrag (const KSVItem& item, TQWidget* dragSource = 0L, const char* name = 0L);
virtual ~KSVDrag();
virtual const char* format (int i) const;
TQByteArray encodedData (const char*) const;
static bool decodeNative (const TQMimeSource*, KSVData&);
private:
enum
{
Native, Text, URL
};
class Private;
Private* d;
};
#endif // KSVDRAG_H