From d448f4f35d286cae45a62f5a9c1a3be81202f92b Mon Sep 17 00:00:00 2001 From: Ahmet Hakan Çelik Date: Thu, 23 May 2024 13:25:03 +0000 Subject: Add "Move to New Folder…" action MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This commit introduces an action which creates a new folder with a name specified by the user and moves all the currently selected items there in one go. This action is implemented as a KFileItemActionPlugin which means users can disable it on Dolphin's context menu settings page. BUG: 484555 --- src/CMakeLists.txt | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'src/CMakeLists.txt') diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 55eda9dcd..0aa369bdb 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -616,3 +616,15 @@ install( FILES settings/dolphin_detailsmodesettings.upd if(BUILD_TESTING) add_subdirectory(tests) endif() + +# movetonewfolderitemaction plugin + +kcoreaddons_add_plugin(movetonewfolderitemaction + SOURCES itemactions/movetonewfolderitemaction.cpp itemactions/movetonewfolderitemaction.h + INSTALL_NAMESPACE "kf6/kfileitemaction") + +target_link_libraries(movetonewfolderitemaction + KF6::I18n + KF6::KIOCore + KF6::KIOWidgets + KF6::KIOFileWidgets) -- cgit v1.3.1