[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kfm-devel
Subject:    Re: contextual menu plug-in for Konqueror
From:       David Faure <faure () kde ! org>
Date:       2010-09-20 10:53:10
Message-ID: 201009201253.11007.faure () kde ! org
[Download RAW message or body]

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@kde.org, http://www.davidfaure.fr
Sponsored by Nokia to work on KDE, incl. Konqueror (http://www.konqueror.org).

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic