![]() Registered Member ![]()
|
Hi,
I want to create a service menu for dolphin. I've read http://techbase.kde.org/Development/Tut ... vice_Menus but I want to know how can I first check something for that file and if its true then enable or disable that menu. I use kde4.10 thanks |
![]() Administrator ![]()
|
What in particular are you trying to check? Service Menus do support certain restrictions on their presence automatically, however other forms may not be supported.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
![]() Moderator ![]()
|
I think the most flexible approach is to base your service on the KAbstractFileItemActionPlugin class:
http://api.kde.org/4.10-api/kdelibs-api ... lugin.html |
Registered users: abc72656, Bing [Bot], daret, Google [Bot], Sogou [Bot], Yahoo [Bot]