List Info

Thread: developing plugins - newbie help needed




developing plugins - newbie help needed
user name
2006-08-16 08:59:36
Henrique Pinto wrote:
> Take a look at the desktop file for the Ark plugin:
> Please check if the ServiceTypes and X-KDE-Library
entries are correct.

Thanks a lot!
You were absolutely right, things looked wrong.

I removed Exec and Icon from src/blah.desktop, changed Type
to Service
and added X-KDE-Library and ServiceTypes and ran "make
install" which
installed the .desktop file to /usr/kde/3.5/share/services/.

I assume that:
  X-KDE-Library must be the .so name without .so,
  Type must be "Service" and
  ServiceTypes must be
"KonqPopupMenu/Plugin,all/all",

where I'm guessing that "all/all" is a
pseudo-mimetype that matches
all files and folders (local or remote).

It doesn't work yet though.
After restarting KDE, there is no extra menu item and the
printf I
inserted doesn't pop up...

Any other suggestions?
Is there any way to debug what KDE does when loading
services?
developing plugins - newbie help needed
user name
2006-08-17 19:50:53
On Wednesday 16 August 2006 10:59, Molle Bestefich wrote:
> Any other suggestions?
> Is there any way to debug what KDE does when loading
services?

You can run a KTrader query from commandline

$ ktradertest KonqPopupMenu/Plugin

Cheers,
Kevin

-- 
Kevin Krammer <kevin.krammergmx.at>
Qt/KDE Developer, Debian User
Moderator: www.mrunix.de (German), www.qtcentre.org
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )