[prev in list] [next in list] [prev in thread] [next in thread] 

List:       koffice-devel
Subject:    Re: query the KDataTools
From:       David Faure <david () mandrakesoft ! com>
Date:       2001-12-23 23:22:26
[Download RAW message or body]

On Sunday 23 December 2001 14:23, Daniel Naber wrote:
> Hi,
> 
> I'd like to write a frontend to the thesaurus KDataTool, so that it can be 
> used like a stand alone app (and not only in KWord).
> 
> -I need a method to query for a certain KDataTool, not just for all the 
> ones that offer text/plain etc.

Use one of the static KService methods.
You can get a service by name, or by desktop-file name.
Then build the KDataToolInfo with that service, instead of using KDataToolInfo::query().

> -Is is okay to put this new frontend into koffice/tools/kthesaurus?

Sure!

-- 
David FAURE, david@mandrakesoft.com, faure@kde.org
http://www.mandrakesoft.com/~david/, http://www.konqueror.org/
KDE, Making The Future of Computing Available Today


_______________________________________________
koffice-devel mailing list
koffice-devel@mail.kde.org
http://mail.kde.org/mailman/listinfo/koffice-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic