summaryrefslogtreecommitdiffstats
path: root/ksysv/ksvdrag.h
diff options
context:
space:
mode:
authortoma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2009-11-25 17:56:58 +0000
committertoma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2009-11-25 17:56:58 +0000
commit37333bf25ad9a4c538250f5af2f9f1d666362883 (patch)
treec45e8df5b9efbffe07eb3d9340df7811c7e16943 /ksysv/ksvdrag.h
downloadtdeadmin-37333bf25ad9a4c538250f5af2f9f1d666362883.tar.gz
tdeadmin-37333bf25ad9a4c538250f5af2f9f1d666362883.zip
Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features.
BUG:215923 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeadmin@1054174 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'ksysv/ksvdrag.h')
-rw-r--r--ksysv/ksvdrag.h36
1 files changed, 36 insertions, 0 deletions
diff --git a/ksysv/ksvdrag.h b/ksysv/ksvdrag.h
new file mode 100644
index 0000000..272f16d
--- /dev/null
+++ b/ksysv/ksvdrag.h
@@ -0,0 +1,36 @@
+// (c) 2000 Peter Putzer
+
+#ifndef KSVDRAG_H
+#define KSVDRAG_H
+
+#include <qdragobject.h>
+
+class KSVData;
+class KSVItem;
+class QWidget;
+
+class KSVDrag : public QDragObject
+{
+ Q_OBJECT
+
+public:
+ KSVDrag (const KSVData& item, QWidget* dragSource = 0L, const char* name = 0L);
+ KSVDrag (const KSVItem& item, QWidget* dragSource = 0L, const char* name = 0L);
+ virtual ~KSVDrag();
+
+ virtual const char* format (int i) const;
+ QByteArray encodedData (const char*) const;
+
+ static bool decodeNative (const QMimeSource*, KSVData&);
+
+private:
+ enum
+ {
+ Native, Text, URL
+ };
+
+ class Private;
+ Private* d;
+};
+
+#endif // KSVDRAG_H