Actions in the context-menu

Jonathan Schmidt-Dominé - Developer devel at the-user.org
Mon Feb 15 01:41:00 UTC 2010


Hi Kate and KDevelop devs!

What is the proper way to add an action to the context-menu from a plugin? I 
simply used KTextEditor::View::contextMenu in the KIcon-Inserter-Plugin. Now 
KDevelop seems to have a new context-menu and it does not work in KDevelop. I 
used contextMenuAboutToShow to ensure that it has been created, but it does 
not work, it will be replaced by KDevelop.

Jonathan

------------------------
Operating System: GNU/Linux
Kernel: Linux 2.6.31.8-0.1-default
Distribution: openSuSE 11.2
Qt: 4.6.2
KDE: 4.4.63 (KDE 4.4.63 (KDE 4.5 >= 20100209)) "release 1"
KMail: 1.13.0
http://gnu.org/
http://kde.org/
http://windows7sins.org/




More information about the KDevelop-devel mailing list