[Nepomuk] Nepomuk::Query::QueryServiceClient::syncQuery in a KIO::SlaveBase
Sebastian Trüg
trueg at kde.org
Wed Jun 30 13:34:41 CEST 2010
On 06/29/2010 06:46 PM, Daniele E. Domenichelli wrote:
> forwarding to nepomuksearch works pretty good for listing, but is there
> any method to change default nepomuk icon and to add an overlay to results?
> Nepomuksearch shows the right icon for existing mimetypes, so maybe I
> might define a new mimetype? That could also be helpful for right click
> menu...
You may always add overlays via UDS_ICON_OVERLAYS which is a list of
strings, i.e. icon names.
You can also change the icon if you reimplement
ForwardingSlaveBase::prepareUDSEntry. If you just use a nepomuksearch:/
URL as UDS_URL or use SlaveBase::redirection() then you are stuck with
what nepomuksearch:/ provides. In that case a custom mimetype might
help, yes.
Cheers,
Sebastian
More information about the Nepomuk
mailing list