Konqueror menu plugin

Maksim Orlovich mo85 at cornell.edu
Tue Jul 29 16:51:45 BST 2008


On Tuesday 29 July 2008 11:29:24 Adrien BUSTANY wrote:
> Hi there,
> I'd like to develop a Konqueror plugin which would display an
> additionnal entry in the right click menu. I can't do it with a service
> action, because it has to be dynamic.
> I've searched a bit for such plugins, but didn't find examples.
> Is there a document somewhere explaining how to create such plugins ?

KonqPopupMenuPlugin seems like the relevant base class:
http://lxr.kde.org/source/KDE/kdebase/apps/lib/konq/konq_popupmenuplugin.h#041

Akregator has one of these, which, err, doesn't seem like it'll work any more.

KDiff3 seems to have one that should work:
http://lxr.kde.org/source/extragear/utils/kdiff3/kdiff3plugin/kdiff3_plugin.desktop
http://lxr.kde.org/source/extragear/utils/kdiff3/kdiff3plugin/kdiff3plugin.h#030
http://lxr.kde.org/source/extragear/utils/kdiff3/kdiff3plugin/kdiff3plugin.cpp


Hope this helps,
Maks





More information about the kfm-devel mailing list