[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-core-devel
Subject: Re: setting mimetype prefs
From: Gav Wood <gav () kde ! org>
Date: 2003-08-21 13:54:48
[Download RAW message or body]
On Thursday 21 August 2003 12:39, Gav Wood wrote:
> hi,
>
> i'm trying to write some code that manipulates the mime type preference
> order; i've looked all over the class docs, howtos, and even tryed to
> figure out how the kcm does it.
>
> by looking at the kcm code there doesn't appear to be a nice
> "KServiceType:: makePreferedService(KMimeType::Ptr )" or the like. is there
> an easy way to do it, or will i have to take hints from the kcm?
assuming the answer to this is "no, you'll have to do it the hard way", i have
since done it the hard way (taking hints from kcmfiletypes) and made a (imho)
fairly robust method for setting a prefered service for a given mimetype. is
it worth a patch to kdelibs; say KMimeType::setPreferedService() or
KServiceType::makePreferedService()?
gav
--
Gav Wood <gav@kde.org>
codito ergo non satis bibivi
[Attachment #3 (application/pgp-signature)]
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic