Re: Using Konqueror context menu in other applications?
On Wednesday 08 February 2006 05:02, Joachim Eibl wrote:[color=blue]
> I'd like to allow users to get the konqueror context menu within KDiff3, when
> they right-click on a file in the directory tree.
> Especially the "Open with", "Preview in" and "Properties" would be nice to
> Is there an API-method that - given an url - creates and returns such a menu?[/color]
Only if you link to kdebase/libkonq.
Otherwise you need to do the trader queries yourself, and "Properties" is easy to do,
just create a KPropertiesDialog in the slot.
David Faure, [email]firstname.lastname@example.org[/email], sponsored by Trolltech to work on KDE,
Konqueror ([url]http://www.konqueror.org[/url]), and KOffice ([url]http://www.koffice.org[/url]).
>> Visit [url]http://mail.kde.org/mailman/listinfo/kde-devel#unsub[/url] to unsubscribe <<[/color][/color]