diff options
| author | Kai Uwe Broulik <[email protected]> | 2022-04-07 21:41:43 +0200 |
|---|---|---|
| committer | Kai Uwe Broulik <[email protected]> | 2022-04-11 18:01:51 +0200 |
| commit | 0c7f7c92ed961ce46a7b42aeeb1c30070c95ae17 (patch) | |
| tree | 82dabd76e9ab21f0d2c24b9aaef8bcad0b12c25b /src/dolphinplacesmodelsingleton.h | |
| parent | 3bf471e02a440bd008d69c5939b7c5bf2c03df54 (diff) | |
[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.
Diffstat (limited to 'src/dolphinplacesmodelsingleton.h')
| -rw-r--r-- | src/dolphinplacesmodelsingleton.h | 3 |
1 files changed, 3 insertions, 0 deletions
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; |
