kfind: add KonqPopupMenu/Plugin service file

kfind can perform much more fine grained searched than what the dolphin
KIO slave does - it has case-sensitivity, MIME type, modification time,
owner (user and group) options and more

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
Ivailo Monev 2022-12-16 08:54:19 +02:00
parent 2fd522be69
commit 568ecf8cd3
3 changed files with 14 additions and 1 deletions

View file

@ -32,4 +32,9 @@ install(
DESTINATION ${KDE4_XDG_APPS_INSTALL_DIR}
)
install(
FILES findhere.desktop
DESTINATION ${KDE4_SERVICES_INSTALL_DIR}/ServiceMenus
)
kde4_install_icons(${KDE4_ICON_INSTALL_DIR})

9
kfind/findhere.desktop Normal file
View file

@ -0,0 +1,9 @@
[Desktop Entry]
Type=Service
X-KDE-ServiceTypes=KonqPopupMenu/Plugin,inode/directory
Actions=findhere;
[Desktop Action findhere]
Name=Find Here
Icon=kfind
Exec=kfind %u

View file

@ -43,7 +43,6 @@
#include <kio/copyjob.h>
#include <kio/deletejob.h>
#include <kjobuidelegate.h>
#include <konq_operations.h>
#include <knewfilemenu.h>