From 697d58e9727e229abb81956d27a05d1f02d8c775 Mon Sep 17 00:00:00 2001 From: Méven Car Date: Mon, 9 Jun 2025 12:16:36 +0000 Subject: Add a SetFolderIcon ItemAction plugin To allow to change folder icon from the context menu. CCBUG: 467221 --- src/itemactions/CMakeLists.txt | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 src/itemactions/CMakeLists.txt (limited to 'src/itemactions/CMakeLists.txt') diff --git a/src/itemactions/CMakeLists.txt b/src/itemactions/CMakeLists.txt new file mode 100644 index 000000000..6610b0e4a --- /dev/null +++ b/src/itemactions/CMakeLists.txt @@ -0,0 +1,26 @@ + +# movetonewfolderitemaction plugin + +kcoreaddons_add_plugin(movetonewfolderitemaction + SOURCES movetonewfolderitemaction.cpp movetonewfolderitemaction.h + INSTALL_NAMESPACE "kf6/kfileitemaction") + +target_link_libraries(movetonewfolderitemaction + KF6::I18n + KF6::KIOCore + KF6::KIOWidgets + KF6::KIOFileWidgets) + + +if(NOT WIN32) + # setfoldericon plugin + + kcoreaddons_add_plugin(setfoldericonitemaction + SOURCES setfoldericonitemaction.cpp setfoldericonitemaction.h ../dolphindebug.h ../dolphindebug.cpp + INSTALL_NAMESPACE "kf6/kfileitemaction") + + target_link_libraries(setfoldericonitemaction + KF6::I18n + KF6::KIOCore + KF6::KIOWidgets) +endif() -- cgit v1.3.1