This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Service menu for dolphin

Tags: None
(comma "," separated)
khatat
Registered Member
Posts
2
Karma
0

Service menu for dolphin

Sat Apr 13, 2013 4:16 pm
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
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: Service menu for dolphin

Sun Apr 14, 2013 7:34 am
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]
freininghaus
Moderator
Posts
224
Karma
1
OS

Re: Service menu for dolphin  Topic is solved

Mon Apr 15, 2013 9:01 am
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


Bookmarks



Who is online

Registered users: abc72656, Bing [Bot], daret, Google [Bot], Sogou [Bot], Yahoo [Bot]