┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/views/draganddrophelper.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/views/draganddrophelper.h')
-rw-r--r--src/views/draganddrophelper.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/views/draganddrophelper.h b/src/views/draganddrophelper.h
index 5f9d3754b..19a30404e 100644
--- a/src/views/draganddrophelper.h
+++ b/src/views/draganddrophelper.h
@@ -11,9 +11,11 @@
#include "dolphin_export.h"
#include <QList>
+#include <QString>
#include <QUrl>
class QDropEvent;
+class QMimeData;
class QWidget;
namespace KIO { class DropJob; }
@@ -43,6 +45,13 @@ public:
static bool urlListMatchesUrl(const QList<QUrl>& urls, const QUrl& destUrl);
/**
+ * @return True if mimeData contains Ark's drag and drop mime types.
+ */
+ static bool isArkDndMimeType(const QMimeData *mimeData);
+ static QString arkDndServiceMimeType() { return QStringLiteral("application/x-kde-ark-dndextract-service"); }
+ static QString arkDndPathMimeType() { return QStringLiteral("application/x-kde-ark-dndextract-path"); }
+
+ /**
* clear the internal cache.
*/
static void clearUrlListMatchesUrlCache();