┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/views/draganddrophelper.h
diff options
context:
space:
mode:
authorKai Uwe Broulik <[email protected]>2022-04-12 15:47:42 +0200
committerKai Uwe Broulik <[email protected]>2022-04-12 15:47:42 +0200
commitd5d710ed0a282089498b9370af6f0ec76f3bdc05 (patch)
tree8f27269a6cef50ea79459de8ef57754fd40b8db8 /src/views/draganddrophelper.h
parentf4a94b2601a0d1d3826032cb7902db77ccc6c444 (diff)
parent0c7f7c92ed961ce46a7b42aeeb1c30070c95ae17 (diff)
Merge branch 'release/22.04'
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();