From 0c7f7c92ed961ce46a7b42aeeb1c30070c95ae17 Mon Sep 17 00:00:00 2001 From: Kai Uwe Broulik Date: Thu, 7 Apr 2022 21:41:43 +0200 Subject: [Places Panel] Support drag and drop from Ark Accepts Ark's special dnd mime types so that archive contents can be dragged onto a place to extract and/or (mount and) switch to the hovered location. --- src/dolphinplacesmodelsingleton.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/dolphinplacesmodelsingleton.h') diff --git a/src/dolphinplacesmodelsingleton.h b/src/dolphinplacesmodelsingleton.h index 996f9de78..13e119342 100644 --- a/src/dolphinplacesmodelsingleton.h +++ b/src/dolphinplacesmodelsingleton.h @@ -29,6 +29,9 @@ public: bool panelsLocked() const; void setPanelsLocked(bool locked); + QStringList mimeTypes() const override; + bool dropMimeData(const QMimeData *data, Qt::DropAction action, int row, int column, const QModelIndex &parent) override; + protected: QVariant data(const QModelIndex &index, int role = Qt::DisplayRole) const override; -- cgit v1.3