contextual menu plug-in for Konqueror

David Faure faure at kde.org
Mon Sep 20 11:53:10 BST 2010


On Wednesday 07 July 2010, ElliƩ Computing Open Source Program wrote:
> [i did not yet subscribe to the list]
> Hello,
> 
> i'd like to know if it is possible to make a plug-in which adds menu items
> to the contextual menu as Shell Extensions do on Windows Explorer. I read
> about "Services menu plug-ins" (and use them already) but from what I
> understood, it's not possible to alter which menu items are present and
> their title if present with respect to older selections (i need to
> memorize several selections one after the other, showing at least a part
> of previous selection(s) to make it clear what will be the action).
> 
> Is there some programatic interface to do that? which let me load a .so
> plugin and do the job there. please point me to the documentation.

Yes, you can do this with KonqPopupMenuPlugin.
See 
http://lxr.kde.org/source/extragear/utils/kdiff3/kdiff3plugin/kdiff3plugin.cpp
for an example.

-- 
David Faure, faure at kde.org, http://www.davidfaure.fr
Sponsored by Nokia to work on KDE, incl. Konqueror (http://www.konqueror.org).




More information about the kfm-devel mailing list